GeoSeries.sample_points
How GeoPandas runs Random Points in Polygons: geopandas.GeoSeries.sample_points.
| Engine | GeoPandas |
|---|---|
| Tool name | geopandas.GeoSeries.sample_points |
| Interface | python |
| Implements | Random Points in Polygons |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
size | any | yes | Not stated | Not stated | Not stated |
method | string | no | uniform | Not stated | Not stated |
rng | any | no | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
count | size | Not stated |
seed | rng | Not stated |
Differences from the operation
- Returns one MultiPoint per row; method can also use pointpats' cluster processes.
Harvested by the python-libs harvester from engine version
1.2.0. Names can change when an engine is harvested again.