[mapguide-users] Regarding Shape file
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Fri Jul 24 02:57:24 EDT 2009
The extent is a bit tricky, because some provides do not report this in
the SpatialContext.
Here is a .Net example of how to read it:
http://trac.osgeo.org/mapguide/browser/trunk/Tools/Maestro/MaestroAPI/ServerConnectionBase.cs#L1990
The coordinate system can be read from the "GETSPATIALCONTEXTINFO"
operation.
If you need it for verification purposes, you can create a test
FeatureSource with Maestro,
and click the "Refresh" button on the coordinate system override to see
what projection the SHP file
reports.
Just a thought, you are uploading all the required shp files right?
like:
file.shp
file.dbf
file.idx
etc...
?
It won't work without those.
Regards, Kenneth Skovhede, GEOGRAF A/S
sathishpsk9 skrev:
> HI Kenneth Skovhede
>
> 1) The coordinate system is wrong
> How can get coordinate systems and its extents from a shape file ?
> Thanks & Regards,
> Satish Kumar
>
More information about the mapguide-users
mailing list