[gdal-dev] Simple Extraction of GCPs from metadata and reprojection

mattia mattia.parigiani at gmail.com
Tue Feb 19 14:53:34 EST 2008


This will probably sound simple to some of the folks, but its still a matter
of confusion for me..

I have a GTif file with the following metadata as from gdalinfo utility (in
a few a lines):

I would appreciate if anyone could help me in telling me how I can possibly
derive 4 GCPs using the
GRINGPOINTLATITUDE, GRINGPOINTLONGITUDE metadata fields or possibly the
metadata in:
  EASTBOUNDINGCOORDINATE=134.930768655651
  WESTBOUNDINGCOORDINATE=88.3307203917252
  NORTHBOUNDINGCOORDINATE=64.7989342568829
  SOUTHBOUNDINGCOORDINATE=20.7060304288409

I just dont get what kind of calculations / transformations are required to
be done in order to derive the GCPs for reprojection...

gdalinfo output:

Driver: GTiff/GeoTIFF
Files: out.tif
Size is 1354, 4630
Coordinate System is `'
Metadata:
  RANGEBEGINNINGDATE=2007-01-04
  RANGEBEGINNINGTIME=03:53:46.531545
  RANGEENDINGDATE=2007-01-04
  RANGEENDINGTIME=04:05:10.447733
  DAYNIGHTFLAG=Day
  GRINGPOINTLATITUDE.1=64.763542175293, 58.4916687011719, 20.8642158508301,
24.1079616546631
  GRINGPOINTLONGITUDE.1=91.4718399047852, 134.930770874023, 110.696083068848,
88.3426055908203
  AveragedBlackBodyTemperature=290.0179
  AveragedMirrorTemperature=279.4261
  AveragedFocalPlane1Temperature=270.9242
  AveragedFocalPlane2Temperature=271.1122
  AveragedFocalPlane3Temperature=83.35484
  AveragedFocalPlane4Temperature=83.02042
  QAPERCENTMISSINGDATA.1=0
  QAPERCENTMISSINGDATA.2=0
  QAPERCENTINTERPOLATEDDATA.1=0
  QAPERCENTINTERPOLATEDDATA.2=0
  QAPERCENTOUTOFBOUNDSDATA.1=40
  QAPERCENTOUTOFBOUNDSDATA.2=0
  EASTBOUNDINGCOORDINATE=134.930768655651
  WESTBOUNDINGCOORDINATE=88.3307203917252
  NORTHBOUNDINGCOORDINATE=64.7989342568829
  SOUTHBOUNDINGCOORDINATE=20.7060304288409
  PGE_Version=3.0.0
  ASSOCIATEDPLATFORMSHORTNAME.1=Terra
  Satellite=Terra
  Number of Scans=463
  Number of Day mode scans=463
  Number of Night mode scans=0
  Incomplete Scans=1
  Max Earth View Frames=1354


Thanks in advance

-- 
Mattia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080219/221384ff/attachment.html


More information about the gdal-dev mailing list