[mapguide-users] mapagent operation=QUERYMAPFEATURES
Traian Stanev
traian.stanev at autodesk.com
Wed Aug 9 20:12:16 EDT 2006
The input point is probably not *exactly* equal to the feature point and hence a point query with Intersects will not work. I would use a small rectangle query with the EnvelopeIntersects or Intersects operation. Note that by small rectangle, I don't mean a zero size rectangle, but something with width and height of say 1e-6 for example.
Traian
-----Original Message-----
From: Assefa Yewondwossen
Sent: Wed 8/9/2006 7:08 PM
To: users at mapguide.osgeo.org
Cc:
Subject: [mapguide-users] mapagent operation=QUERYMAPFEATURES
Hi There,
I am having trouble selecting elements on a point layer. Query looks
something like this :
....&operation=QUERYMAPFEATURES&geometry=POINT(663293.447226639%205431187.3623488685)&selectionVariant=INTERSECTS...
I have tried WITHIN for the selectionvariant with no success.
I have also tried a polygon geometry where the Min=Max with no success.
Note that using a polygon geometry around a point element selects the
element as expected.
Any idea what I am doing wrong ?
Thanks
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5062 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060809/60994fe2/attachment.bin
More information about the Mapguide-users
mailing list