[MapServer-dev] Updating OGC Features API templates

Seth G sethg at geographika.co.uk
Mon Sep 8 10:37:12 PDT 2025


Hi devs,

I have made updated HTML templates for the OGC Features API in https://github.com/MapServer/MapServer/pull/7338 using Bootstrap 5.
I've added these to a new html-bootstrap5 folder, but maybe it is better to replace the current files in the html-bootstrap4 folder and rename it html-bootstrap (so it is not tied to a specific version)?

Advantages of this approach are fewer files to deploy, and users get updated templates when updating MapServer versions. 
Disadvantages are users who have set OGCAPI_HTML_TEMPLATE_DIRECTORY to the html-bootstrap4 folder will need to update their CONFIG files and users may also prefer to keep older versions of templates (although then can save a copy locally).

My preference is to replace, and rename the folder html-bootstrap. 

There are also plans to make installing the templates optional - see https://github.com/MapServer/MapServer/pull/7309

Thoughts and comments welcome,

Seth

--
web:https://geographika.net & https://mapserverstudio.net
mastodon: @geographika at mastodon.social


More information about the MapServer-dev mailing list