Re: [MapServer-dev] preserving extra query parameters with ogc features api

2025-06-23 Thread Michael Smith via MapServer-dev
Hmm, but changing the templates only affects the html. How does one affect the f?json? Mike On 6/23/25, 9:30 AM, "Seth G" mailto:se...@geographika.co.uk>> wrote: Yes, very likely to be related to the templates. I just checked one of our systems and I had modified all the templates to include

Re: [MapServer-dev] preserving extra query parameters with ogc features api

2025-06-23 Thread Seth G via MapServer-dev
Yes, very likely to be related to the templates. I just checked one of our systems and I had modified all the templates to include the custom querystring parameter: {{ template.api_root }}/collections/{{ response.id }}?f=json&token={{ template.params.token }} Seth -- web:https://geographika.

Re: [MapServer-dev] preserving extra query parameters with ogc features api

2025-06-23 Thread Michael Smith via MapServer-dev
Could this be due to the fact that I am using the mapserver/ogcapi/templates/html-plain/ template for ogcapi? Mike -- Michael Smith RSGIS Center – ERDC CRREL NH US Army Corps On 6/20/25, 4:05 PM, "Seth G" mailto:se...@geographika.co.uk>> wrote: Hi Mike, I thought this had been add

Re: [MapServer-dev] preserving extra query parameters with ogc features api

2025-06-21 Thread Michael Smith via MapServer-dev
It does work if I use cookies, but using it via ArcGIS Pro or QGIS doesn't keep the cookies and if I pass something like items?f=json&access_token=xxx, none of the urls maintain the extra param. Mike -- Michael Smith RSGIS Center – ERDC CRREL NH US Army Corps On 6/20/25, 4:05 P

Re: [MapServer-dev] preserving extra query parameters with ogc features api

2025-06-21 Thread Tom Kralidis via MapServer-dev
Hi all: associated PR in https://github.com/MapServer/MapServer/pull/7295 to express in OpenAPI. Thanks ..Tom On Fri, Jun 20, 2025 at 5:46 PM Seth G via MapServer-dev < mapserver-dev@lists.osgeo.org> wrote: > Hi Mike, > > I thought this had been addressed, see comments in > https://github.co

Re: [MapServer-dev] preserving extra query parameters with ogc features api

2025-06-20 Thread Seth G via MapServer-dev
Hi Mike, I thought this had been addressed, see comments in https://github.com/MapServer/MapServer/pull/6400#issuecomment-936458600 - although not documented (see https://github.com/MapServer/MapServer-documentation/issues/855). You can add "oga_compliance_mode" "false" but this should be the

[MapServer-dev] preserving extra query parameters with ogc features api

2025-06-20 Thread Michael Smith via MapServer-dev
Since we use authentication (via oauth2) with out OGC services (WFS) we rely on carrying along an extra query parameter (access_token=) for our queries. Now I’m trying to do this with OGC Features API and an extra query parameters are removed from all the urls rather than just being carried