NDEVR
API Documentation
GeoTiffInfo

Stores parsed GeoTIFF metadata including projection, tiepoints, and raster dimensions. More...

Collaboration diagram for GeoTiffInfo:
[legend]

Public Member Functions

bool isMultispectral () const
 Checks whether this GeoTIFF contains multispectral data.
bool isOrthophoto () const
 Checks whether this GeoTIFF represents an orthophoto.
Vertex< 3, fltp08pixelToCoord (fltp08 col, fltp08 row, fltp08 z=0.0) const
 Converts pixel coordinates to geographic or projected coordinates.
Vertex< 3, fltp08pixelToMeters (fltp08 col, fltp08 row, fltp08 z=0.0) const
 Converts pixel coordinates to meters, handling geographic CRS via UTM.

Public Attributes

Buffer< Stringband_descriptions
 Descriptive names for each band.
uint16_t bits_per_sample = 0
 The number of bits per sample.
uint02 elevation_band_index = Constant<uint02>::Invalid
 The band index containing elevation data.
uint04 geographic_type = Constant<uint04>::Invalid
 The geographic coordinate system EPSG code.
bool has_pixel_scale = false
 Whether pixel scale tags were present.
bool has_tiepoints = false
 Whether tiepoint tags were present.
bool has_transformation = false
 Whether a transformation matrix tag was present.
uint04 height = 0
 The image height in pixels.
fltp08 invalid_val
 The no-data or invalid value for elevation data.
Buffer< Vertex< 3, fltp08 > > model_tiepoints
 Model-space tiepoint coordinates.
Matrix< fltp08model_transformation
 The full 4x4 model transformation matrix.
uint04 model_type = Constant<uint04>::Invalid
 The GeoTIFF model type (projected, geographic, or geocentric).
Vector< 3, fltp08pixel_scale = Constant<Vector<3, fltp08>>::Invalid
 The pixel scale in X, Y, Z.
uint04 projected_cs_type = Constant<uint04>::Invalid
 The projected coordinate system EPSG code.
Buffer< Vertex< 3, fltp08 > > raster_tiepoints
 Raster-space tiepoint coordinates.
uint04 raster_type = Constant<uint04>::Invalid
 The raster type (pixel-is-area or pixel-is-point).
uint16_t sample_format = 0
 The sample data format (unsigned, signed, float).
uint16_t samples_per_pixel = 0
 The number of samples (bands) per pixel.
UUID source_projection = Constant<UUID>::Invalid
 The UTM projection UUID for geographic CRS conversion.
uint04 width = 0
 The image width in pixels.

Detailed Description

Stores parsed GeoTIFF metadata including projection, tiepoints, and raster dimensions.


Definition at line 45 of file GeoTiffFactory.h.

Member Function Documentation

◆ isMultispectral()

bool GeoTiffInfo::isMultispectral ( ) const

Checks whether this GeoTIFF contains multispectral data.

Returns
True if the image has multiple spectral bands.

◆ isOrthophoto()

bool GeoTiffInfo::isOrthophoto ( ) const

Checks whether this GeoTIFF represents an orthophoto.

Returns
True if the image is an orthophoto.

◆ pixelToCoord()

Vertex< 3, fltp08 > GeoTiffInfo::pixelToCoord ( fltp08 col,
fltp08 row,
fltp08 z = 0.0 ) const

Converts pixel coordinates to geographic or projected coordinates.

Parameters
[in]colThe pixel column.
[in]rowThe pixel row.
[in]zThe elevation value.
Returns
The corresponding 3D coordinate.

◆ pixelToMeters()

Vertex< 3, fltp08 > GeoTiffInfo::pixelToMeters ( fltp08 col,
fltp08 row,
fltp08 z = 0.0 ) const

Converts pixel coordinates to meters, handling geographic CRS via UTM.

Parameters
[in]colThe pixel column.
[in]rowThe pixel row.
[in]zThe elevation value.
Returns
The corresponding 3D coordinate in meters.

The documentation for this struct was generated from the following file: