]> git.openstreetmap.org Git - nominatim.git/commit
simplify very large polygons non used in addresses
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 14 Feb 2024 10:26:33 +0000 (11:26 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 27 Feb 2024 09:16:18 +0000 (10:16 +0100)
commit56201feb28d8393f26d683e65a42b4daaea8f895
tree96bcbb7ceffb016cce7bc9d2cc22ab8e53bfa9be
parentdc1baaa0af860b6effcb698db71431d850d3a303
simplify very large polygons non used in addresses

Polygons with rank_address = 0 are only used in search and (rarely)
for reverse lookup. Geometries do not need to be precise for that
because topology does not matter. OSM has some very large polygons
of natural features with sizes of more than 10MB. Simplify these
polygons to keep the database and indexes smaller.
lib-sql/functions/place_triggers.sql
lib-sql/functions/placex_triggers.sql
lib-sql/functions/utils.sql