Geo icon indicating copy to clipboard operation
Geo copied to clipboard

Error Reading WKT

Open jhudsonWA opened this issue 9 years ago • 2 comments

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

jhudsonWA avatar Mar 30 '16 14:03 jhudsonWA

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

sibartlett avatar Mar 31 '16 05:03 sibartlett

Ok, thanks anyway!

Sent from my iPhone

On Mar 30, 2016, at 10:28 PM, Simon Bartlett [email protected] 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

jhudsonWA avatar Mar 31 '16 05:03 jhudsonWA