Layer not showing Coordinate system override from feature source
I have a shape file feature source and I have added it a Coordinate system override as seen below:
Local Datum",0],UNIT["Kilometer", 1000],AXIS["X",EAST],AXIS["Y",NORTH]]
If I preview it in Maestro, I can easily drill
down to it the deepest scale, and coordinate system appears to be as
defined above. I can see that conversion from Non-Earth (Meter) to
Non-Earth(Kilometer) is done correctly and map displays as expected.
The problem is when I create a layer out of it. The
conversion just doesn't happen and If I preview such layer I can't get
to the same scale. Am I missing something here ? Is this supposed to
Any pointers will be more than welcome.
I'm using Mapguide OpenSource 2.6 and Maestro 6.0a1
Coordinate conversions done by Maestro are a mixed bag. The reason is that Maestro doesn't use CS-Map at the moment for coordinate conversions and the current mapagent does not offer any interface for transforming coordinates from one coordinate system to another. Maestro currently uses Proj.Net to do client-side transformations of coordinates.
As a result, some coordinate conversions either aren't perfect or don't happen at all.
In the meantime, you could write a piece of disposable web tier code using the MgCoordinateSystem* APIs to do this extent number crunching, or use the mapguide-rest extension which has a /services/transformcoords endpoint for transforming coordinates. Then just manually put in the transformed coordinates into your