Format:GeoTIFF
| Magic | TIFF header; GeoKeyDirectory tag 34735 present |
|---|---|
| Extensions | .tif, .tiff, .gtif |
| Endianness | either (TIFF) |
| On this wiki | Facts · Code · Notes · Topics |
A TIFF file that carries georeferencing in private tags: ModelPixelScale 33550, ModelTiepoint 33922, ModelTransformation 34264, GeoKeyDirectory 34735, GeoDoubleParams 34736 and GeoAsciiParams 34737. Common in satellite imagery, elevation models and map tiles embedded by GIS and game tools.
Overview
GeoTIFF adds no new container: it is a normal Format:TIFF (classic or BigTIFF) with extra tags. To identify one, look for tag 34735 in an image file directory.
Tags
| Tag | Name | Type |
|---|---|---|
| 33550 | ModelPixelScaleTag (registered to SoftDesk) | DOUBLE |
| 33922 | ModelTiepointTag | DOUBLE |
| 34264 | ModelTransformationTag (replaces the older Intergraph 33920) | DOUBLE |
| 34735 | GeoKeyDirectoryTag | SHORT |
| 34736 | GeoDoubleParamsTag | DOUBLE |
| 34737 | GeoAsciiParamsTag | ASCII |
See Fact:GeoTIFF/enum/Georeferencing TIFF tags.
GeoKey directory
Tag 34735 is an array of SHORT values: a 4-short header (GeoTIFF version, key revision, minor revision, number of keys) followed by one 4-short entry per key: key id, the TIFF tag that holds the value (0 if the value is stored directly in the entry), the value count, and the value or offset. Values that are doubles live in tag 34736 and strings in tag 34737. See Fact:GeoTIFF/struct/GeoKey directory.
Code & repositories
libgeotiff (MIT or public domain).
- https://github.com/OSGeo/libgeotiff @
75cfca539667c6483e796b24b78ecef72e311a1a· license: MIT (declared by the contributor; GitHub's detector did not recognize a license file)
Reference GeoTIFF library; libgeotiff/libxtiff/xtiffio.h lists the tags and geo_keyp.h the key directory
Tested on: source read, not run: source read only · checked 2026-10-19; last activity 2026-08-11; Note: the latest release ships binaries; the wiki links only the source, never the binaries