[gdal-dev] create GeospatialPDF using Python

Luca Delucchi lucadeluge at gmail.com
Mon Apr 13 04:25:23 PDT 2015


Hi all,

I'm trying to create a new GeospatialPDF using Python.

I should be able to create GeospatialPDF with vector, raster and both.

For vector it seems quite simple, just writing a new vector and insert
all features but I'm not able to create it, my code [0] is not
returning any error but I cannot find the output file

For raster should I use CreateCopy? I was able to create a PDFand see
it with a PDF viewer but GDAL doesn't identify it as GeospatialPDF
[1].
Should I add a "Creation Options" of GeospatialPDF driver?

To create a GeospatialPDF with raster and vector (on top of raster)
should I use gdal driver and use "Creation Options" to add the other
layers?
How the "Creation Options" should be passed to CreateCopy?

Thanks
Luca

[0] http://pastebin.com/V8aNqWXD
[1] http://pastebin.com/gNu2gbtF

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the gdal-dev mailing list