Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread matteo
Hi,

that's the strange thing, my output looks exactly like your:

> gdalinfo --formats | grep -i pdf
> 
> doesn't read like 
> 
>  PDF -raster,vector- (rw+vs): Geospatial PDF

matteo@debian:~$ gdalinfo --formats | grep -i pdf
  PDF -raster,vector- (rw+vs): Geospatial PDF

this is becoming really weird...

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

Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread Andreas Neumann
Hi Matteo, 

if the output of 


gdalinfo --formats | grep -i pdf

doesn't read like  

PDF -raster,vector- (rw+vs): Geospatial PDF 

then yes, you'd need to compile GDAL/OGR yourself. 

Andreas 


On 2020-03-09 10:57, matteo wrote:


I compiled it with poppler

./configure --with-python=python3 --with-proj=/usr/local --with-pg=yes
--with-poppler


so gdal should be manually compiled to enable geopdf?

Cheers

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___
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

Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread matteo
> I compiled it with poppler
> 
> ./configure --with-python=python3 --with-proj=/usr/local --with-pg=yes
> --with-poppler

so gdal should be manually compiled to enable geopdf?

Cheers

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

Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread Andreas Neumann
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

Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread matteo
Hi Jorge,

> My gdalinfo returns:
> 
> gdalinfo --formats | grep -i pdf
>   PDF -raster,vector- (rw+vs): Geospatial PDF
> 
> Can you check your's gdalinfo --formats output?

same for me

matteo@debian:~$ gdalinfo --formats | grep -i pdf
  PDF -raster,vector- (rw+vs): Geospatial PDF

> Did you compile it? I compile gdal myself and I use the option:
> --with-pdfium=/usr/local

no just updated from debian sid packages, so standard one. I just
compiled QGIS as usual.

GDAL and OGR algorithms seem to work fine, geopdf is not available...

> 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.

Cheers and 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

Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread Jorge Gustavo Rocha
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
-- 
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Gabinete 3.29 (Piso 3)
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor
___
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

Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread Andreas Neumann
Hi, 


Strange. I also compiled against GDAL/OGR 3.04 - and it is not greyed
out. 


However, I have an older QGIS version and an older qt version (5.9.5)
than you. Not sure if that matters. 

Andreas 


On 2020-03-09 09:32, matteo wrote:


Hi Andreas,


In the QGIS About dialogue - does it also say that QGIS was built with
GDAL 3.0.4?

Just to make sure that there aren't multiple GDAL versions on your
system and QGIS could be linked against an older version?


yep:

QGIS version
3.13.0-Master
QGIS code revision
0f229208a7
Compiled against Qt
5.12.5
Running against Qt
5.12.5
Compiled against GDAL/OGR
3.0.4
Running against GDAL/OGR
3.0.4
Compiled against GEOS
3.8.0-CAPI-1.13.1
Running against GEOS
3.8.0-CAPI-1.13.1
Compiled against SQLite
3.31.1
Running against SQLite
3.31.1
PostgreSQL Client Version
12.2 (Debian 12.2-1)
SpatiaLite Version
4.3.0a
QWT Version
6.1.4
QScintilla2 Version
2.11.2
Compiled against PROJ
6.3.1
Running against PROJ
Rel. 6.3.1, February 10th, 2020
OS Version
Debian GNU/Linux bullseye/sid___
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

Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread matteo
Hi Andreas,

> In the QGIS About dialogue - does it also say that QGIS was built with
> GDAL 3.0.4?
> 
> Just to make sure that there aren't multiple GDAL versions on your
> system and QGIS could be linked against an older version?

yep:


QGIS version
3.13.0-Master
QGIS code revision
0f229208a7
Compiled against Qt
5.12.5
Running against Qt
5.12.5
Compiled against GDAL/OGR
3.0.4
Running against GDAL/OGR
3.0.4
Compiled against GEOS
3.8.0-CAPI-1.13.1
Running against GEOS
3.8.0-CAPI-1.13.1
Compiled against SQLite
3.31.1
Running against SQLite
3.31.1
PostgreSQL Client Version
12.2 (Debian 12.2-1)
SpatiaLite Version
4.3.0a
QWT Version
6.1.4
QScintilla2 Version
2.11.2
Compiled against PROJ
6.3.1
Running against PROJ
Rel. 6.3.1, February 10th, 2020
OS Version
Debian GNU/Linux bullseye/sid


___
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

Re: [QGIS-Developer] GeoPDF not available with GDAL 3.0.4

2020-03-09 Thread Andreas Neumann
Hi Matteo, 


In the QGIS About dialogue - does it also say that QGIS was built with
GDAL 3.0.4? 


Just to make sure that there aren't multiple GDAL versions on your
system and QGIS could be linked against an older version? 

Andreas 


On 2020-03-09 09: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___
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