[MapServer-users] WMS GetFeatureInfo default FEATURE COUNT

Andrew Harfoot ajph at geodata.soton.ac.uk
Tue May 7 01:57:53 PDT 2024


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 sethg at geographika.co.uk. 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
>> MapServer-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Andy Harfoot

Skype: gdi_ajph
Teams: ajph at soton.ac.uk
Phone: +44 2380 590566

GeoData Institute
University of Southampton
Southampton
SO17 1BJ

www.geodata.soton.ac.uk



More information about the MapServer-users mailing list