[gdal-dev] gdal_translate help

Matthew Golczak mgolczak at yahoo.com
Tue Jun 23 06:52:05 EDT 2009


Hello,
I’m new to gdal concept and I’ll appreciate if you could help me. I’m trying to use gdal_translate to geo-referencing aerial images but with limited success so far. The image is generated as gif file plus   information about geo-location of each corner. Due to the fact that the corner geo-location is calculated based on GPS, the datum and projection is specified as EPSG:4326.
The following translation works very well for me 
gdal_translate -of GTiff -a_srs EPSG:4326 -gcp 0 0 138.792939 -34.721669 -gcp 1784 0 138.791485 -34.753698 -gcp 0 12515 138.519595 -34.713290 -gcp 1784 12515 138.518036 -34.745320  run.gif run.tiff
but I need also this image in nitif format  so I have tried  the following  translation 
gdal_translate -of nitf run1tiff run.nitf.  Unfortunately in this case  nitif file has not any geospatial references.  The gdalinof in regards to tiff contains geospatial information and none in respect to nitif.  It seems to me that is something wrong but what?
Any support in this matter highly appreciated.
Regards
maciek



      


More information about the gdal-dev mailing list