]> git.openstreetmap.org Git - nominatim.git/commit
use information from tokenizer to determine street vs. place address
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Jun 2023 09:08:25 +0000 (11:08 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Jun 2023 09:08:25 +0000 (11:08 +0200)
commit645ea5a057346a698f007c0b9e35a58c9ed11755
treed93dce699871bb82b54512aa61ac58deb4671dc0
parent2755ebe88360c56f9e82c5b910362ac402cc1ed0
use information from tokenizer to determine street vs. place address

So far the SQL logic used the information from the address field
to determine if an address is attached to a street or place.
This changes the logic to use the information provided in the
token_info. This allows sanitizers to enforce a certain parenting
without changing the visible address information.
docs/develop/Tokenizers.md
lib-sql/functions/placex_triggers.sql
lib-sql/tokenizer/icu_tokenizer.sql
lib-sql/tokenizer/legacy_tokenizer.sql
nominatim/tokenizer/icu_tokenizer.py
test/python/tokenizer/test_icu.py