[gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers
klo uo
klonuo at gmail.com
Wed May 28 13:10:51 PDT 2014
Hi,
I have vector data in PDF format, which I tried to georeference with
org2ogr -gcp feature and output basic Shapefile, but program complains that
it's unable to read the PDF file, which I confirm as valid by processing it
with ghostscript.
I then converted PDF to SVG and confirmed that SVG is well-formed and valid
XML, but again ogr2ogr complains about it.
Finally by converting initial PDF to DXF, ogr2ogr was able to complete the
task.
I want to avoid converting PDF to other format and especially to DXF which
makes the process slow, so I'm hoping for advice. I can provide the test
files if necessary. Thanks.
I use 64 bit GDAL 1.10.1, released 2013/08/26 from gisinternals on Windows 8
Here is output from `ogrinfo --formats`:
c:\Program Files\GDAL>ogrinfo --formats
Supported Formats:
-> "ESRI Shapefile" (read/write)
-> "MapInfo File" (read/write)
-> "UK .NTF" (readonly)
-> "SDTS" (readonly)
-> "TIGER" (read/write)
-> "S57" (read/write)
-> "DGN" (read/write)
-> "VRT" (readonly)
-> "REC" (readonly)
-> "Memory" (read/write)
-> "BNA" (read/write)
-> "CSV" (read/write)
-> "NAS" (readonly)
-> "GML" (read/write)
-> "GPX" (read/write)
-> "LIBKML" (read/write)
-> "KML" (read/write)
-> "GeoJSON" (read/write)
-> "Interlis 1" (read/write)
-> "Interlis 2" (read/write)
-> "GMT" (read/write)
-> "SQLite" (read/write)
-> "ODBC" (read/write)
-> "PGeo" (readonly)
-> "MSSQLSpatial" (read/write)
-> "PostgreSQL" (read/write)
-> "MySQL" (read/write)
-> "PCIDSK" (read/write)
-> "XPlane" (readonly)
-> "AVCBin" (readonly)
-> "AVCE00" (readonly)
-> "DXF" (read/write)
-> "Geoconcept" (read/write)
-> "GeoRSS" (read/write)
-> "GPSTrackMaker" (read/write)
-> "VFK" (readonly)
-> "PGDump" (read/write)
-> "OSM" (readonly)
-> "GPSBabel" (read/write)
-> "SUA" (readonly)
-> "OpenAir" (readonly)
-> "PDS" (readonly)
-> "WFS" (readonly)
-> "HTF" (readonly)
-> "AeronavFAA" (readonly)
-> "Geomedia" (readonly)
-> "EDIGEO" (readonly)
-> "GFT" (read/write)
-> "SVG" (readonly)
-> "CouchDB" (read/write)
-> "Idrisi" (readonly)
-> "ARCGEN" (readonly)
-> "SEGUKOOA" (readonly)
-> "SEGY" (readonly)
-> "ODS" (read/write)
-> "XLSX" (read/write)
-> "ElasticSearch" (read/write)
-> "PDF" (read/write)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140528/2047b860/attachment-0001.html>
More information about the gdal-dev
mailing list