Thanks Seth and Jukka for the responses. For the WMS in question to function as intended, the FEATURECOUNT needs to set to greater than 1, so I'll try a rewrite as Seth suggests.

Andy

On 03/05/2024 14:56, Seth G wrote:
[You don't often get email from [email protected]. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

CAUTION: This e-mail originated outside the University of Southampton.

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
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users


--
Andy Harfoot

Skype: gdi_ajph
Teams: [email protected]
Phone: +44 2380 590566

GeoData Institute
University of Southampton
Southampton
SO17 1BJ

www.geodata.soton.ac.uk

_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to