[gdal-dev] PDF generation on Linux

Even Rouault even.rouault at spatialys.com
Wed Aug 12 09:51:20 PDT 2020


On mercredi 12 août 2020 14:53:41 CEST Andrew C Aitchison wrote:
> On Wed, 12 Aug 2020, Kélian Devillier wrote:
> > Hello,
> > 
> > I'm trying to work with GeospatialPDF generation from an XML file on
> > Linux.
> > 
> > Using Ubuntu 18.04, I compiled the sources from version 3.0.4 myself.
> > 
> > Unfortunately, when I tried to execute the Python script with my xml, I
> > got
> > the following message :
> > ERROR 6: PDF node not supported due to PDF read support in this GDAL build
> > 
> > Is it due to the fact that I don't have any PDF viewer capable of reading
> > GeospatialPDF installed ?

I'd suggest installing the libpoppler-private-dev package from apt, and then building GDAL 
with ./configure --with-poppler
Make sure to "make clean" before building again.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200812/3b51ad98/attachment.html>


More information about the gdal-dev mailing list