On 17 April 2015 at 13:27, Even Rouault <[email protected]> wrote: > Le vendredi 17 avril 2015 13:11:15, Luca Delucchi a écrit : >> On 13 April 2015 at 13:25, Luca Delucchi <[email protected]> wrote: >> > Hi all, >> >> Hi devs, >> some updates >> >> > 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 >> >> Now I'm able but I'm still not able to read it with GDAL, my example >> is here [2], > > The link doesn't work. >
sorry, http://geodati.fmach.it/gfoss_geodata/prova.pdf >> maybe some Creation Options is missing? >> Also If I'm using gdal_translate after that I'm not able to read with >> gdalinfo >> >> gdal_translate -of PDF ../STEM/data/OFD/060140_ravina_OFD.tif my.pdf >> gdalinfo my.pdf >> >> ERROR 4: `my.pdf' not recognised as a supported file format. > > Can the file be opened in a PDF reader ? If so, check that your GDAL is built > against libpoppler or libpodofo. That's required for the reading side. > Yes the PDF reader can open the file, my GDAL version should be build against libpoppler and libpodofo Poppler support: yes Podofo support: yes > > The style is attached to each feature. > ok >> >> What is the suggested way to create GeospatialPDF with raster and >> styled vector together? > > gdal_translate (or CreateCopy) with the OGR_DATASOURCE creation option that > points to a vector file. > ok > Did you have a look at Jukka's excellent tutorial ? (the link is at the bottom > of http://gdal.org/frmt_pdf.html): > http://latuviitta.org/documents/Geospatial_PDF_maps_from_OSM_with_GDAL.pdf > yes, but I hoped to find another way without use VRT Thanks for the support > Even > -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
