pin
gis.overlay.pin(band, gtf, point)
Pin a the value of a cell based on a coordinate.
Parameters
Name | Type | Description | Default |
---|---|---|---|
band |
Grid |
Input object. This holds a connection to the specified band. | required |
gtf |
tuple | The geotransform of a grid dataset. Can be optained via the get_geotransform method. Has the following shape: (left, xres, xrot, upper, yrot, yres). | required |
point |
tuple | x and y coordinate. | required |
Returns
Type | Description |
---|---|
array | A NumPy array containing one value. |