Hi Killian, This seems like an oversight, as for WFS MapServer explicity sets the TOLERANCE to 0 [1]. The same should be done for OGC Features. Could you raise an issue for this at https://github.com/MapServer/MapServer/issues? Thanks,
Seth [1] https://github.com/MapServer/MapServer/blob/abaa114c6973cc67cacd82e8a724f994a00eb785/src/mapwfs.cpp#L3016 -- web:https://geographika.net & https://mapserverstudio.net mastodon: @[email protected] On Tue, Jun 16, 2026, at 11:42 AM, Kilian Glaus via MapServer-users wrote: > Hello everybody > > If I have a defined TOLERANCE on the LAYER level of a mapfile, the requested > bbox of an OGC API request is increased linear with the size of TOLERANCE. Is > this intended or a bug? > The problem occurs with another EPSG like 4326 > When I do a WFS request with the same bbox, the TOLERANCE is ignored. > > *Request:* > `/ogcapi/collections/prozessraum_rutschung/items?f=json&bbox=2678483.5005230373,1286876.7365089145,2680778.0675097415,1287676.7148341944&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/2056` > > *Request without TOLERANCE* > *Processed BBOX:* POLYGON((2678472.83748642 1286845.70388825,2678472.83748642 > 1287707.7538654,2680789.0451681 1287707.7538654,2680789.0451681 > 1286845.70388825,2678472.83748642 1286845.70388825)) > > *Request with TOLERANCE 4* > *Processed BBOX: *POLYGON((2670889.86292488 1275708.25617677,2670889.86292488 > 1298857.60050378,2688405.20300468 1298857.60050378,2688405.20300468 > 1275708.25617677,2670889.86292488 1275708.25617677)) > > *Request with TOLERANCE 8* > *Processed BBOX: *POLYGON((2663334.74802645 1264580.34909246,2663334.74802645 > 1310016.9403732,2696049.18633325 1310016.9403732,2696049.18633325 > 1264580.34909246,2663334.74802645 1264580.34909246)) > > Best regards > Kilian > __ > _______________________________________________ > MapServer-users mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
