[gdal-dev] creation of Geospatial PDF

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Fri Jul 25 07:48:31 PDT 2014


Even Rouault <even.rouault <at> mines-paris.org> writes:


> > ogr2ogr -f PDF trentino.pdf zps_trento.shp grafo.shp
> > FAILURE: Couldn't fetch requested layer 'grafo.shp'!
> 
> That's an invalid syntax for ogr2ogr. Only accept one only datasource.
> In your example you could just move the 2 shapefiles into a new directory
> "blabla"
> 
> and then
> 
> ogr2ogr -f PDF trentino.pdf blabla
> 
> Another (more complicated) option would be to use a OGR VRT that would
reference
> to your various input layers.

This document should be still valid despite perhaps the download links for
getting OSM data. The idea of combining different layers into one datasource
with VRT is described in details.
http://latuviitta.org/documents/Geospatial_PDF_maps_from_OSM_with_GDAL.pdf

-Jukka Rahkonen-



More information about the gdal-dev mailing list