Custom Projection

6/9/2013 6:56:00 AM
Total Posts 50

Custom Projection

Hello,

How to make custom Projection in Aspmap? I want to make local projection because our National data is in local projection.

6/10/2013 1:56:53 AM
MVP
Total Posts 323

Re: Custom Projection

The CoordSystem class has the SetWKT method for custom coordinate systems.

cs.SetWKT("PROJCS[\"WGS_1984_Web_Mercator\",GEOGCS[\"GCS_WGS_1984_Major_Auxiliary_Sphere\",DATUM[\"WGS_1984_Major_Auxiliary_Sphere\",SPHEROID[\"WGS_1984_Major_Auxiliary_Sphere\",6378137.0,0.0]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_1SP\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0.0],PARAMETER[\"latitude_of_origin\",0.0],UNIT[\"Meter\",1.0]]")

Or the LoadFromFile method can be used.