reproject

gis.grid.reproject(gs, crs, out_dir=None, resample=0)

Reproject (warp) a grid.

Parameters

Name Type Description Default
gs GridSource Input object. required
crs str Coodinates reference system (projection). An accepted format is: EPSG:3857. required
out_dir Path | str Output directory. If not defined, if will be inferred from the input object. None
resample int Resampling method during warping. Interger corresponds with a resampling method defined by GDAL. For more information: click here. 0

Returns

Type Description
GridSource Output object. A lazy reading of the just creating raster file.
Back to top