GeoTiff#

#

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.

函数#

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

小心

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)

从Geotiff中读取头文件信息

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, ...)

保存切块的区域为Geotiff文件