[mapguide-users] mapagent operation=QUERYMAPFEATURES
Yewondwossen Assefa
assefa at dmsolutions.ca
Thu Aug 10 09:46:10 EDT 2006
Thanks. Small rectangle seems to do the trick with Intersects
(EnvelopeIntersects does not seem to be supported).
I was kind of looking for low level support like a point query +
tolerance but I can still simulate the tolerance in my application.
Best Regards,
Traian Stanev wrote:
> 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
>
>
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the Mapguide-users
mailing list