]> git.openstreetmap.org Git - nominatim.git/commit
make sure invalid geometries are always deleted from place
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 29 Jun 2012 20:11:40 +0000 (22:11 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 29 Jun 2012 20:11:40 +0000 (22:11 +0200)
commit8ff0aabaf3e82e6bc99894e22d312ccc4b76529f
treeb965fec0000a3a3c90eeb53334c6a710045731dd
parentbd529c1f9d8ea547a0b41855147e4672f7d84b00
make sure invalid geometries are always deleted from place

This solves a bug with updating large invalid geometries. These
geometries have an entry in place but not in placex. Thus, place_insert
tries to delete the place entry and reinsert it on update. Deletion would
fail because self-intersecting polygons still have an area and large
areas are not deleted.
sql/functions.sql