GEOTIFF files are stored in a chunk-based format composed of chunks running along the x and y axis (latitude and longitude). Loads the specified chunk of the GEOTIFF into a <Float32Array>.
static int32 LoadGeotiffChunk( string path, GdalDataSet dataset, int32 p_nChunkX, int32 p_nChunkY, Float32Array dst )
Parameter Type | Parameter Name | Documentation |
---|---|---|
string | path | The absolute path to the GEOTIFF file on the hard disk. |
<GdalDataSet> | dataset | A pointer to the dataset to store GEOTIFF metadata. |
int32 | p_nChunkX | The chunk location on the x axis. |
int32 | p_nChunkY | The chunk location on the y axis. |
<Float32Array> | dst | A pointer to the <Float32Array> that stores the chunk's elevation data. |
None published. Please look for an example in the Scenome Scripting Language code base.