FFmpeg
Macros | Variables
tiff_data.h File Reference

TIFF data tables. More...

#include "tiff.h"

Go to the source code of this file.

Macros

#define TIFF_CONF_KEY_ID_OFFSET   1024
 
#define TIFF_GEOG_KEY_ID_OFFSET   2048
 
#define TIFF_PROJ_KEY_ID_OFFSET   3072
 
#define TIFF_VERT_KEY_ID_OFFSET   4096
 
#define TIFF_GEO_KEY_UNDEFINED   0
 
#define TIFF_GEO_KEY_USER_DEFINED   32767
 
#define TIFF_GT_MODEL_TYPE_OFFSET   1
 
#define TIFF_GT_RASTER_TYPE_OFFSET   1
 
#define TIFF_LINEAR_UNIT_OFFSET   9001
 
#define TIFF_ANGULAR_UNIT_OFFSET   9101
 
#define TIFF_GCS_TYPE_OFFSET   4201
 
#define TIFF_GCSE_TYPE_OFFSET   4001
 
#define TIFF_GEODETIC_DATUM_OFFSET   6201
 
#define TIFF_GEODETIC_DATUM_E_OFFSET   6001
 
#define TIFF_ELLIPSOID_OFFSET   7001
 
#define TIFF_PRIME_MERIDIAN_OFFSET   8901
 
#define TIFF_COORD_TRANS_OFFSET   1
 
#define TIFF_VERT_CS_OFFSET   5001
 
#define TIFF_ORTHO_VERT_CS_OFFSET   5101
 

Variables

static const TiffGeoTagNameType tiff_conf_name_type_map []
 
static const TiffGeoTagNameType tiff_geog_name_type_map []
 
static const TiffGeoTagNameType tiff_proj_name_type_map []
 
static const TiffGeoTagNameType tiff_vert_name_type_map []
 
static const char *const tiff_gt_model_type_codes []
 
static const char *const tiff_gt_raster_type_codes []
 
static const char *const tiff_linear_unit_codes []
 
static const char *const tiff_angular_unit_codes []
 
static const char *const tiff_gcs_type_codes []
 
static const char *const tiff_gcse_type_codes []
 
static const char *const tiff_geodetic_datum_codes []
 
static const char *const tiff_geodetic_datum_e_codes []
 
static const char *const tiff_ellipsoid_codes []
 
static const char *const tiff_prime_meridian_codes []
 
static const TiffGeoTagKeyName tiff_proj_cs_type_codes []
 
static const TiffGeoTagKeyName tiff_projection_codes []
 
static const char *const tiff_coord_trans_codes []
 
static const char *const tiff_vert_cs_codes []
 
static const char *const tiff_ortho_vert_cs_codes []
 

Detailed Description

TIFF data tables.

Author
Thomas Kuehnel
See also
GeoTIFF specification at http://www.remotesensing.org/geotiff/spec/geotiffhome.html

Definition in file tiff_data.h.

Macro Definition Documentation

#define TIFF_CONF_KEY_ID_OFFSET   1024

Definition at line 35 of file tiff_data.h.

#define TIFF_GEOG_KEY_ID_OFFSET   2048

Definition at line 42 of file tiff_data.h.

#define TIFF_PROJ_KEY_ID_OFFSET   3072

Definition at line 60 of file tiff_data.h.

#define TIFF_VERT_KEY_ID_OFFSET   4096

Definition at line 88 of file tiff_data.h.

#define TIFF_GEO_KEY_UNDEFINED   0

Definition at line 96 of file tiff_data.h.

Referenced by get_geokey_val().

#define TIFF_GEO_KEY_USER_DEFINED   32767

Definition at line 97 of file tiff_data.h.

Referenced by get_geokey_val().

#define TIFF_GT_MODEL_TYPE_OFFSET   1

Definition at line 99 of file tiff_data.h.

#define TIFF_GT_RASTER_TYPE_OFFSET   1

Definition at line 106 of file tiff_data.h.

#define TIFF_LINEAR_UNIT_OFFSET   9001

Definition at line 112 of file tiff_data.h.

#define TIFF_ANGULAR_UNIT_OFFSET   9101

Definition at line 131 of file tiff_data.h.

#define TIFF_GCS_TYPE_OFFSET   4201

Definition at line 143 of file tiff_data.h.

#define TIFF_GCSE_TYPE_OFFSET   4001

Definition at line 280 of file tiff_data.h.

#define TIFF_GEODETIC_DATUM_OFFSET   6201

Definition at line 319 of file tiff_data.h.

#define TIFF_GEODETIC_DATUM_E_OFFSET   6001

Definition at line 443 of file tiff_data.h.

#define TIFF_ELLIPSOID_OFFSET   7001

Definition at line 482 of file tiff_data.h.

#define TIFF_PRIME_MERIDIAN_OFFSET   8901

Definition at line 521 of file tiff_data.h.

#define TIFF_COORD_TRANS_OFFSET   1

Definition at line 1818 of file tiff_data.h.

#define TIFF_VERT_CS_OFFSET   5001

Definition at line 1849 of file tiff_data.h.

#define TIFF_ORTHO_VERT_CS_OFFSET   5101

Definition at line 1885 of file tiff_data.h.

Variable Documentation

const TiffGeoTagNameType tiff_conf_name_type_map[]
static
Initial value:
= {
{"GTModelTypeGeoKey", GEOTIFF_SHORT },
{"GTRasterTypeGeoKey", GEOTIFF_SHORT },
{"GTCitationGeoKey", GEOTIFF_STRING}
}

Definition at line 36 of file tiff_data.h.

const TiffGeoTagNameType tiff_geog_name_type_map[]
static
Initial value:
= {
{"GeographicTypeGeoKey", GEOTIFF_SHORT },
{"GeogCitationGeoKey", GEOTIFF_STRING},
{"GeogGeodeticDatumGeoKey", GEOTIFF_SHORT },
{"GeogPrimeMeridianGeoKey", GEOTIFF_SHORT },
{"GeogLinearUnitsGeoKey", GEOTIFF_SHORT },
{"GeogLinearUnitSizeGeoKey", GEOTIFF_DOUBLE},
{"GeogAngularUnitsGeoKey", GEOTIFF_SHORT },
{"GeogAngularUnitSizeGeoKey", GEOTIFF_DOUBLE},
{"GeogEllipsoidGeoKey", GEOTIFF_SHORT },
{"GeogSemiMajorAxisGeoKey", GEOTIFF_DOUBLE},
{"GeogSemiMinorAxisGeoKey", GEOTIFF_DOUBLE},
{"GeogInvFlatteningGeoKey", GEOTIFF_DOUBLE},
{"GeogAzimuthUnitsGeoKey", GEOTIFF_SHORT },
{"GeogPrimeMeridianLongGeoKey", GEOTIFF_DOUBLE}
}

Definition at line 43 of file tiff_data.h.

const TiffGeoTagNameType tiff_proj_name_type_map[]
static
Initial value:
= {
{"ProjectedCSTypeGeoKey", GEOTIFF_SHORT },
{"PCSCitationGeoKey", GEOTIFF_STRING},
{"ProjectionGeoKey", GEOTIFF_SHORT },
{"ProjCoordTransGeoKey", GEOTIFF_SHORT },
{"ProjLinearUnitsGeoKey", GEOTIFF_SHORT },
{"ProjLinearUnitSizeGeoKey", GEOTIFF_DOUBLE},
{"ProjStdParallel1GeoKey", GEOTIFF_DOUBLE},
{"ProjStdParallel2GeoKey", GEOTIFF_DOUBLE},
{"ProjNatOriginLongGeoKey", GEOTIFF_DOUBLE},
{"ProjNatOriginLatGeoKey", GEOTIFF_DOUBLE},
{"ProjFalseEastingGeoKey", GEOTIFF_DOUBLE},
{"ProjFalseNorthingGeoKey", GEOTIFF_DOUBLE},
{"ProjFalseOriginLongGeoKey", GEOTIFF_DOUBLE},
{"ProjFalseOriginLatGeoKey", GEOTIFF_DOUBLE},
{"ProjFalseOriginEastingGeoKey", GEOTIFF_DOUBLE},
{"ProjFalseOriginNorthingGeoKey", GEOTIFF_DOUBLE},
{"ProjCenterLongGeoKey", GEOTIFF_DOUBLE},
{"ProjCenterLatGeoKey", GEOTIFF_DOUBLE},
{"ProjCenterEastingGeoKey", GEOTIFF_DOUBLE},
{"ProjCenterNorthingGeoKey", GEOTIFF_DOUBLE},
{"ProjScaleAtNatOriginGeoKey", GEOTIFF_DOUBLE},
{"ProjScaleAtCenterGeoKey", GEOTIFF_DOUBLE},
{"ProjAzimuthAngleGeoKey", GEOTIFF_DOUBLE},
{"ProjStraightVertPoleLongGeoKey", GEOTIFF_DOUBLE}
}

Definition at line 61 of file tiff_data.h.

const TiffGeoTagNameType tiff_vert_name_type_map[]
static
Initial value:
= {
{"VerticalCSTypeGeoKey", GEOTIFF_SHORT },
{"VerticalCitationGeoKey", GEOTIFF_STRING},
{"VerticalDatumGeoKey", GEOTIFF_SHORT },
{"VerticalUnitsGeoKey", GEOTIFF_SHORT }
}

Definition at line 89 of file tiff_data.h.

const char* const tiff_gt_model_type_codes[]
static
Initial value:
= {
"ModelTypeProjected",
"ModelTypeGeographic",
"ModelTypeGeocentric"
}

Definition at line 100 of file tiff_data.h.

const char* const tiff_gt_raster_type_codes[]
static
Initial value:
= {
"RasterPixelIsArea",
"RasterPixelIsPoint"
}

Definition at line 107 of file tiff_data.h.

const char* const tiff_linear_unit_codes[]
static
Initial value:
= {
"Linear_Meter",
"Linear_Foot",
"Linear_Foot_US_Survey",
"Linear_Foot_Modified_American",
"Linear_Foot_Clarke",
"Linear_Foot_Indian",
"Linear_Link",
"Linear_Link_Benoit",
"Linear_Link_Sears",
"Linear_Chain_Benoit",
"Linear_Chain_Sears",
"Linear_Yard_Sears",
"Linear_Yard_Indian",
"Linear_Fathom",
"Linear_Mile_International_Nautical"
}

Definition at line 113 of file tiff_data.h.

const char* const tiff_angular_unit_codes[]
static
Initial value:
= {
"Angular_Radian",
"Angular_Degree",
"Angular_Arc_Minute",
"Angular_Arc_Second",
"Angular_Grad",
"Angular_Gon",
"Angular_DMS",
"Angular_DMS_Hemisphere"
}

Definition at line 132 of file tiff_data.h.

const char* const tiff_gcs_type_codes[]
static

Definition at line 144 of file tiff_data.h.

const char* const tiff_gcse_type_codes[]
static

Definition at line 281 of file tiff_data.h.

const char* const tiff_geodetic_datum_codes[]
static

Definition at line 320 of file tiff_data.h.

const char* const tiff_geodetic_datum_e_codes[]
static

Definition at line 444 of file tiff_data.h.

const char* const tiff_ellipsoid_codes[]
static

Definition at line 483 of file tiff_data.h.

const char* const tiff_prime_meridian_codes[]
static
Initial value:
= {
"PM_Greenwich",
"PM_Lisbon",
"PM_Paris",
"PM_Bogota",
"PM_Madrid",
"PM_Rome",
"PM_Bern",
"PM_Jakarta",
"PM_Ferro",
"PM_Brussels",
"PM_Stockholm"
}

Definition at line 522 of file tiff_data.h.

const TiffGeoTagKeyName tiff_proj_cs_type_codes[]
static

Definition at line 536 of file tiff_data.h.

Referenced by get_geokey_val().

const TiffGeoTagKeyName tiff_projection_codes[]
static

Definition at line 1517 of file tiff_data.h.

Referenced by get_geokey_val().

const char* const tiff_coord_trans_codes[]
static
Initial value:
= {
"CT_TransverseMercator",
"CT_TransvMercator_Modified_Alaska",
"CT_ObliqueMercator",
"CT_ObliqueMercator_Laborde",
"CT_ObliqueMercator_Rosenmund",
"CT_ObliqueMercator_Spherical",
"CT_Mercator",
"CT_LambertConfConic_2SP",
"CT_LambertConfConic_Helmert",
"CT_LambertAzimEqualArea",
"CT_AlbersEqualArea",
"CT_AzimuthalEquidistant",
"CT_EquidistantConic",
"CT_Stereographic",
"CT_PolarStereographic",
"CT_ObliqueStereographic",
"CT_Equirectangular",
"CT_CassiniSoldner",
"CT_Gnomonic",
"CT_MillerCylindrical",
"CT_Orthographic",
"CT_Polyconic",
"CT_Robinson",
"CT_Sinusoidal",
"CT_VanDerGrinten",
"CT_NewZealandMapGrid",
"CT_TransvMercator_SouthOriented"
}

Definition at line 1819 of file tiff_data.h.

const char* const tiff_vert_cs_codes[]
static

Definition at line 1850 of file tiff_data.h.

const char* const tiff_ortho_vert_cs_codes[]
static
Initial value:
= {
"VertCS_Newlyn",
"VertCS_North_American_Vertical_Datum_1929",
"VertCS_North_American_Vertical_Datum_1988",
"VertCS_Yellow_Sea_1956",
"VertCS_Baltic_Sea",
"VertCS_Caspian_Sea"
}

Definition at line 1886 of file tiff_data.h.