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@debian:~/dev/build-qgis$ gdal-config --version
3.0.4

some suggestions?

Thanks

Matteo
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

J. Gustavo
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to