[MapServer-dev] More precise WMS GetFeatureInfo for point symbols: ask for opinions

Lime, Steve D (MNIT) steve.lime at state.mn.us
Tue Sep 9 08:06:58 PDT 2025


I favor functional parity if possible. MapScript leverages those msQueryBy… functions too.

From: Seth G <sethg at geographika.co.uk>
Sent: Tuesday, September 9, 2025 10:04 AM
To: Lime, Steve D (MNIT) <steve.lime at state.mn.us>; Even Rouault <even.rouault at spatialys.com>; Steve Lime <sdlime at gmail.com>
Cc: MapServer Devs <mapserver-dev at lists.osgeo.org>
Subject: Re: [MapServer-dev] More precise WMS GetFeatureInfo for point symbols: ask for opinions

I'm not sure how much mode=query and mode=nquery are used now, compared with through WMS, and if it is worth implementing this feature for them.

My preference would be to leave as WMS only, with WMS metadata parameters. If in the future there is another OGC standard that works similar to GetFeatureInfo then promote it to an IDENTIFY block. If it is going to be available to mode=query then it would also make sense to create an IDENTIFY block.

Having said that, I'm in favour of adding in the feature with any of the current or suggested implementations.

Seth

--
web:https://geographika.net<https://geographika.net/> & https://mapserverstudio.net<https://mapserverstudio.net/>
mastodon: @geographika at mastodon.social<mailto:geographika at mastodon.social>

On Mon, Sep 8, 2025, at 11:48 PM, Lime, Steve D (MNIT) via MapServer-dev wrote:

Ok, cool – then moving the TOLERANCE* parameters inside the new directive makes more sense. Note, I like IDENTIFY more than IDENTIFICATION but that’s just semantics. Would layer-level TOLERANCE* values continue to work, at least for a bit?



From: MapServer-dev <mapserver-dev-bounces at lists.osgeo.org<mailto:mapserver-dev-bounces at lists.osgeo.org>> On Behalf Of Even Rouault via MapServer-dev
Sent: Monday, September 8, 2025 4:28 PM
To: Steve Lime <sdlime at gmail.com<mailto:sdlime at gmail.com>>
Cc: MapServer Dev Mailing List <mapserver-dev at lists.osgeo.org<mailto:mapserver-dev at lists.osgeo.org>>
Subject: Re: [MapServer-dev] More precise WMS GetFeatureInfo for point symbols: ask for opinions



This message may be from an external email source.

Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.



________________________________




Le 08/09/2025 à 23:13, Steve Lime a écrit :

I could also see this enhancement being useful for native point-based queries too (e.g. mode=query or mode=nquery).

I guess they could be enhanced to use that functionality.  The would need to populate the new query->getFeatureInfo->x_pixel and query->getFeatureInfo->y_pixel fields, so a new X_PIXEL and Y_PIXEL variable should be added

If that's feasible, then I wouldn't tie the configuration to WMS explicitly. What about just using TOLERANCE AUTO? I mean, it seems that this is trying to address the limitations of that configuration parameter.

This isn't exclusive of the TOLERANCE value. The TOLERANCE value can be used to add an extra buffer around the filled areas of the symbol

so you can have something like:

IDENTIFICATION
        TOLERANCE 5
        CLASSAUTO
END



On Mon, Sep 8, 2025 at 7:36 AM Even Rouault via MapServer-dev <mapserver-dev at lists.osgeo.org<mailto:mapserver-dev at lists.osgeo.org>> wrote:

Hi,

In https://github.com/MapServer/MapServer/pull/7318 I've introduced an
enhancement to be able to identify with WMS GetFeatureInfo point
features through their symbols, rather than just a square centered
around their position. This helps for symbols that are not centered
(offset), or whose shape is not square.

I've extende MapServer syntax to be able to enable that mode, and
configure how it works. If you read the PR, you'll see there is a bit of
a debate on how to best express that conffiguration. Either through a
new IDENTIFICATION block as a child of a LAYER block, or using
PROCESSION directive or wms_ METADATA items. Are there thoughts about that?

Thanks,

Even

--
http://www.spatialys.com<http://www.spatialys.com/>
My software is free, but my time generally not.

_______________________________________________
MapServer-dev mailing list
MapServer-dev at lists.osgeo.org<mailto:MapServer-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapserver-dev
--
http://www.spatialys.com<http://www.spatialys.com/>
My software is free, but my time generally not.
_______________________________________________
MapServer-dev mailing list
MapServer-dev at lists.osgeo.org<mailto:MapServer-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapserver-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20250909/bd1e1a29/attachment-0001.htm>


More information about the MapServer-dev mailing list