<html><head><style type="text/css">.style1 {font-family: "Times New Roman";}</style></head><body><div dir="ltr"><div dir="ltr">Hello GDAL-DEV,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>I stumbled on the following <a href="https://medium.com/@robsimmon/a-gentle-introduction-to-gdal-part-8-reading-scientific-data-formats-1a1f70d5388c">GDAL article</a>. 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.</div><div><br></div><div>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?</div></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">David Klaus<div>Carlson Software</div></div></div></div>
<br><br><p style="font-family: Verdana; font-size:10pt; color:#777777;"><b>Disclaimer</b></p><p style="font-family: Verdana; font-size:8pt; color:#777777;">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.</p></body></html>