Hello GDAL-DEV,

I apologize if this information is available somewhere in the GDAL
documentation, but I haven't been able to find an answer in that
documentation yet.

I am currently working on a routine to export PDFs. In addition to a
projection system -- from a WKT string -- I have geotransform data. The
PDFs that I'm producing have multiple pages and each page can have
different geotransform data. The projection system is common to all pages
of the PDF. But, I'm not sure how to correctly write this information to
the PDF because I'm not sure of how the primary and sub datasets are
supposed to relate in terms of geolocation information.

I stumbled on the following GDAL article
<https://medium.com/@robsimmon/a-gentle-introduction-to-gdal-part-8-reading-scientific-data-formats-1a1f70d5388c>.
This article seems to imply that when a file contains subdatasets,
geolocation information of the primary dataset is basically irrelevant.
This would imply that I should just write all my geolocation information --
projection system and geotransform -- to each subdataset of my PDF and not
write anything in the primary dataset.

Is my understanding correct? Should I skip geolocating the primary dataset
and just geolocate each subdataset with my projection system and
geotransform information? Or is there some information that I'm expected to
write to the primary dataset as well?


-- 
David Klaus
Carlson Software

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to