Opened 15 years ago

Closed 15 years ago

Last modified 15 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 by warmerdam, 15 years ago

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 by marisn, 15 years ago

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.