[mapserver-commits] [MapServer/MapServer] be30a0: OGCAPI Tweaks/Fixes (#6400)
Steve Lime
noreply at github.com
Wed Oct 6 19:57:35 PDT 2021
Branch: refs/heads/main
Home: https://github.com/MapServer/MapServer
Commit: be30a068fab3a6a12a576316dbb126cbebb7d352
https://github.com/MapServer/MapServer/commit/be30a068fab3a6a12a576316dbb126cbebb7d352
Author: Steve Lime <steve.lime at state.mn.us>
Date: 2021-10-06 (Wed, 06 Oct 2021)
Changed paths:
M mapogcapi.cpp
M msautotest/api/expected/ogcapi_collections_mn_counties_items_limit_1_offset_2.json
M share/ogcapi/templates/html-bootstrap4/collection-item.html
M share/ogcapi/templates/html-bootstrap4/collection-items.html
M share/ogcapi/templates/html-bootstrap4/collection.html
M share/ogcapi/templates/html-bootstrap4/footer.html
M share/ogcapi/templates/html-bootstrap4/header.html
M third-party/pantor/inja.hpp
Log Message:
-----------
OGCAPI Tweaks/Fixes (#6400)
Series of small changes/fixes/tweaks necessary to complete initial OGC API features support.
* OpenAPI response 'servers' element needs to be an array.
* Check validate offset range for bbox collection items request.
* Only add params with non-empty values to the template params object. Makes templating easier...
* Added prev link to collection items response.
* Updated test to account for previous link.
* Cleaned up jquery reference (there were 2) and moved libs to header.html.
* Added prev/next and page size controls.
* Integrate maps into collection/items and collection/items/{id} HTML templates. Normalizes some things across all map setup.
* Added base64 encoded MapServer logo and favicon graphics to the header.
* Updated inja.hpp to 3.3.
* Add error checks and avoid NULLs for some layer items.
* Revert to layer name if no title set.
* Don't include layer in collections response if is isn't queryable.
* Added single function to concentrate logic on whether or not layers should be included as OGC API collections.
* Use a HTML description to warn that we couldn't set a collection description.
* Improve projection logic for collection bbox and items by considering both the layer and map projections.
Co-authored-by: sethg <sethg at geographika.co.uk>
More information about the mapserver-commits
mailing list