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
ff41ee6b
Commit
ff41ee6b
authored
11 years ago
by
Maël Méliani
Browse files
Options
Downloads
Patches
Plain Diff
Added a mapfile model to the documentation.
parent
bdaa3fb6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/model.map
+83
-0
83 additions, 0 deletions
docs/model.map
docs/mra_reference.rst
+7
-0
7 additions, 0 deletions
docs/mra_reference.rst
with
90 additions
and
0 deletions
docs/model.map
0 → 100644
+
83
−
0
View file @
ff41ee6b
MAP
NAME "model"
STATUS ON
IMAGETYPE "png"
RESOLUTION 96
SIZE 600 600
EXTENT -180 -90 180 90
UNITS DD
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER "AGG/PNG"
EXTENSION "png"
IMAGEMODE RGBA
TRANSPARENT TRUE
END
OUTPUTFORMAT
NAME "png8"
MIMETYPE "image/png; mode=8bit"
DRIVER "AGG/PNG8"
EXTENSION "png"
IMAGEMODE RGB
TRANSPARENT FALSE
FORMATOPTION "QUANTIZE_FORCE=on"
FORMATOPTION "QUANTIZE_COLORS=256"
FORMATOPTION "GAMMA=0.75"
END
OUTPUTFORMAT
NAME "jpeg"
MIMETYPE "image/jpeg"
DRIVER "AGG/JPEG"
EXTENSION "jpg"
IMAGEMODE RGB
TRANSPARENT FALSE
FORMATOPTION "GAMMA=0.75"
END
PROJECTION
"init=epsg:4326"
END
LEGEND
KEYSIZE 20 10
KEYSPACING 5 5
LABEL
SIZE MEDIUM
OFFSET 0 0
SHADOWSIZE 1 1
TYPE BITMAP
END
STATUS OFF
END
WEB
TEMPLATE "foo"
METADATA
ows_title "model"
ows_abstract "This is a model"
ows_onlineresource ""
ows_service_onlineresource ""
ows_schemas_location "http://schemas.opengeospatial.net"
ows_server_version "1.3.0"
ows_encoding "UTF-8"
ows_srs "EPSG:4326"
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
# `mra' meta contains all the information that MapserverRestAPI #
# needs to work properly. #
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
"mra" "{coveragestores: {}, datastores: {}, layergroups: {}, workspaces: {default: {title: default}}}"
END
END
END
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docs/mra_reference.rst
+
7
−
0
View file @
ff41ee6b
...
...
@@ -72,6 +72,12 @@ See `Mapfile specification`_ for more information about the Mapfile.
Operations
----------
For current version of MapServer Rest API, manipulate a ``mapfile`` is not implemented.
And so, you can't create, modify or delete a mapfile.
Please use the `mapfile model`_ and just give us some time to implement this operations.
.. _Mapfile model: https://github.com/neogeo-technologies/mra/blob/develop/docs/model.map
``/maps.<format>``
^^^^^^^^^^^^^^^^^^
...
...
@@ -89,6 +95,7 @@ Operations
| DELETE | | 405 | |
+--------+---------------------------------+-------------+--------------------+
*Exceptions:*
* *TODO: POST for a mapfile already exist: 409 Conflict*
...
...
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