Create a PostGIS function to remove small holes in a multipolygon
$10-15 USD
Anulowano
Opublikowano prawie 12 lat temu
$10-15 USD
Płatne przy odbiorze
I need a PostGIS function to remove all rings smaller than a given area from a multipolygon geometry.
Function IN : multipolygon geometry, maximal area in m2
Function OUT : multipolygon geometry
Here is a similar function working for simple polygons, I need the same thing for a multipolygon:
[login to view URL]
Attached example : [login to view URL] / [login to view URL]
If I apply the function to the [login to view URL] :
UPDATE table SET geom = my_outer_function(geom, 100);
I should get the same result as in after.shp.