[mapguide-internals] MAP Spatial Filter
traian.stanev at autodesk.com
Fri Jun 8 03:59:50 EDT 2007
MapGuide is supposed to transform the query region from the map's coord sys to the layer's coord sys before doing the FDO query. The relevant code is at
in StylizationUtil.cpp. Not sure why it is not working for you, but that code was changed recently so it is possible it could be a bug.
P.S. I am not surprised Map is doing a query for an area larger than the limits of LatLon since it does not validate the query rectangle against the limits of the coordinate system (at least as far as I know about that) -- it simply uses 2D math to compute the currently visible region, so if you zoom out on the world map, the query region will be larger than -180,-90,180,90.
From: mapguide-internals-bounces at lists.osgeo.org on behalf of Haris Kurtagic
Sent: Fri 6/8/2007 3:27 AM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] MAP Spatial Filter
I have a question what is way that MG will set spatial filter when in
Map there are layers with different coordinate system's.
I have in test Map layer with Lat/Lon and layers with projected cs.
MG when querying is sending same extents of Map for both layers geodetic
So when querying against Lat/lon layer MG is setting spatial filter to
extend in projected coordinates.
I suppose this is not how it should work ?
Another issue I had is that if for example in Map There is just one
layer with geoditc cs, Map will set filter bigger than (
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
More information about the mapguide-internals