-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
188 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,4 @@ This chapter describes advanced configuration settings. | |
objectstorage | ||
headers | ||
admin_interface | ||
ogc_api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
.. _integrator_ogc_api: | ||
|
||
OGC API Features | ||
---------------- | ||
|
||
The OGC API is a new standard that defines modular API following REST standard to access spatial data. | ||
The current implementation is only on the server side and is based on the OGC API - Features standard and only works with the `items` request using a bbox filter. | ||
|
||
It is currently supported by both MapServer and QGIS Server. | ||
|
||
The following new environment variables should be added to the docker-compose-lib.yaml file for the 'MapServer' service: | ||
|
||
.. prompt:: bash:: | ||
|
||
environment: | ||
... | ||
- MAPSERVER_BASE_PATH=/mapserv_proxy | ||
- OGCAPI_HTML_TEMPLATE_DIRECTORY=/usr/local/share/mapserver/ogcapi/templates/html-bootstrap4/ | ||
... | ||
|
||
|
||
In the MapServer configuration file, the following changes could be added to set an alias to a the MAPS block: | ||
.. prompt:: bash:: | ||
|
||
# | ||
# Map aliases | ||
# | ||
MAPS | ||
ExampleOGCserver "/etc/mapserver/mapserver.map" | ||
END | ||
|
||
Then used this alias as the ogc-server value in the URL for MapServer. | ||
|
||
It is also recommended for any server type, to remove all special characters in the OGC Server names because they appear in the path of the URL. | ||
|
||
QGIS Server and MapServer are already configured to support the OGC API and detect automatically if the compatible path is requested. | ||
|
||
Landing pages for both MapServer and QGIS Server are not supported yet. | ||
|
||
OGC API features are accessible through mapserv_proxy, with the following URLs: | ||
* ``/mapserv_proxy/<ogc-server>/ogcapi/*``: The MapServer path. | ||
* ``/mapserv_proxy/<ogc-server>/wfs3/*``: The QGIS Server path. | ||
|
||
|
||
OGC API Documentation | ||
--------------------- | ||
|
||
MapServer documentation: | ||
https://mapserver.org/ogc/ogc_api.html | ||
|
||
QGIS Server documentation: | ||
https://docs.qgis.org/3.34/en/docs/server_manual/services/ogcapif.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters