Skip to content

Commit d76195a

Browse files
author
MapServer deploybot
committed
update with results of commit MapServer/MapServer-documentation@ab8a8e6
1 parent 0ef670e commit d76195a

517 files changed

Lines changed: 633 additions & 533 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MIGRATION_GUIDE.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ <h3>Navigation</h3>
15641564
</div>
15651565
<div class="footer" role="contentinfo">
15661566
&#169; <a href="copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
1567-
Last updated on 2026-02-06.
1567+
Last updated on 2026-02-27.
15681568
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
15691569
</div>
15701570
</body>

_modules/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ <h3>Navigation</h3>
159159
</div>
160160
<div class="footer" role="contentinfo">
161161
&#169; <a href="../copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
162-
Last updated on 2026-02-06.
162+
Last updated on 2026-02-27.
163163
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
164164
</div>
165165
</body>

_modules/mapscript/mapscript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5588,7 +5588,7 @@ <h3>Navigation</h3>
55885588
</div>
55895589
<div class="footer" role="contentinfo">
55905590
&#169; <a href="../../copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
5591-
Last updated on 2026-02-06.
5591+
Last updated on 2026-02-27.
55925592
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
55935593
</div>
55945594
</body>

_sources/development/rfc/ms-rfc-141.txt

Lines changed: 59 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ MS RFC 141: MapServer CONFIG MS_ONLINERESOURCE
66

77
:Author: Seth Girvin
88
:Contact: sethg@geographika.co.uk
9-
:Last Updated: 2026-02-06
9+
:Last Updated: 2026-02-27
1010
:Version: MapServer 8.8
11-
:Status: Proposed
11+
:Status: Adopted
1212

1313
Overview
1414
--------
@@ -114,12 +114,44 @@ Users will be able to add the new environment variable to the ``CONFIG`` file as
114114

115115
CONFIG
116116
ENV
117-
MS_ONLINERESOURCE "http://localhost/test/"
117+
MS_ONLINERESOURCE "https://maps.example.com/"
118+
END
119+
MAPS
120+
EXAMPLE "/data/mapfiles/example.map"
121+
END
122+
END
123+
124+
When accessing the Mapfile using its key (``EXAMPLE`` in the above example), a request
125+
such as https://maps.example.com/example/?service=wms&version=1.3.0&request=GetCapabilities will return a
126+
GetCapabilities response with the base URL set to ``https://maps.example.com/``.
127+
128+
.. code-block:: xml
129+
130+
<WMS_Capabilities>
131+
<Service>
132+
<Name>WMS</Name>
133+
<Title>Example</Title>
134+
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://maps.example.com/example/?"/>
135+
136+
When accessing a Mapfile using the ``&map=`` parameter, this will be appended to the ``MS_ONLINERESOURCE`` URL.
137+
For example, a request to https://maps.example.com/?map=/data/mapfiles/example.map&service=wms&version=1.3.0&request=GetCapabilities
138+
will return a GetCapabilities response including the following:
139+
140+
.. code-block:: xml
141+
142+
<HTTP>
143+
<Get>
144+
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://maps.example.com/?map=/data/mapfiles/example.map&"/>
145+
</Get>
146+
147+
For OGC API URLs requests such as https://maps.example.com/example/ogcapi/?f=json will return URLs in
148+
the format https://maps.example.com/example/ogcapi/collections?f=html.
118149

119150
Notes:
120151

121-
- Existing ``*_onlineresource`` metadata in a Mapfile will take precedence over
122-
the ``CONFIG`` setting.
152+
- In any of the above examples, if the ``example.map`` contained ``ows_onlineresource``
153+
(or a more specific variant such as ``wms_onlineresource`` or ``oga_onlineresource``)
154+
then these would take precedence over the ``CONFIG`` setting and be used instead.
123155

124156
- If ``MS_ONLINERESOURCE`` is set to an empty string, the resulting base URL
125157
will be empty. Users are responsible for providing a valid URL for their
@@ -130,6 +162,21 @@ Notes:
130162
multiple variables such as ``MS_WMS_ONLINERESOURCE`` or
131163
``MS_WFS_ONLINERESOURCE`` would add unnecessary complexity.
132164

165+
- ``?`` will be appended to the end of the URL for building OWS URLs, to ensure that query parameters are appended correctly.
166+
167+
- MAP keys are resolved relative to MS_ONLINERESOURCE, and only one root URL can be configured per CGI instance.
168+
For example, you cannot simultaneously use:
169+
170+
+ https://maps.example.com/dev/example/
171+
+ https://maps.example.com/prod/example/
172+
173+
or separate hostnames such as:
174+
175+
+ https://wms.example.com
176+
+ https://wfs.example.com
177+
178+
To support these scenarios, you would need to deploy separate MapServer CGI applications with different CONFIG files.
179+
133180
Testing
134181
-------
135182

@@ -138,6 +185,7 @@ and Mapfile setups, including:
138185

139186
- Cases with and without a ``MS_ONLINERESOURCE`` setting
140187
- The case where ``MS_ONLINERESOURCE`` is set to an empty string
188+
- Use of ``map=`` parameter in requests
141189

142190
Security Concerns
143191
-----------------
@@ -169,12 +217,16 @@ Affected files
169217
Ticket Reference
170218
----------------
171219

172-
TODO
220+
+ https://github.com/MapServer/MapServer/pull/7434
173221

174222
Documentation
175223
-------------
176224

225+
+ https://github.com/MapServer/MapServer-documentation/pull/1062
226+
177227
Voting History
178228
--------------
179229

180-
TODO
230+
+1 from PSC members TomK, SethG, MikeS, DanielM, JeromeB, SteveL, EvenR, JeffM, JukkaR
231+
232+
See https://lists.osgeo.org/pipermail/mapserver-dev/2026-February/017342.html for discussion and voting.

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ <h3>Navigation</h3>
244244
</div>
245245
<div class="footer" role="contentinfo">
246246
&#169; <a href="copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
247-
Last updated on 2026-02-06.
247+
Last updated on 2026-02-27.
248248
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
249249
</div>
250250
</body>

announcements/2021-03-30-limit-mapfile-access.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ <h3>Navigation</h3>
183183
</div>
184184
<div class="footer" role="contentinfo">
185185
&#169; <a href="../copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
186-
Last updated on 2026-02-06.
186+
Last updated on 2026-02-27.
187187
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
188188
</div>
189189
</body>

announcements/2021-06-11-community-condolences.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ <h3>Navigation</h3>
195195
</div>
196196
<div class="footer" role="contentinfo">
197197
&#169; <a href="../copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
198-
Last updated on 2026-02-06.
198+
Last updated on 2026-02-27.
199199
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
200200
</div>
201201
</body>

announcements/announcements_archive.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ <h3>Navigation</h3>
687687
</div>
688688
<div class="footer" role="contentinfo">
689689
&#169; <a href="../copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
690-
Last updated on 2026-02-06.
690+
Last updated on 2026-02-27.
691691
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
692692
</div>
693693
</body>

announcements/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ <h3>Navigation</h3>
168168
</div>
169169
<div class="footer" role="contentinfo">
170170
&#169; <a href="../copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
171-
Last updated on 2026-02-06.
171+
Last updated on 2026-02-27.
172172
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
173173
</div>
174174
</body>

basemaps/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ <h3>Navigation</h3>
221221
</div>
222222
<div class="footer" role="contentinfo">
223223
&#169; <a href="../copyright.html">Copyright</a> 2026, Open Source Geospatial Foundation.
224-
Last updated on 2026-02-06.
224+
Last updated on 2026-02-27.
225225
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
226226
</div>
227227
</body>

0 commit comments

Comments
 (0)