data_product module
Source code in d2spy/models/data_product.py
clip(geojson_feature, out_raster)
¶
Clips data product by GeoJSON Polygon Feature.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
geojson_feature
|
Dict[Any, Any]
|
GeoJSON Polygon Feature. |
required |
out_raster
|
str
|
Path for output raster. |
required |
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
True if successful. False if clip fails. |