"You can access the geometry like with any other ogr feature."
Yes, it's right. But how string are encoded with Ogr ?
Because I have to write :
[code]
byte[] memWkb =
System.Text.Encoding.UTF8.GetBytes(memFeature.GetFieldAsString("WKB_GEOMETRY"));
Geometry memGeom = Geometry.CreateFromWkb(memWkb);
[/code]
It's UTF8, ASCII, Unicode ?
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/gdal-dev-Ogr-ExecuteSQL-with-MSSQL-and-geometry-column-tp4988831p4988966.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev