]> git.openstreetmap.org Git - nominatim.git/commit
clean up ST_DWithin and intersects() functions
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 5 Dec 2023 17:02:40 +0000 (18:02 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Dec 2023 08:31:00 +0000 (09:31 +0100)
commit615b166c6850c0fa2af2e370147b26b978be3659
tree75411699191f486cdf0cd44204f254bcc81d4450
parentc41f2fed2133668dc3179813261d39d3ff69cbdd
clean up ST_DWithin and intersects() functions

A non-index version of ST_DWithin is not necessary. ST_Distance
can be used for that purpose. Index use for intersects can be
covered with a simple parameter.
nominatim/api/reverse.py
nominatim/api/search/db_searches.py
nominatim/db/sqlalchemy_types/geometry.py