[gdal-dev] kml file with line length too long
even.rouault at spatialys.com
Fri Jun 28 05:19:27 PDT 2019
On vendredi 28 juin 2019 12:05:02 CEST Joaquim Manuel Freire Luís wrote:
> Even, still about this issue. My experimental gmt_ogrread() function crashes
> when used with this file. The crash occurs at
> 44 and happens more or less randomly in "iLayer" ~> 4. From this I deduce
> the trouble comes from those multiple (empty?) layers of this file.
> It's strange because line 342 also accesses hSRS but it never crashed
Nothing strikes me as obviously wrong (just missing CPLFree() on pszWKT and
pszProj4, but that's not the cause of your issue).
You'll have to use your favorite debugging tool: gdb, valgrind ...
Spatialys - Geospatial professional services
More information about the gdal-dev