shapely.snap
How Shapely runs Snap: shapely.snap.
| Engine | Shapely |
|---|---|
| Tool name | shapely.snap |
| Interface | python |
| Implements | Snap |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
geometry | any | yes | Not stated | Not stated | Not stated |
reference | any | yes | Not stated | Not stated | Not stated |
tolerance | any | yes | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | geometry | Not stated |
reference | reference | Not stated |
tolerance | tolerance | Not stated |
unit | Not stated | always crs-units |
Differences from the operation
- Snaps to the reference's vertices and edges (GEOS); one geometry against one reference geometry.
Harvested by the python-libs harvester from engine version
2.2.0. Names can change when an engine is harvested again.