[gdal-dev] Re: converting KML to CSV

Tamas Szekeres szekerest at gmail.com
Wed May 21 04:58:09 EDT 2008


Tim,

You should use OGR_GEOM_WKT instead, it was just a typo.
For more information see:

http://www.gdal.org/ogr/ogr_sql.html#ogr_sql_special_fields

Best regards,

Tamas


2008/5/21 Tim Michelsen <timmichelsen at gmx-topmail.de>:
> Hello,
> thanks for your suggestion.
>
>
>> % ogr2ogr -f CSV out Bahnhoefe.kml -sql
> "select *,OGR_GOM_WKT from BahnhoefeWGS84"
>
> This fails for me with the message:
> ERROR 1: SQL: Unrecognised field name OGR_GOM_WKT.
>
> What means "OGR_GOM_WKT"?
>
> Regards,
> Timmie
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>


More information about the gdal-dev mailing list