#5183 closed enhancement (fixed)
topology.RemoveUnusedPrimitives(topology, bbox) function
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.3.0 |
Component: | topology | Version: | |
Keywords: | Cc: |
Description
It is sometimes useful to cleanup the topology by removing unused primitives (edges not binding areal TopoGeometries, nodes not binding lineal TopoGeometries).
This is for example implemented in QGIS PostGIS Topology Editor plugin: https://plugins.qgis.org/plugins/pgtopoeditor/
And is implemented in NIBIO's topo_update extension: https://gitlab.com/nibioopensource/pgtopo_update_sql/-/blob/910da58a375ae9454634538b6fa110167f655c41/src/sql/topo_update/function_02_cleanup_topology.sql
This ticket is to expose such a function in core PostGIS Topology for reuse by others.
See also #5180 for exposing a part of this function but specifically for edges only
Change History (4)
comment:1 by , 2 years ago
Milestone: | PostGIS Fund Me → PostGIS 3.3.0 |
---|---|
Status: | new → assigned |
comment:2 by , 2 years ago
comment:5 by , 2 years ago
In case someone landed here following the commit log in [ab58faa8bf7b95187d74179e78946e2284fb8b85/git] .. that commit log was bogus, the actual bug being fixed with that was #5185
Draft merge request: https://gitlab.com/postgis/postgis/-/merge_requests/84