This project is read-only.

Create a geometry from WKT

Mar 30, 2011 at 12:21 AM

I am currently saving  a geometry to my database using wkt (using GEOM.ToText() function )

how can i get back to construct a geometry from the text  ( which is in WKT i suppose) ?

Jul 9, 2011 at 5:13 PM

This is very usefull .... have you found a way ?

Jul 12, 2011 at 1:56 PM

There should be a WktReader class somewhere around, but apparently there isn't.

Why not use Geometry.ToBinary() and for parsing purposes the WkbReader?

Hth FObermaier

Jul 12, 2011 at 3:45 PM

Lol i answered to myself!

I am unfortunate as this time it is not possible to write the db field value myself as my source is in WKT. :(

Is Dotspatial using GeoAPI ? I remember from sharpmap that this was provided by GeoAPI.