You were too quick to dismiss it.
There is also an exportToWkt in OGR:
http://www.gdal.org/ogr/classOGRGeometry.html


On Mar 21, 5:35 pm, Manuele Pesenti <[email protected]> wrote:
> Il 21/03/2012 19:39, DenesL ha scritto:> If you are referring to an ESRI 
> shapefile then this might help:
>
> >http://gis.stackexchange.com/questions/15920/how-to-convert-shapefile...
>
> Hi,
>
> thanks for the very usefull link... but the object seams not to answer
> the quest. For inserting geometries in database using new DAL features
> you need WKT format and not WKB... every library I found support
> exporting WKB (osgeo.ogr, Shapely, ppygis) but none seams to export WKT
> format. On the other hand a good point of your approach is that
> OpenLayers support WKT if you need to insert geometries by drawing them
> on a map.
>
> cheers
>
>      M.

Reply via email to