Skip to content

Commit 19a1aed

Browse files
committed
update OGC services
1 parent c54f5a8 commit 19a1aed

12 files changed

Lines changed: 241 additions & 132 deletions

en/images/qgis-network-logger.png

101 KB
Loading

en/ogc/mapscript.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
Introduction
2020
=============================================================================
2121

22-
With the implementation of MapServer :ref:`rfc16` in MapServer 4.9, MapScript
23-
now has the ability to invoke MapServer's ability to execute OGC Web Service
22+
Since the implementation of MapServer :ref:`rfc16` in MapServer 4.9, MapScript
23+
has the ability to invoke MapServer's ability to execute OGC Web Service
2424
requests such as WMS, WCS, and WFS as well as capturing the results of
2525
processing the requests.
2626

@@ -430,7 +430,7 @@ is an example displaying a :ref:`wms capabilities <wms_capabilities>`.
430430
Use in Non-CGI Environments (mod_php, etc)
431431
=============================================================================
432432

433-
The loadParams() call establish parses the cgi environment varabiables
433+
The loadParams() call establish parses the cgi environment variables
434434
(QUERY_STRING, and REQUEST_METHOD) into parameters in the OWSRequest object.
435435
In non-cgi environments, such as when php, python and perl are used as
436436
"loaded modules" in Apache, or Java with Tomcat, the loadParams() call

en/ogc/sos_server.txt

Lines changed: 34 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
:Author: Jeff McKenna
1111
:Contact: jmckenna at gatewaygeomatics.com
12-
:Last Updated: 2026-03-29
12+
:Last Updated: 2026-04-09
1313

1414
.. contents:: Table of Contents
1515
:depth: 2
@@ -72,47 +72,53 @@ Setting Up an SOS Server Using MapServer
7272
Install the Required Software
7373
-----------------------------
7474

75-
SOS requests are handled by the ":ref:`mapserv`" CGI program. The
75+
SOS requests are handled by the :ref:`mapserv` CGI program. The
7676
first step is to check that your mapserv executable includes SOS
7777
support. One way to verify this is to use the "-v" command-line switch
7878
and look for "SUPPORTS=SOS_SERVER".
7979

8080
Example 1. On Unix:
8181

82-
::
82+
.. code-block:: bash
8383

8484
$ ./mapserv -v
85-
MapServer version 4.9 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
86-
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
87-
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
88-
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS INPUT=JPEG
89-
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
85+
MapServer version 8.7-dev PROJ version 9.8 GDAL version 3.12
86+
OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG
87+
SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG
88+
SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
89+
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
90+
SUPPORTS=SOS_SERVER SUPPORTS=OGCAPI_SERVER SUPPORTS=GEOS SUPPORTS=PBF
91+
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
92+
INPUT=FLATGEOBUF
9093

9194

9295
Example 2. On Windows:
9396

94-
::
95-
96-
C:\MS4W\Apache\cgi-bin> mapserv -v
97-
MapServer version 4.9 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
98-
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
99-
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
100-
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS INPUT=JPEG
101-
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
97+
.. code-block:: bash
98+
99+
C:\ms4w> mapserv -v
100+
MapServer version 8.7.0-dev (MS4W 5.2.0) PROJ version 9.9
101+
GDAL version 3.13 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ
102+
SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS
103+
SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER
104+
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
105+
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=OGCAPI_SERVER
106+
SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=PBF INPUT=JPEG
107+
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE INPUT=FLATGEOBUF
102108

103109
.. note::
104110
Windows users can install `MS4W <https://ms4w.com>`__ which supports SOS server.
105111

106112
If you don't have SOS support in your MapServer build, then you must
107113
compile MapServer with the following in mind:
108114

109-
- flag *-DUSE_SOS_SVR* is required
115+
- CMake flag *-DWITH_SOS* is required
110116

111-
- requires either *-DUSE_WMS_SVR* or *-DUSE_WFS_SVR* flags to be enabled
117+
- requires either *-DWITH_WMS* or *-DWITH_WFS* flags to be enabled
112118

113119
- requires libxml2 and proj libraries
114120

115-
- requires ICONV support (*-DUSE_ICONV*) on Windows
121+
- requires ICONV support (*-DWITH_ICONV*) on Windows
116122

117123
For more help with MapServer compilation see the appropriate HowTo:
118124
:ref:`Unix <unix>` / :ref:`Windows <win32>`
@@ -288,6 +294,7 @@ things are likely not going to work.
288294
.. note::
289295
The SERVICE parameter is required for all SOS requests.
290296

297+
`SOS GetCapabilities live example <https://demo.mapserver.org/cgi-bin/sos?SERVICE=SOS&REQUEST=GetCapabilities>`__
291298

292299
GetObservation Request
293300
######################
@@ -388,7 +395,11 @@ Example 4:
388395
http://127.0.0.1/cgi-bin/mapserv.exe?map=D:/ms4w/apps/sos/sos_test.map&
389396
Request=GetObservation&service=SOS&Offering=WQ1289&
390397
observedproperty=Water Quality&version=1.0.0&
391-
responseFormat=text/xml; subtype="om/1.0.0"&resultModel=om:Observation
398+
responseFormat=text/xml; subtype="om/1.0.0"&resultModel=om:Observation
399+
400+
Example 5:
401+
402+
`SOS GetObservation live example <https://demo.mapserver.org/cgi-bin/sos?REQUEST=GetObservation&service=SOS&Offering=Water&observedproperty=WaterQuality&version=1.0.0&responseFormat=text/xml;%20subtype%3D%22om%2F1.0.0%22>`__
392403

393404
DescribeSensor Request
394405
######################
@@ -948,7 +959,7 @@ Layer Object Metadata
948959

949960

950961
All *sos_procedure* links from layers in the offerings will be
951-
outputed together, such as the following taken from a
962+
outputted together, such as the following taken from a
952963
GetCapabilities response:
953964

954965
.. code-block:: xml
@@ -996,7 +1007,8 @@ In MapServer 5.0 SOS support has been upgraded to use a new metadata called
9961007
sos_procedure_item. The value for sos_procedure_item is the field/attribute
9971008
name containing the procedure values. The use of this metadata as well as the
9981009
sos_procedure is described here per type of request (refer to
999-
https://github.com/MapServer/MapServer/issues/2050 for more description):
1010+
`issue #2050 <https://github.com/MapServer/MapServer/issues/2050>`__
1011+
for more description):
10001012

10011013
It should be noted that, for very large datasets defined only with
10021014
sos_procedure_item, this may result in costly processing, because MapServer

en/ogc/wcs_format.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
:Contact: nbarker at ittvis.com
1212
:Author: Gail Millin
1313
:Contact: nbarker at ittvis.com
14-
:Last Updated: 2026-03-29
14+
:Last Updated: 2026-04-09
1515

1616

1717
.. contents::
@@ -318,7 +318,7 @@ and the actual layer
318318
The TempData coverage layer will now let you subset with the &bands=...
319319
&time=... subset parameters!
320320

321-
To do a coordinate reprojection specify in the request &Response_CRS=ESPG:xxxx
321+
To do a coordinate reprojection specify in the request &Response_CRS=EPSG:xxxx
322322

323323
When you start doing temporal subsetting with WCS and MapServer you can see
324324
the need for an automatic way of generating map files such as using an XSL

en/ogc/wcs_server.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
:Contact: stephan.meissl at eox.at
1414
:Author: Fabian Schindler
1515
:Contact: fabian.schindler at eox.at
16-
:Last Updated: 2026-03-23
16+
:Last Updated: 2026-04-09
1717

1818
.. contents:: Table of Contents
1919
:depth: 2
@@ -24,7 +24,7 @@ Introduction
2424
============
2525

2626
A WCS (or Web Coverage Service) allows for the publication of
27-
"coverages"- digital geospatial information representing space-varying
27+
"coverages": digital geospatial information representing space-varying
2828
phenomena. In the MapServer world it allows for unfiltered access to
2929
raster data. Conceptually it is easy think of WCS as a raster
3030
equivalent of WFS. The following documentation is based on the `Open
@@ -54,7 +54,7 @@ against certain libraries:
5454

5555
- PROJ: The reprojection library. Version 4.4.3 or greater is required.
5656
- GDAL: raster support library.
57-
- MapServer: version >= 4.4 (tested with 5.0.2 while updating this document)
57+
- MapServer: version >= 4.4 (tested with 8.6.1 while updating this document)
5858

5959
For WCS 1.1.x (MapServer 5.2) and WCS 2.0 (MapServer 6.0) support
6060
there is an additional requirement:
@@ -88,9 +88,8 @@ layers that meet the following conditions:
8888
- LAYER metadata "wcs_rangeset_name" must be set
8989
- LAYER metadata "wcs_rangeset_label" must be set
9090
- LAYER is enabled to be served via WCS (see `MS RFC 67`_)
91-
9291
- LAYER PROJECTION must be set, even if PROJECTION is set at the MAP
93-
level (a bug?)
92+
level
9493

9594
Example WCS Server Mapfile
9695
--------------------------
@@ -1841,4 +1840,4 @@ Service of Canada.
18411840
.. _`EOxServer`: https://eoxserver.org
18421841
.. _`WCS DescribeCoverage live example`: https://demo.mapserver.org/cgi-bin/wcs?SERVICE=WCS&VERSION=1.0.0&REQUEST=DescribeCoverage&COVERAGE=modis
18431842
.. _`WCS GetCapabilities live example`: https://demo.mapserver.org/cgi-bin/wcs?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabilities
1844-
.. _`WCS GetCoverage live example`: https://demo.mapserver.org/cgi-bin/wcs?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&COVERAGE=modis-001&CRS=EPSG:26915&BBOX=159707,4597395,1400707,5501395&WIDTH=400&HEIGHT=300&FORMAT=GEOTIFF_RGB
1843+
.. _`WCS GetCoverage live example`: https://demo.mapserver.org/cgi-bin/wcs?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&COVERAGE=modis&TIME=2002-001&CRS=EPSG:26915&BBOX=159707,4597395,1400707,5501395&WIDTH=400&HEIGHT=300&FORMAT=geotiff

0 commit comments

Comments
 (0)