]> git.openstreetmap.org Git - nominatim.git/commit
simplify getNearestParallelRoadFeature function
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 26 Feb 2020 09:14:28 +0000 (10:14 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 26 Feb 2020 10:01:04 +0000 (11:01 +0100)
commit8a4c7f6e2b5f46fca1adbfbe1718a273a3d43760
treeaf9bb92e8eda21943e178c893bb64a926b265bf9
parent84ea0753d8d7861ff6a47a6eb29f072a1d342879
simplify getNearestParallelRoadFeature function

The function only ever returns one result of which only the
place_id is used. So simplify it to return a single place_id
only (or NULL if none is found).

Also fix typo in function name.
sql/partition-functions.src.sql
sql/tiger_import_start.sql