]> git.openstreetmap.org Git - nominatim.git/commit
add explicit bbox contains check
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 19 Oct 2020 08:39:01 +0000 (10:39 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 19 Oct 2020 08:39:01 +0000 (10:39 +0200)
commitbf4d75458c6edf1fb957a8600aa6718811bb52e3
tree60bafc56c58e8a92f7a7cb68dda05c0783e6fc17
parent3604d0d913ca99acd48f2f6d852e5971da8d8bae
add explicit bbox contains check

Now that the containment check uses ST_Relate, we need to add
a separate bbox contains check to ensure that Postgis does the
efficient check first. Note that we still cannot get rid of the
overlap(&&) check because then Postgis will use the wrong indexes.
sql/functions/placex_triggers.sql