c# - Update geometry for existing IFeature using wkt? -


i trying update geometry existing ifeature wkt column. input got 2 columns. want use wkt column update geometry feature/row.

i try use geoapi ready wkt , use overwrite dotspatial geometry without success.

var newwkt = selectedpoly.datarow["wkt"].tostring();  var geomfactory = new geometryfactory(new precisionmodel(), int32.parse(depotepsg));  var wktreader = new wktreader();  var geometry = wktreader.read(newwkt);  selectedpoly.basicgeometry = geometry  <-- not working 

how can update ifeature geometry wkt using dotspatial or other library in c#?


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -