pyrsgis - Python for Remote Sensing and GIS author: pratkrt<at>gmail.com Compatible with Python versions 3+
pyrsgis API reference¶
Reading and exporting GeoTIFFs¶
|
Read raster file |
|
Export GeoTIFF file |
Clipping a raster¶
|
ds : datasource object |
|
Clip and export raster file in one go |
|
Trim raster array and modify ds |
|
Trim raster array to remove NoData value at the edge |
|
Trim and export raster file |
Shifting a raster¶
|
Shift the datasource of a raster file |
|
Shift and export raster file in one go |
Reshaping GeoTIFF array for statistical analysis¶
Convert 2D or 3D array to table |
|
|
Convert tablar array to 2D or 3D array |
|
Convert raster to a tabular CSV file |
|
Convert a CSV file to raster |
Creating image chips for deep learning¶
|
Image chips from raster array |
|
Image chips from 2D array |
|
Image chips from raster file |
Generating northing and easting raster¶
|
Generate row and column number arrays |
Generate arrays with cell latitude and longitude value. |
|
|
Generate northing raster using a reference .tif file |
|
Generate easting raster using a reference .tif file |