Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Mapserver REST API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Miscellaneous
Mapserver REST API
Commits
a5aa8024
Commit
a5aa8024
authored
11 years ago
by
Wannes Rombouts
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of
https://github.com/neogeo-technologies/mra
into develop
parents
860de044
bf88f16b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/mra_reference.rst
+11
-22
11 additions, 22 deletions
docs/mra_reference.rst
with
11 additions
and
22 deletions
docs/mra_reference.rst
+
11
−
22
View file @
a5aa8024
...
...
@@ -251,7 +251,7 @@ The following extensions are supported:
+-------------------+---------------------------------------------------------+
| Extension | Datastore |
+===================+=========================================================+
|
zip (ShapeZip)
| OGR/ESRI Shapefile
as a zipped archive
|
|
shp
| OGR/ESRI Shapefile
|
+-------------------+---------------------------------------------------------+
+--------+--------------------------+-------------+-----------+---------------+
...
...
@@ -261,35 +261,24 @@ The following extensions are supported:
+--------+--------------------------+-------------+-----------+---------------+
| POST | | 405 | | |
+--------+--------------------------+-------------+-----------+---------------+
| PUT | Uploads files to the | 200 | See notes | See notes |
| | data stores <ds> | | below. | below. |
| PUT | Uploads files to the | 200 | See notes | ``configure`` |
| | data stores <ds> | | below. | See notes |
| | | | | below. |
+--------+--------------------------+-------------+-----------+---------------+
| DELETE | | 405 | | |
+--------+--------------------------+-------------+-----------+---------------+
*Exceptions:*
* GET for a data stores does not exist: 404 Not Found
* *TODO: GET for a data stores that in not file based: 404 Not Found*
PUT *Formats*:
Data stores like Shapefile must be sent as a zip archive.
When uploading a zip archive the ``Content-type`` should be set to ``application/zip``
Data stores like Shapefile must be sent as a zip archive.
When uploading a standalone file the content type should be appropriately set based on the file type.
For example, when uploading a zip archive the ``Content-type`` should be set to ``application/zip``
The ``configure`` parameter is used to control how the data store is configured upon file upload.
It can take one of the below values :
* ``none`` - Do not configure any feature types. This is the default value
PUT *Parameters*:
The ``configure`` parameter is used to control how the data store is configured upon file upload.
It can take one of the below values :
* ``none`` - Do not configure any feature types. This is the default value
* *TODO: ``first`` - Only setup the first feature type available in the data store.*
* *TODO: ``first`` - Only setup the first feature type available in the data store.*
* *TODO: ``all` - Configure all feature types.*
* *TODO: ``all` - Configure all feature types.*
Feature types
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment