[gdal-dev] converting KML to CSV

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Tue May 20 10:39:07 EDT 2008


On Tue, 2008-05-20 at 13:53 +0000, Tim Michelsen wrote:
> Hello,
> I'd like to convert KML back to CSV.
> 
> When I issue
> ogr2ogr -f CSV out.csv in.kml
> 
> there are no coordinates written to the CSV file. Only the placemark names are
> written.
> 
> How can I get ogr2ogr to create a file like
> Latitude,Longitude,Name
> 48.1,0.25,"First point"
> 49.2,1.1,"Second point"
> 47.5,0.75,"Third point"
> 
> Thanks in advance & kind regards,
> Tim

A solution here:

http://spanring.eu/blog/2005/12/11/kml2gml/



More information about the gdal-dev mailing list