X-Debbugs-Cc: Frank Warmerdam <[email protected]>, Silke Reimer 
<[email protected]>, [email protected]
Package: gdal-bin
Version: 2.1.0+dfsg-3

Here is a real life story of trying to guess formats.

$ ogrlineref -create -l zk1.kml -p zk0.kml -pm emds -o parts.kml -s 222

Warning: The target file has a 'kml' extension, which is normally used by the 
KML/LIBKML driver,
but the requested output driver is ESRI Shapefile. Is it really what you want ?
Segmentation fault
$ ogrlineref -f KML -create -l zk1.kml -p zk0.kml -pm emds -o parts.kml -s 222

Warning: The target file has a 'kml' extension, which is normally used by the 
KML/LIBKML driver,
but the requested output driver is KML. Is it really what you want ?
ERROR 4: Failed to create KML file parts.kml.
KML driver failed to create parts.kml
$ ogrlineref -f KML/LIBKML -create -l zk1.kml -p zk0.kml -pm emds -o parts.kml 
-s 222

Unable to find driver `KML/LIBKML'.
The following drivers are available:
  -> `PCIDSK'
  -> `netCDF'
  -> `JP2OpenJPEG'
  -> `PDF'
  -> `ESRI Shapefile'
  -> `MapInfo File'
  -> `UK .NTF'
  -> `OGR_SDTS'
  -> `S57'
  -> `DGN'
  -> `OGR_VRT'
  -> `REC'
  -> `Memory'
  -> `BNA'
  -> `CSV'
  -> `NAS'
  -> `GML'
  -> `GPX'
  -> `LIBKML'
  -> `KML'
...

So we think maybe it is mad about the .kml, so we remove it:

$ ogrlineref -f KML -create -l zk1.kml -p zk0.kml -pm emds -o parts -s 222
Segmentation fault

_______________________________________________
Pkg-grass-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to