[Gdal-dev] NITF ICHIPB Extension?

Frank Warmerdam fwarmerdam at gmail.com
Fri Dec 10 16:12:08 EST 2004


On Fri, 10 Dec 2004 14:26:42 -0500, William Lyons
<wlyons at prologic-inc.com> wrote:
> I agree.  But, the chips I'm working with are rotated.  Which leads me
> to another question about the geo-transform.  I'm assuming that the
> values at indices 2 and 4 are how I would define a rotation.  My
> assumption is that the value at index 2 is a ratio of change in x as
> line increases and the value at index 4 is a ratio of change in y as
> pixel increases.  Please tell me I'm wrong and there's an easier way so
> I don't have to calculate these for a rotated chip.

William,

Yes, that is correct, at least roughly. 

I would suggest you just derive corner GCPs and then use the
GDALGCPsToGeoTransform() to compute the correct geotransform. 

  http://www.gdal.org/gdal_8h.html#a86

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