sibartlett / Geo

A geospatial library for .NET
https://www.nuget.org/packages/Geo/
GNU Lesser General Public License v3.0
176 stars 39 forks source link

Error Reading WKT #22

Open jhudsonWA opened 8 years ago

jhudsonWA commented 8 years ago

Trying to read a WKT that is in a SRID (2927) and it keeps telling me:

Specified argument was out of the range of valid values.

Does this reader only work with regular lat/longs?

WKT: POINT (1231668.2539279764 968951.39716555178)

Code:

var reader = new WktReader(); var geometry = reader.Read(roadsideFeature.FeatureGeometryString); // reading a string

sibartlett commented 8 years ago

Yeah, this library only works with regular lat/longs; SRID 4326 / WGS84.

jhudsonWA commented 8 years ago

Ok, thanks anyway!

Sent from my iPhone

On Mar 30, 2016, at 10:28 PM, Simon Bartlett notifications@github.com wrote:

Yeah, this library only works with regular lat/longs; SRID 4326 / WGS84.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub