Dear all,
I try to create a GeoPDF file with 2 layers:
1) Raster layer: a Geotiff image (*lena_rot.tif*) with a
ModelTransformationTag model, with respect to EPSG:4326.
The image has a rotation angle (~40° wrt to North).
2) Vector layer: the KML file (*rectangle.kml*) contains a single
rectangular
Oups sorry for my uncomplete message : "raw" tags are not well handled.
Below is the GDAL command I used to create my GeoPDF image:
gdal_translate.exe -of PDF --config LIBKML_RESOLVE_STYLE YES \
-co OGR_DATASOURCE=rectangle.kml \
-co LAYER_NAME=lena lena_rot.ti
Have you tested to include the OGR datasource in a VRT file instead,
with the LayerSRS tag defined?
Oups sorry for my uncomplete message : "raw" tags are not well handled.
Below is the GDAL command I used to create my GeoPDF image:
gdal_translate.exe -of PDF --config LIBKML_RESOLVE_STYLE YES \
Philippe,
the zip attachment didn't make its way to us but from what you're telling and
a look at the code, I can indeed see that when writing a raster with
rotational terms in the geotransform matrix, and vectors, the vector writing
part will not work correctly taking into account those rotati
Dear Even and Andreas,
thanks for your answers.
I did try with a VRT file, with the following :
* LayerSRS tag,
* use of OGRVRTWarpedLayer layer type
with no success.
In fact I was trying to avoid Even's advice : warp the original image to
make it "north up". But if I understand it correctly, I