[gdal-dev] .kml to .xlsx or .xls ( with Geometry Column Included)

David Strip gdal at stripfamily.net
Wed Nov 27 07:06:57 PST 2019


my reading of the docs suggests this will only work for point
geometries. However, there is a more general GEOMETRY=AS_WKT that should
work for other geometries.

On 11/27/2019 7:00 AM, Jeff McKenna wrote:
> Another option is to convert from KML to CSV, which can be opened by
> LibreOffice/Word etc. using the "GEOMETRY=AS_XY" switch, which
> generates your X and Y columns magically:
>
>   ogr2ogr -f CSV -lco GEOMETRY=AS_XY output.csv input.kml
>
>
> -jeff
>
>
>



More information about the gdal-dev mailing list