Collaborating in geospatial context since 2000!

Tuesday, February 10, 2009

GeoTIFF CTM in ASCII Art Glory

Did I mention that I love the GeoTIFF spec. Allow me to reproduce for you the ASCII art version of the section on it's CTM provision:

ModelTransformationTag
Tag = 34264 (85D8.H)
Type = DOUBLE
N = 16
Owner: JPL Cartographic Applications Group

This tag may be used to specify the transformation
matrix between the raster space (and its dependent
pixel-value space) and the (possibly 3D) model space.
If specified, the tag shall have the following
organization:

ModelTransformationTag = (a,b,c,d,e....m,n,o,p).

where

model image
coords = matrix * coords

|- -| |- -| |- -|
| X | | a b c d | | I |
| | | | | |
| Y | | e f g h | | J |
| | = | | | |
| Z | | i j k l | | K |
| | | | | |
| 1 | | m n o p | | 1 |
|- -| |- -| |- -|

Some of dat!

0 Comments:

Post a Comment

<< Home