[OpenLayers-Users] WMSGetFeatureInfo + xy mouse coordinates, can this be done?

Alexandre Dube adube at mapgears.com
Tue Mar 1 09:51:47 EST 2011


50~ shouldn't be a problem.  IMHO, it would be a good idea to make the 
switch to WFS.

Cheers,

Alexandre

On 11-03-01 09:39 AM, Andrew Stewart wrote:
>
> Ok thanks.. So basically if my web service does not support tolerance (which I'm pretty sure is the case) then there is not much I can do with openlayers to fix this problem.. Besides possibly changing my features into markers from my WFS and giving those markers tooltips/hotspots but not sure what the performance would be on that since I need sometimes 50+ markers.
>
>
> -----Original Message-----
> From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of Alexandre Dube
> Sent: March 01, 2011 6:49 AM
> To: openlayers-users at lists.osgeo.org
> Subject: Re: [OpenLayers-Users] WMSGetFeatureInfo + xy mouse coordinates, can this be done?
>
> Hi,
>
> That could be setup in your web mapping service. If you use MapServer,
> you could set the Layer object definition "TOLERANCE" parameter for that.
>
> Regards,
>
> Alexandre
>
> [1] http://mapserver.org/mapfile/layer.html (search for "TOLERANCE")
>
>
> On 11-02-28 10:02 PM, Planet)x wrote:
>> I have a slight problem which has to do with my WMS mainly but wondering if
>> there is a way to program around it. Well problem is I can increase the
>> symbol size for points on my Web service but the geometry of the point
>> (centroid) remains the same. Therefore when using a
>> OpenLayers.Control.WMSGetFeatureInfo the feature info is never returned
>> until I move the mouse directly in the middle of the point feature (and also
>> lines unfortunately). Question is can I somehow force the mouse to be moved
>> to the center of the point when it nears a symbol.. and is there anyway to
>> actually get the entire coordinates for the symbol so I can use them to do
>> the featureinfo somehow? Not sure if this makes sense or if there is another
>> approach I can utilize to do this.. appreciate any advice!
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110301/a413b264/attachment.html


More information about the Users mailing list