From my experience, setting the georeference but leaving the transform blank will cause applications like GlobalMapper to fail reading the file (I noticed that with jp2k but I suppose it will happen with NITF as well).
Sent from my mobile Yehiyam ----------------------------- From: "cobalto" Subject: [gdal-dev] Re: GetProjectionRef() difference 1.8 vs 1.7.2 Date: 15 פברואר 2011 03:29 > You can still force compute an approximate > geotransform by calling GDALGCPsToGeoTransform( nGCPCount, psGCPs, > adfGeoTransform, TRUE ). And the projection can indeed be fetched by > GDALGetGCPProjection() when GCPs are returned instead of a geotransform. > These NITFs contain RPCs, so I mostly am unconcerned with the geotransform, exact or approximated. However, proper interpretation of the RPCs requires knowledge of the projection reference. In these cases, it seems somewhat circuitous to look for a projection reference among the GCPs. If GDALGCPsToGeoTransform() fails to return a geotransform, would there be any reason not to set the projection reference to the GCP projection (but to still have GetGeoTransform() return CE_Failure)? Is the dataset projection reference ever set to something different than the GCP Projection? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GetProjectionRef-difference-1-8-vs-1-7-2-tp6024512p6025941.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev a ********************************************************************************************** This message (including any attachments) issued by RAFAEL- ADVANCED DEFENSE SYSTEMS LTD. (hereinafter "RAFAEL") contains confidential information intended for a specific individual and purpose, may constitute information that is privileged or confidential or otherwise protected from disclosure. If you are not the intended recipient, you should contact us immediately and thereafter delete this message from your system. You are hereby notified that any disclosure, copying, dissemination, distribution or forwarding of this message, or the taking of any action based on it, is strictly prohibited. If you have received this e-mail in error, please notify us immediately by e-mail mailto:law...@rafael.co.il and completely delete or destroy any and all electronic or other copies of the original message and any attachments thereof. **********************************************************************************************
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev