Commit 7066ee0b authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

fixed missing function transform_any_prj() that was caused by a copy paste error

- transform_any_prj(): bugfix for wring function name -> renamed from 'c' to 'transform_any_prj'

- warp_ndarray:  added documentation for some keywords
parent f85fd326
......@@ -76,7 +76,7 @@ def transform_wgs84_to_utm(lon, lat, zone=None):
return UTM(lon, lat)
def c(prj_src,prj_tgt,x,y):
def transform_any_prj(prj_src,prj_tgt,x,y):
"""Transforms X/Y data from any source projection to any target projection.
:param prj_src: GDAL projection as WKT string or EPSG code ('epsg:1234' or <EPSG_int>)
......@@ -227,10 +227,10 @@ def warp_ndarray(ndarray, in_gt, in_prj, out_prj=None, out_dtype=None, out_gsd=(
transformerOptions=None, warpOptions=None, CPUs=1, progress=True, q=False):
:param ndarray:
:param in_gt:
:param in_prj:
:param out_prj:
:param ndarray: the numpy array to be warped
:param in_gt: input GDAL geotransform
:param in_prj: input GDAL projection (WKT string, 'EPSG:1234', <EPSG_int>)
:param out_prj: output GDAL projection (WKT string, 'EPSG:1234', <EPSG_int>)
:param out_dtype: gdal.DataType
:param out_gsd:
:param out_bounds: [xmin,ymin,xmax,ymax] set georeferenced extents of output file to be created,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment