wradlib.zonalstats.ZonalDataPoly¶
- class wradlib.zonalstats.ZonalDataPoly(src, trg=None, buf=0.0, srs=None, **kwargs)¶
ZonalData object for source polygons
- Parameters:
- Keyword Arguments:
buf (
float
) – (same unit as coordinates) Polygons will be considered inside the target if they are contained in the buffer.srs (
osgeo.osr.SpatialReference
) – OGR.SpatialReference will be used for DataSource object. src and trg data have to be in the same srs-format
Examples
See ZonalData.
|
Output source/target grid points/polygons to ESRI_Shapefile |
|
Returns intersections |
|
Returns source indices referring to target polygon idx |
|
Load source/target grid points/polygons into in-memory Shapefile |
Returns number of intersections |
|
Returns intersections |
|
Returns SpatialReferenceSystem object |