Geo Tiff Geo Reference
class GeoTiffGeoReference
Maps between a GeoTIFF's raster grid and geodetic coordinates.
Raster space is continuous with integers on pixel corners: (0.0, 0.0) is the north-west corner of the first pixel and (0.5, 0.5) its centre. That matches how the engine addresses tile texels (see AbstractTiledElevationCoverage.fetchTileBlock), so the resampler can treat both grids the same way.
Properties
Functions
Link copied to clipboard
Convert geodetic degrees to a continuous raster coordinate, writing [x, y] into result. Returns false when the point can't be projected into model space.
Link copied to clipboard
Convert a continuous raster coordinate to geodetic degrees, writing [latitude, longitude] into result. Returns false when the projection rejects the point (outside its valid domain).