To get the layer's coordinate system, get the class definition of the layer and then get the spatial context association of the geometry property in this class definition.
Then query the spatial contexts of the feature source your layer uses, and find the spatial context whose name matches the association. This spatial context's coordinate system WKT is the coordinate system the layer is using. With this WKT and the map's WKT, you can create the equivalent MgCoordinateSystem objects and the MgTransform to transform coordinates - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Fetching-features-within-rectangle-layer-SRS-differs-from-map-SRS-tp7074044p7074276.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
