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

Joaquim Manuel Freire Luís jluis at ualg.pt
Thu Jun 27 15:05:59 PDT 2019


OK, better but still some issues

...
Warning 1: Invalid layer name for a shapefile: RGT 2 DOY-179 28-Jun-2019 06:28:18. Laundered to RGT 2 DOY-179 28-Jun-2019 06_28_18.
Warning 6: Normalized/laundered field name: 'Description' to 'Descriptio'
Warning 1: Invalid layer name for a shapefile: RGT 2 DOY-179 28-Jun-2019 06:29:18. Laundered to RGT 2 DOY-179 28-Jun-2019 06_29_18.
Warning 6: Normalized/laundered field name: 'Description' to 'Descriptio'
Warning 6: Normalized/laundered field name: 'Description' to 'Descriptio'

At the end I get a directory with 196 .shp files, of which only " IS2_RGT_0002_cycle4_28-Jun-2019.kml.shp" is good. The rest is a bunch of " RGT 2 DOY-179 28-Jun-2019 06_29_18.shp" with only 136 bytes.


... and my gmt_ogrread() function still crashes my Julia GMT wrapper.





|>-----Original Message-----
|>From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of Joaquim
|>Manuel Freire Luís
|>Sent: Thursday, June 27, 2019 10:39 PM
|>To: Even Rouault <even.rouault at spatialys.com>; gdal-dev at lists.osgeo.org
|>Cc: jratike80 <jukka.rahkonen at maanmittauslaitos.fi>
|>Subject: Re: [gdal-dev] kml file with line length too long
|>
|>Thanks. I'll try it.
|>
|>|>-----Original Message-----
|>|>From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of Even
|>|>Rouault
|>|>Sent: Thursday, June 27, 2019 10:34 PM
|>|>To: gdal-dev at lists.osgeo.org
|>|>Cc: jratike80 <jukka.rahkonen at maanmittauslaitos.fi>
|>|>Subject: Re: [gdal-dev] kml file with line length too long
|>|>
|>|>> ERROR 1: Failed to create file lolo.shp\RGT 2 DOY-179 28-Jun-2019
|>|>> 04:55:18.shp: No error
|>|>
|>|>Ah, I see. There are ':' characters in the layername, which are
|>|>invalid characters for a filename on Windows. As I tested the
|>|>gisinternals builds on Wine, this limitation is probably not emulated
|>|>Anyway, I've just pushed code in the shapefile driver to launder layer name
|>to get valid filenames. Ah shapefiles...
|>|>
|>|>Even
|>|>
|>|>--
|>|>Spatialys - Geospatial professional services http://www.spatialys.com
|>|>_______________________________________________
|>|>gdal-dev mailing list
|>|>gdal-dev at lists.osgeo.org
|>|>https://lists.osgeo.org/mailman/listinfo/gdal-dev
|>_______________________________________________
|>gdal-dev mailing list
|>gdal-dev at lists.osgeo.org
|>https://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list