wradlib.georef.vector.get_centroid¶
-
wradlib.georef.vector.get_centroid(polyg)¶ Return centroid of a polygon
- Parameters
polyg (
numpy.ndarray) – of shape (num vertices, 2) or ogr.Geometry object- Returns
out (x and y coordinate of the centroid)
wradlib.georef.vector.get_centroid(polyg)¶Return centroid of a polygon
polyg (numpy.ndarray) – of shape (num vertices, 2) or ogr.Geometry object
out (x and y coordinate of the centroid)