Poly to grid to (simplified) polygon
configuration-examples Poly to grid to (simplified) polygon
This script can be used for two use cases:
-
To simplify a polygon dataset while maintaining the topology. This means linestrings in use for multiple polygons are simplified in the same manner, resulting in a polygonset with the same topology as the source dataset (The bg_simplify_polygon and bg_simplify_multi_polygon functions do not guarantee maintaining the topology).
-
To make a set of (simplified) polygons of adjacent grid cells with the same values.
download
examples
In the examples container of this script, you find different options:
- simplify_gridsize: simplifies the source data with the size of the grid. In this container you find options with gridsizes of 500 and 100 meter as spoint and 10 meter as ipoint.
- simplify_m10: simplifies the source data with as simplify factor 10 meter. In this container you find options with gridsizes of 500 and 100 meter as spoint and 10 meter as ipoint.
- simplify_m0: simplifies the source data with as simplify factor 0 meter. This means only intermediate points in straight lines are removed, as they have no effect on the shape of the feature. In this container you find options with gridsizes of 500 and 100 meter as spoint and 10 meter as ipoint.
The resulting polygons in the rijksdriehoek coordinates can be requested with the item:
examples/simplify_size/dsize_i_s_point/SimplifiedPolygons/Results/geometry.