GeoTiff#

Class#

A summary of class easyidp.pointcloud.GeoTiff, can be simple accessed by easyidp.GeoTiff

GeoTiff([tif_path])

A GeoTiff class, consisted by header information and file path to raw file.

Functions#

This module (easyidp.geotiff) also contains the following standard-alone functions for preocessing GeoTiff file directly.

Caution

The easyidp.GeoTiff class is an advanced wrapper around the following functions, which is generally sufficient for most simple application cases, please don’t use the following functions unless you really need them.

get_header(tif_path)

Read the necessary meta infomation from TIFF file

get_imarray(tif_path)

Read full map data as numpy array (time and RAM costy, not recommended, often requires 4 x file_size of RAM)

geo2pixel(points_hv, header[, return_index])

Convert point cloud xyz coordinate to geotiff pixel coordinate (horizontal, vertical)

pixel2geo(points_hv, header)

Convert geotiff pixel coordinate (horizontal, vertical) to point cloud xyz coordinate (x, y, z)

tifffile_crop(page, top, left, h, w)

Extract a crop from a TIFF image file directory (IFD) by partial loading.

point_query(page, points_hv[, header])

Get the pixel value of given point(s)

save_geotiff(header, imarray, ...)

Save cropped region to geotiff file