[gdal-dev] kml file with line length too long
Even Rouault
even.rouault at spatialys.com
Thu Jun 27 13:40:54 PDT 2019
On jeudi 27 juin 2019 20:17:22 CEST Joaquim Manuel Freire Luís wrote:
> But not for me with a master (~1-2 weeks old) GDAL
>
> ogr2ogr -f "ESRI Shapefile" test.shp IS2_RGT_0002_cycle4_28-Jun-2019.kml
> ERROR 1: Failed to create file test.shp\RGT 2 DOY-179 28-Jun-2019
> 04:55:18.shp: No error ERROR 1: Terminating translation prematurely after
> failed
> translation of layer RGT 2 DOY-179 28-Jun-2019 04:55:18 (use -skipfailures
> to skip errors)
>
Ah, I suspect you might have a file "test.shp" already existing, but here as
it a multi-layer KML file, the shapefile drivers tries to create a "test.shp"
directory. A bit of cleanup in your working dir should fix that.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list