Polygons To Lines
The outlines of polygons as line features.
Pitfall. Shared edges between neighbouring polygons appear once per polygon unless the engine builds a topology.
| Also called | Polygon To Line, boundary, outline |
|---|---|
| Group | vector/geometry |
| Checks | geometry.valid |
| Pitfalls | 1 listed above |
| Columbus tool | Not stated |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
Not stated
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | layer | vector | polygon | Not stated |
| Output | output | vector | line | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
apache-sedona | sedona.sql.ST_Boundary |
|
|
geopandas | geopandas.GeoSeries.boundary | Not stated |
|
grass | v.type |
|
Preset: {"from_type":"boundary","to_type":"line"} |
postgis | st_boundary |
| None noted |
qgis | native:polygonstolines |
| None noted |
sf | sf::st_boundary |
| None noted |
shapely | shapely.boundary |
|
|
turf-js | turf.polygonToLine |
|
|
whiteboxtools | PolygonsToLines |
| None noted |