WKT Spatial References

48 views
Skip to first unread message

Michael Witt

unread,
Jun 21, 2017, 3:06:07 PM6/21/17
to NetTopologySuite
In other ports of Proj4 it is possible to read a WKT of a projection and obtain the "proj4string", or abbreviated version of this with a method call.

Does the NetTopologySuite not have this capability in it's proj4 port?

I'm using the wkt string built as below as an example of the wkt...it parses well into a projected coordinate system, but I cannot figure out how to get it into the abbreviated version.

The abbreviation property is empty in the projected coordinate system object, which is where I had thought it might show up.


 string MissouriStatePlaneEastESPG = "PROJCS[\"NAD_1983_StatePlane_Missouri_East_FIPS_2401_Feet\"," +
                "GEOGCS[\"GCS_North_American_1983\"," +
                "DATUM[\"North_American_Datum_1983\"," +
                "SPHEROID[\"GRS_1980\",6378137.0,298.257222101]]," +
                "PRIMEM[\"Greenwich\",0.0]," +
                "UNIT[\"Degree\",0.0174532925199433]]," +
                "PROJECTION[\"Transverse_Mercator\"]," +
                "PARAMETER[\"False_Easting\",820208.3333333333]," +
                "PARAMETER[\"False_Northing\",0.0]," +
                "PARAMETER[\"Central_Meridian\",-90.5]," +
                "PARAMETER[\"Scale_Factor\",0.9999333333333333]," +
                "PARAMETER[\"Latitude_Of_Origin\",35.83333333333334]," +
                "UNIT[\"Foot_US\",0.3048006096012192]]," +
                "AUTHORITY[\"ESPG\",\"26996\"]]";

FObermaier

unread,
Jun 22, 2017, 3:04:00 AM6/22/17
to NetTopologySuite
Which library are you talking about?
NetTopologySuite does not have any knowledge of spatial reference other than a SRID property.
Reply all
Reply to author
Forward
0 new messages