sedona.sql.ST_Difference
How Apache Sedona runs Difference: sedona.sql.ST_Difference.
| Engine | Apache Sedona |
|---|---|
| Tool name | sedona.sql.ST_Difference |
| Interface | python |
| Implements | Difference |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
a | Union | yes | Not stated | Not stated | Not stated |
b | Union | yes | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | a | Not stated |
mask | b | Not stated |
Differences from the operation
- Per pair of geometries: union the mask first to subtract all of it.
- A Spark SQL function: arguments are columns or column names, run over a Spark DataFrame.
Harvested by the python-packages harvester from engine version
1.9.1. Names can change when an engine is harvested again.