[gdal-dev] Removing layers from GeoSpatial PDF with ogr2ogr?

Tobias Wendorff tobias.wendorff at tu-dortmund.de
Thu Apr 26 14:33:32 PDT 2018


Am Mi, 25.04.2018, 21:02 schrieb Even Rouault:
>
> This is expected. When doing ogr2ogr you run into limitations
> of the read side and write side of the PDF driver, and running
> through OGR abstraction in the middle, so loss is expected in
> the case of PDF.

Even experienced PDF-orientated applications, like Ghostscript,
are have problems with PDF layers.

I had a similar problem in the past. I ended up unpacking the PDF
to an editable text-only format and removed the objects manually.

Maybe you can find someone with Acrobat PDF (the editor one), who
can fix the files for you?



More information about the gdal-dev mailing list