[gdal-dev] kml file with line length too long

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Thu Jun 27 14:01:03 PDT 2019


Test with yesterdays GDAL 3.1.0dev from gisinternals creates a directory
"lolo.shp", writes the first shapefile into it but fails with the second.
Debug shows this:

ogr2ogr -f "ESRI shapefile" lolo.shp IS2_RGT_0002_cycle4_28-Jun-2019.kml
--debug on
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_BAG.dll using
GDALRegister_BAG.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_FITS.dll
using GDALRegister_FITS.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_GMT.dll using
GDALRegister_GMT.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_HDF4.dll
using GDALRegister_HDF4.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_HDF4Image.dll
using GDALRegister_HDF4Image.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_HDF5.dll
using GDALRegister_HDF5.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_HDF5Image.dll
using GDALRegister_HDF5Image.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_KEA.dll using
GDALRegister_KEA.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_MG4Lidar.dll
using GDALRegister_MG4Lidar.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_MrSID.dll
using GDALRegister_MrSID.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\gdal_netCDF.dll
using GDALRegister_netCDF.
GDAL: Auto register C:\ohjelmat\gdal_dev\bin\gdal\plugins\ogr_AmigoCloud.dll
using RegisterOGRAmigoCloud.
GDAL: GDALOpen(IS2_RGT_0002_cycle4_28-Jun-2019.kml, this=0000018665149690)
succeeds as LIBKML.
GDAL: GDALDriver::Create(ESRI
Shapefile,lolo.shp,0,0,0,Unknown,0000000000000000)
Shape: DBF Codepage = LDID/87 for
lolo.shp\IS2_RGT_0002_cycle4_28-Jun-2019.kml.shp
Shape: Treating as encoding 'ISO-8859-1'.
Warning 6: Normalized/laundered field name: 'description' to 'descriptio'
Warning 6: Field timestamp create as date field, though DateTime requested.
Warning 6: Field begin create as date field, though DateTime requested.
Warning 6: Field end create as date field, though DateTime requested.
Warning 6: Normalized/laundered field name: 'altitudeMode' to 'altitudeMo'
GDALVectorTranslate: 1 features written in layer
'IS2_RGT_0002_cycle4_28-Jun-2019.kml'
ERROR 1: Failed to create file lolo.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)
GDAL: GDALClose(lolo.shp, this=000001866542C1F0)
GDAL: GDALClose(IS2_RGT_0002_cycle4_28-Jun-2019.kml, this=0000018665149690)


-Jukka Rahkonen-




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list