[gdal-dev] How to write many raster layers into PDF?
Even Rouault
even.rouault at mines-paris.org
Thu Aug 30 00:42:59 PDT 2012
Selon Jukka Rahkonen <jukka.rahkonen at mmmtike.fi>:
> Hi,
>
> Is there a way to write several raster images into geospatial PDF so that
> they
> would appear as own selectable layers in the resulting PDF? With extra vector
> layers it is possible be making a .vrt file combines the original layers into
> one OGR_DATASOURCE. Does this work somehow also with raster sources and if it
> does, could it be possible to see a simple example?
No, this isn't currently possible. You can merge several raster images into one
single one before transforming to PDF, but that's not what you are looking
for. There is also the possibility of inserting non-georeferenced images with
the EXTRA_IMAGES option. That could be possibly used to add another
georeferenced image if you manage to find the right offset values.
There would be some difficulties in implementing a EXTRA_DATASETS option. Mainly
to deal with possible different projections and/or different georeferenced
extents. For example, when inputs are in different projections and/or have
different extent, should they be reprojected/mosaiced to overlap on each other,
with a common georeferencing, or should they be handled as map insets (a bit
like Hawaï is represented in a USA map), each one with its own georeferencing
info. Nothing that can't be solved, but would need some work.
>
> -Jukka Rahkonen-
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
More information about the gdal-dev
mailing list