@@ -193,29 +193,33 @@ Metadata
193193.. table::
194194 :align: left
195195
196- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
197- | Key | Level | Meaning |
198- +========================+=====================+=============================================================================================+
199- | onlineresource | Map | API root url, can't reuse WxS values |
200- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
201- | html_template_directory| Map | full path or relative (to mapfile) of html template directory |
202- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
203- | description | Map | service description, fall back to ows/wfs_abstract |
204- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
205- | links | Map, Layer | comma delimited list of link keys - references to other metadata |
206- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
207- | link_{key}_title | Map, Layer | link title |
208- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
209- | link_{key}_href | Map, Layer | link href (url) |
210- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
211- | html_tags | Map | comma delimited list of tag keys to expose to HTML templates - references to other metadata |
212- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
213- | tag_{key} | Map | value associated with the tag, added to JSON data in template.tags object |
214- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
215- | keywords | Layer | comma delimited list of keywords, fall back to ows/wfs_keywordlist |
216- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
217- | max_limit | Map, Layer | map or layer-level maximum limit value (integer) |
218- +------------------------+---------------------+---------------------------------------------------------------------------------------------+
196+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
197+ | Key | Level | Meaning |
198+ +======================================+=====================+=============================================================================================+
199+ | onlineresource | Map | API root url, can't reuse WxS values |
200+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
201+ | html_template_directory | Map | full path or relative (to mapfile) of html template directory |
202+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
203+ | description | Map | service description, fall back to ows/wfs_abstract |
204+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
205+ | links | Map, Layer | comma delimited list of link keys - references to other metadata |
206+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
207+ | link_{key}_title | Map, Layer | link title |
208+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
209+ | link_{key}_href | Map, Layer | link href (url) |
210+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
211+ | html_tags | Map | comma delimited list of tag keys to expose to HTML templates - references to other metadata |
212+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
213+ | tag_{key} | Map | value associated with the tag, added to JSON data in template.tags object |
214+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
215+ | keywords | Layer | comma delimited list of keywords, fall back to ows/wfs_keywordlist |
216+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
217+ | max_limit | Map, Layer | map or layer-level maximum limit value (integer) |
218+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
219+ | use_default_extent_for_getfeature | Layer | (since 8.4) Use ``MAP`` ``EXTENT`` as a spatial filter if no bbox is in the request. |
220+ | (optional) | | Setting to ``"false"`` can improve performance. |
221+ | | | See also :ref:`wfs_use_default_extent_for_getfeature`. |
222+ +--------------------------------------+---------------------+---------------------------------------------------------------------------------------------+
219223
220224Example OGC API Server Mapfile
221225******************************
@@ -280,6 +284,7 @@ Example OGC API Server Mapfile
280284 "ows_abstract" "Oceans, NaturalEarth dataset, 2020"
281285 "gml_include_items" "all" #REQUIRED
282286 "gml_featureid" "ne_id" #REQUIRED
287+ "oga_use_default_extent_for_getfeature" # Optional. Can improve performance.
283288 END
284289 TYPE POLYGON
285290 STATUS ON
0 commit comments