[PostGIS] #5996: ST_FilterHolesByArea

PostGIS trac at osgeo.org
Tue Oct 14 07:10:20 PDT 2025


#5996: ST_FilterHolesByArea
----------------------+---------------------------
  Reporter:  pramsey  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.7.0
 Component:  postgis  |    Version:  3.5.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by dbaston):

 I was thinking of adding "remove small parts" to GEOS, it's commonly-
 needed as a follow-up to aggressive coverage simplification:

 [[Image(https://private-user-
 images.githubusercontent.com/6318931/500986049-4b4caec7-823d-4697-a5a8-05dd625113b2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjA0NTExNTUsIm5iZiI6MTc2MDQ1MDg1NSwicGF0aCI6Ii82MzE4OTMxLzUwMDk4NjA0OS00YjRjYWVjNy04MjNkLTQ2OTctYTVhOC0wNWRkNjI1MTEzYjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MTAxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTEwMTRUMTQwNzM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDFmYjQ0MzEyZmRiOTA2ZDE5MzM2ODI3OWFjN2NmOWQ4ZWE1YWVlNTFhNDk4NWZkZTg5ZjYxNzYxNDI3MDA0MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.6uTAVnhxvp46QUokBh6XXGHuZ229J6mfouyS6RYSFzo)]]

 Hole removal would really need to be integrated into coverage
 simplification itself, since we need to know if some other polygon is
 occupying the hole.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5996#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list