[MapServer-users] WMS GetFeatureInfo default FEATURE COUNT

Seth G sethg at geographika.co.uk
Fri May 3 06:56:56 PDT 2024


Hi Andrew,

It looks like this is hard-coded to be set to 1 if missing (there is a comment that it is up to the server what to do if FEATURECOUNT is not provided). 
You could handle this at the web server level with a URL rewrite to add FEATURECOUNT to any GetFeatureInfo request where it is missing.

Seth

--
web:https://geographika.net & https://mapserverstudio.net
twitter: @geographika

On Fri, May 3, 2024, at 3:43 PM, Andrew Harfoot via MapServer-users wrote:
> Hi list,
>
> In a WMS GetFeatureInfo request, if the client does not include the 
> FEATURECOUNT parameter then MapServer appears to default to 
> FEATURECOUNT=1. Is there any way to override this default in the server 
> configuration?
>
> Thanks,
>
> Andy
>
>
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the MapServer-users mailing list