66MapServer Migration Guide
77*****************************************************************************
88
9- :Last Updated: 2025-11-13
9+ :Last Updated: 2025-11-18
1010
1111.. contents:: Table of Contents
1212 :depth: 2
@@ -17,7 +17,94 @@ MapServer Migration Guide
1717MapServer 8.4 to 8.6 Migration
1818==============================
1919
20- TODO
20+ - You can now enable an automatically generated index page, that lists
21+ all of your OGC services and endpoints, for each mapfile that you
22+ defined in your CONFIG file. To enable the index, add `MS_INDEX_TEMPLATE_DIRECTORY`
23+ to your environment variables section of the :ref:`config` file, such as::
24+
25+ ENV
26+ #
27+ # Index page
28+ #
29+ MS_INDEX_TEMPLATE_DIRECTORY "/ms4w/share/ogcapi/templates/html-index-bootstrap/"
30+ END
31+
32+ .. image:: ./images/index-page-ms4w.png
33+ :width: 800
34+ :height: 433
35+ :class: no-scaled-link
36+
37+ .. seealso:: :ref:`index-page` & :ref:`rfc140`
38+
39+ - A new :ref:`identify` object can be used in a mapfile to control how features are
40+ found through queries, to account for the actual symbol being used for
41+ that CLASS. This could be useful for WMS GetFeatureInfo requests.
42+
43+ .. code-block:: mapfile
44+
45+ MAP
46+ ...
47+ WEB
48+ METADATA
49+ "wms_title" "My WMS Server"
50+ ...
51+ END #metadata
52+ END #web
53+ ...
54+ SYMBOL
55+ NAME "mysvg"
56+ TYPE svg
57+ IMAGE "./ttt.svg"
58+ END #symbol
59+ ...
60+ LAYER
61+ IDENTIFY
62+ CLASSGROUP "test"
63+ END #identify
64+ CLASS
65+ GROUP "test"
66+ STYLE
67+ ANGLE 30
68+ SYMBOL "mysvg"
69+ END #class
70+ END #layer
71+ ...
72+ END #map
73+
74+ .. seealso:: original Pull Request `#7318 <https://github.com/MapServer/MapServer/pull/7318/>`__
75+
76+ - :ref:`FALLBACK <mapfile-class-fallback>` has been added to the CLASS object, to allow that class to be used
77+ if no other class can be applied.
78+
79+ .. code-block:: mapfile
80+
81+ MAP
82+ ...
83+ LAYER
84+ ...
85+ CLASS
86+ NAME "test1"
87+ ...
88+ END #class
89+ CLASS
90+ NAME "test2"
91+ ...
92+ END #class
93+ CLASS
94+ NAME "test3"
95+ ...
96+ FALLBACK TRUE
97+ END #class
98+ END #layer
99+ ...
100+ END #map
101+
102+ .. seealso:: original Pull Request `#7309 <https://github.com/MapServer/MapServer/pull/7309/>`__
103+
104+ - :ref:`ogcapi` has been enhanced to allow `vendorSpecificParameters` passed through to the OpenAPI
105+ document on the `/items` definitions.
106+
107+ .. seealso:: original Pull Request `#7295 <https://github.com/MapServer/MapServer/pull/7295/>`__
21108
22109.. _migration-8-4:
23110
0 commit comments