[gdal-dev] Can anyone else replicate this bug?

Ravi Desai rd7190 at gmail.com
Tue Sep 2 16:24:49 PDT 2014


Hello everyone,
   I unziped this file:
http://www12.statcan.gc.ca/census-recensement/2011/geo/bound-limit/files-fichiers/gct_000a11a_e.zip 
,
   and then fed the directory into the following command:
     ogr2ogr -t_srs epsg:4326 -f CSV output.csv 
canada_census_boundaries/ -lco GEOMETRY=AS_WKT

Line 4 ends with
   ...,-76.529666044999942 
44.249647768000038))",5210015.00,0015.00,521,Kingston,B,35521,35,Ontario
but line 5 ends with
   ...-81.066175268999913 
42.,5550100.01,0100.01,555,London,B,35555,35,Ontario

As you can see, the geometry is truncated and the ending quotes are also 
not applied to it, creating invalid CSV.

Would anyone else be able to replicate this, just to ensure this isn't 
due to something on my system?

Thank you,
-ravi


More information about the gdal-dev mailing list