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