Repository navigation
Clean polygon geometry
Jip Claassens edited this page Jul 6, 2026
·
6 revisions
Cleaning a polygon geometry has two purposes:
-
get rid of unexpected lines in the visualisation of polygon items in map views, often due to coordinate conversions.
-
remove double coordinates to finish simplifying your geometry.
Cleaning a polygon geometry can be configured with the partitioned_union_polygon (dissolve by attribute) function, see example:
attribute<LatLong_mdegrees> Geometry_mdegrees_clean (polygon, domain) :=
partitioned_union_polygon(Geometry_mdegrees, id(domain));
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.