[gdal-dev] to write earth coordinates into NITF image subheader

Frank Warmerdam warmerdam at pobox.com
Tue Oct 21 11:20:57 EDT 2008


Mo Wang wrote:
> Hi all,
> 
>  
> 
> There is a function called NITFReadBLOCKA_GCPs in nitfimage.c that can 
> read earth coordinates for image corner locations in the NITF image 
> subheader to provide higher precision. Is there a function that can 
> write higher precision earth coordinates into the NITF image subheader? 
> Is there an option in gdal_translate so that the earth coordinates can 
> be written into the NITF image subheader? Thanks in advance.

Mo,

Currently GDAL does not support creating a BLOCKA segment automatically
from GCPs.  If you know exactly what you are doing, you can create BLOCKA
segment but you need to pass the appropriate creation options when creating
the NITF file.  There is some documentation of this in:

   http://www.gdal.org/frmt_nitf.html

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list