Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3145 closed enhancement (fixed)

ogr2ogr should provide WKT geometry as output format

Reported by: marisn Owned by: warmerdam
Priority: normal Milestone:
Component: Utilities Version: unspecified
Severity: normal Keywords: ogr2ogr wkt
Cc:

Description

Currently it's not possible to use ogr2ogr to convert any supported data sources to WKT geometry. Ability to output WKT to stdout would also be a nice feature.

Change History (2)

comment:1 Changed 12 years ago by warmerdam

Resolution: fixed
Status: newclosed

As of GDAL/OGR 1.6.0 it is possible to emit WKT in CSV output:

 ogr2ogr -f CSV out polygon.shp -lco GEOMETRY=AS_WKT

comment:2 Changed 12 years ago by marisn

Auch! My bad for not RTFM!

Still just a small wish - would it be possible to add WKT as supported format to http://www.gdal.org/ogr/ogr_formats.html page as a link to CSV format page?

Note: See TracTickets for help on using tickets.