[QGIS-Developer] GeoPDF not available with GDAL 3.0.4
Andreas Neumann
a.neumann at carto.net
Mon Mar 9 02:19:01 PDT 2020
Thanks Jorge,
Yes, I remember that. You'd have to make sure that the output from
gdalinfo --formats | grep -i pdf
reads
PDF -raster,vector- (rw+vs): Geospatial PDF
Otherwise it Geospatial PDF is not enabled in GDAL.
I compiled it with poppler
./configure --with-python=python3 --with-proj=/usr/local --with-pg=yes
--with-poppler
Greetings,
Andreas
On 2020-03-09 09:26, Jorge Gustavo Rocha wrote:
> Hi Matteo,
>
> My gdalinfo returns:
>
> gdalinfo --formats | grep -i pdf
> PDF -raster,vector- (rw+vs): Geospatial PDF
>
> Can you check your's gdalinfo --formats output?
>
> Did you compile it? I compile gdal myself and I use the option:
> --with-pdfium=/usr/local
>
> To compile PDFium, use Even's receipt:
>
> git clone https://github.com/rouault/pdfium_build_gdal_3_1
> cd pdfium_build_gdal_3_1/
> ./build_linux.sh
> sudo cp -r install/include /usr/local
> sudo cp -r install/lib /usr/local
> sudo ldconfig
>
> Then compile GDAL.
>
> See you soon,
>
> Jorge
>
> On 09/03/20 08:20, matteo wrote:
>
>> Hi all,
>>
>> I've complied QGIS against GDAL 3.0.4 but when I try to export a geopdf
>> it is still greyed out saying:
>>
>> GeoPDF creating requires GDAL version 3.0 or later
>>
>> this is the output of the terminal:
>>
>> matteo at debian:~/dev/build-qgis$ gdal-config --version
>> 3.0.4
>>
>> some suggestions?
>>
>> Thanks
>>
>> Matteo
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> J. Gustavo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200309/4fdb2f4f/attachment.html>
More information about the QGIS-Developer
mailing list