[gdal-dev] Extracting vector layers from Geospatial PDF
Tobias Wendorff
tobias.wendorff at tu-dortmund.de
Wed Feb 6 11:50:17 PST 2019
Hi there,
Am Mi, 6.02.2019, 17:58 schrieb Rajesvari Parasa:
> to try: ogr2ogr -f sqlite out.sqlite in.pdf
> But since ogr doesn't recognize my PDF, I can't use this.
I had to use "--config OGR_PDF_READ_NON_STRUCTURED YES" to make it
read my PDFs, but I think, this will destroy your Geospatial content.
I've just read it in non-structured and georeferenced it using
ground control points:
ogr2ogr -progress -a_srs EPSG:3857 -gcp ... output.geojson input.pdf
--config OGR_PDF_READ_NON_STRUCTURED YES -NLT polygon
Perhaps this helps :/
Best regards,
Tobias
More information about the gdal-dev
mailing list