[gdal-dev] OGR v1.11 CSV GEOM=AS_WKT truncated to 8000 characters (works normally in v1.10.1)
Hermann Peifer
peifer at gmx.eu
Tue Jun 3 09:15:10 PDT 2014
On 2014-06-03 17:45, lucvanlinden wrote:
> Hi All
>
>
> With upgrading to ogr 1.11 it seems that OGR2OGR -lco geom=AS_WKT, when used
> in writing to a CSV output format, the WKT notation is truncated to a length
> of 8000 characters.
>
> This is/was not the case with ogr 1.10.1.
>
> Can this be confirmed as being a bug?
>
Same here with GDAL 1.12dev from trunk, on Mac OS
This works fine and prints lines with 1.5+M characters, with my sample data:
ogr2ogr -f csv out.csv source_data -sql "select *,OGR_GEOM_WKT from layer"
Hermann
More information about the gdal-dev
mailing list