]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
5 days agorelease 5.1.0.post5 master
Sarah Hoffmann [Fri, 18 Apr 2025 14:48:36 +0000 (16:48 +0200)]
release 5.1.0.post5

5 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 18 Apr 2025 14:22:03 +0000 (16:22 +0200)]
Merge remote-tracking branch 'upstream/master'

5 days agorelease 5.1.0.post4
Sarah Hoffmann [Fri, 18 Apr 2025 12:44:31 +0000 (14:44 +0200)]
release 5.1.0.post4

5 days agoMerge pull request #3726 from lonvia/revert-json-format-change
Sarah Hoffmann [Fri, 18 Apr 2025 12:43:51 +0000 (14:43 +0200)]
Merge pull request #3726 from lonvia/revert-json-format-change

Revert accidental change in json output format

5 days agorevert accidental change in json output format
Sarah Hoffmann [Fri, 18 Apr 2025 10:05:25 +0000 (12:05 +0200)]
revert accidental change in json output format

6 days agorelease 5.1.0post3
Sarah Hoffmann [Thu, 17 Apr 2025 15:13:15 +0000 (17:13 +0200)]
release 5.1.0post3

6 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 17 Apr 2025 13:18:29 +0000 (15:18 +0200)]
Merge remote-tracking branch 'upstream/master'

6 days agoMerge pull request #3719 from lonvia/query-direction
Sarah Hoffmann [Thu, 17 Apr 2025 13:17:56 +0000 (15:17 +0200)]
Merge pull request #3719 from lonvia/query-direction

Estimate query direction

8 days agoadd a comment about the precomputed denominator
Sarah Hoffmann [Tue, 15 Apr 2025 07:38:05 +0000 (09:38 +0200)]
add a comment about the precomputed denominator

12 days agoadd direction penalties
Sarah Hoffmann [Fri, 11 Apr 2025 18:41:06 +0000 (20:41 +0200)]
add direction penalties

Direction penalties are estimated by getting the name to address
ratio usage for each partial term in the query and computing the
linear regression of that ratio over the entire phrase. Or to put
it in ither words: we try to determine if the terms at the beginning
or the end of the query are more likely to constitute a name.

Direction penalties are currently used only in classic name queries.

12 days agoreorganise token reranking
Sarah Hoffmann [Fri, 11 Apr 2025 11:38:34 +0000 (13:38 +0200)]
reorganise token reranking

As the reranking is about changing penalties in presence of other
tokens, change the datastructure to have the other tokens readily
avilable.

12 days agoensure that bailout-check is done after each iteration
Sarah Hoffmann [Fri, 11 Apr 2025 09:01:13 +0000 (11:01 +0200)]
ensure that bailout-check is done after each iteration

12 days agoreplace use of range when computing word list
Sarah Hoffmann [Fri, 11 Apr 2025 07:59:04 +0000 (09:59 +0200)]
replace use of range when computing word list

12 days agouse iterator instead of list to go over partials
Sarah Hoffmann [Fri, 11 Apr 2025 07:38:24 +0000 (09:38 +0200)]
use iterator instead of list to go over partials

12 days agomove partial token into a separate field in the query struct
Sarah Hoffmann [Fri, 11 Apr 2025 06:57:34 +0000 (08:57 +0200)]
move partial token into a separate field in the query struct

There is exactly one token to be expected and the token is usually
present.

13 days agoMerge pull request #3716 from lonvia/github-cache-osm2pgsql-binary
Sarah Hoffmann [Thu, 10 Apr 2025 15:20:32 +0000 (17:20 +0200)]
Merge pull request #3716 from lonvia/github-cache-osm2pgsql-binary

Github actions: cache compiled osm2pgsql binary

For the tests on Ubunutu 22-04 we need to compile osm2pgsql because the version they ship is too old. This adds caching of the compiled binary, so that we don't need to recompile for each CI run. Together with the new BDD tests that shaves around 10 min off a CI run.

13 days agoactions: cache compiled osm2pgsql binary
Sarah Hoffmann [Wed, 9 Apr 2025 18:12:15 +0000 (20:12 +0200)]
actions: cache compiled osm2pgsql binary

13 days agoMerge pull request #3714 from lonvia/postcode-update-without-project-dir
Sarah Hoffmann [Thu, 10 Apr 2025 06:51:22 +0000 (08:51 +0200)]
Merge pull request #3714 from lonvia/postcode-update-without-project-dir

Change postcode update function to work without a project directory

13 days agoMerge pull request #3715 from lonvia/demote-tags-to-fallbacks
Sarah Hoffmann [Thu, 10 Apr 2025 06:51:06 +0000 (08:51 +0200)]
Merge pull request #3715 from lonvia/demote-tags-to-fallbacks

Demote historic and tourism=attraction to fallback tags

2 weeks agodemote historic and tourism=attraction to fallback tags
Sarah Hoffmann [Fri, 4 Apr 2025 08:55:29 +0000 (10:55 +0200)]
demote historic and tourism=attraction to fallback tags

2 weeks agoallow updating postcodes without a project directory
Sarah Hoffmann [Wed, 9 Apr 2025 17:54:39 +0000 (19:54 +0200)]
allow updating postcodes without a project directory

Postcodes will then be updated without looking for external postcodes.

2 weeks agoMerge pull request #3713 from lonvia/bdd-pytest-db-test
Sarah Hoffmann [Wed, 9 Apr 2025 17:37:30 +0000 (19:37 +0200)]
Merge pull request #3713 from lonvia/bdd-pytest-db-test

Move BDD tests to pytest-bdd

2 weeks agoupdate documentation for BDD tests
Sarah Hoffmann [Wed, 9 Apr 2025 13:21:50 +0000 (15:21 +0200)]
update documentation for BDD tests

2 weeks agoremove usage of behave
Sarah Hoffmann [Wed, 9 Apr 2025 12:57:39 +0000 (14:57 +0200)]
remove usage of behave

2 weeks agoadd BDD tests for DB
Sarah Hoffmann [Wed, 9 Apr 2025 12:52:34 +0000 (14:52 +0200)]
add BDD tests for DB

2 weeks agoimprove table comparison
Sarah Hoffmann [Fri, 4 Apr 2025 08:39:04 +0000 (10:39 +0200)]
improve table comparison

2 weeks agomove database setup to generic conftest.py
Sarah Hoffmann [Thu, 3 Apr 2025 09:20:38 +0000 (11:20 +0200)]
move database setup to generic conftest.py

2 weeks agoremove old behave osm2pgsql BDD tests
Sarah Hoffmann [Thu, 3 Apr 2025 08:59:54 +0000 (10:59 +0200)]
remove old behave osm2pgsql BDD tests

2 weeks agoimplement BDD osm2pgsql tests with pytest-bdd
Sarah Hoffmann [Mon, 31 Mar 2025 07:39:01 +0000 (09:39 +0200)]
implement BDD osm2pgsql tests with pytest-bdd

2 weeks agoenable python-bdd for github actions
Sarah Hoffmann [Tue, 18 Mar 2025 15:20:52 +0000 (16:20 +0100)]
enable python-bdd for github actions

2 weeks agorestrict coordinate output to 7 digits
Sarah Hoffmann [Tue, 18 Mar 2025 14:00:35 +0000 (15:00 +0100)]
restrict coordinate output to 7 digits

2 weeks agoreplace behave BDD API tests with pytest-bdd tests
Sarah Hoffmann [Tue, 18 Mar 2025 10:19:06 +0000 (11:19 +0100)]
replace behave BDD API tests with pytest-bdd tests

2 weeks agoMerge pull request #3687 from asharmalik19/test-linked-places-language
Sarah Hoffmann [Fri, 4 Apr 2025 08:58:53 +0000 (10:58 +0200)]
Merge pull request #3687 from asharmalik19/test-linked-places-language

test: linked places expand default language names

2 weeks agoUpdate linked places name test
Ashar [Thu, 3 Apr 2025 18:20:00 +0000 (14:20 -0400)]
Update linked places name test

Clean up test scenario by removing extra language variations and
improving table readability.

2 weeks agotest: linked places expand default language names
Ashar [Thu, 27 Mar 2025 23:03:33 +0000 (19:03 -0400)]
test: linked places expand default language names

Add failing test for issue #2714 to verify default language expansion

2 weeks agoMerge pull request #3702 from lonvia/remove-tokenizer-dir
Sarah Hoffmann [Thu, 3 Apr 2025 07:04:48 +0000 (09:04 +0200)]
Merge pull request #3702 from lonvia/remove-tokenizer-dir

Remove automatic setup of tokenizer directory

So far the tokenizer factory would create a directory for private data for the tokenizer and then hand in the directory location to the tokenizer.

ICU tokenizer doesn't need any extra data anymore, so it doesn't make sense to create a directory which then remains empty. If a tokenizer needs such a directory in the future, it needs to create it on its own and make sure to handle the situation correctly where no project directory is used at all.

3 weeks agoremove automatic setup of tokenizer directory
Sarah Hoffmann [Wed, 2 Apr 2025 18:20:04 +0000 (20:20 +0200)]
remove automatic setup of tokenizer directory

ICU tokenizer doesn't need any extra data anymore, so it doesn't
make sense to create a directory which then remains empty. If a
tokenizer needs such a directory in the future, it needs to create
it on its own and make sure to handle the situation correctly where
no project directory is used at all.

3 weeks agorelease 5.1.0post2
Sarah Hoffmann [Wed, 2 Apr 2025 10:01:50 +0000 (12:01 +0200)]
release 5.1.0post2

3 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 2 Apr 2025 10:01:06 +0000 (12:01 +0200)]
Merge remote-tracking branch 'upstream/master'

3 weeks agoMerge pull request #3700 from lonvia/ignore-inherited-addresses
Sarah Hoffmann [Wed, 2 Apr 2025 10:00:45 +0000 (12:00 +0200)]
Merge pull request #3700 from lonvia/ignore-inherited-addresses

Ignore POIs with inherited addresses for the address layer

3 weeks agoignore POIs with inherited addresses for the address layer
Sarah Hoffmann [Wed, 2 Apr 2025 08:09:49 +0000 (10:09 +0200)]
ignore POIs with inherited addresses for the address layer

We know that there is a building which describes the address as a
polygon and is therefore more suitable.

3 weeks agoMerge pull request #3686 from astridx/output_names
Sarah Hoffmann [Tue, 1 Apr 2025 18:16:15 +0000 (20:16 +0200)]
Merge pull request #3686 from astridx/output_names

Output names as setting

3 weeks agoMerge pull request #3675 from TuringVerified/generic-preprocessors
Sarah Hoffmann [Tue, 1 Apr 2025 18:14:43 +0000 (20:14 +0200)]
Merge pull request #3675 from TuringVerified/generic-preprocessors

Add generic preprocessors

3 weeks agoRemove unnecessary assert statement, Fix regex_replace docstring and simplify regex_r...
TuringVerified [Mon, 31 Mar 2025 19:57:45 +0000 (01:27 +0530)]
Remove unnecessary assert statement, Fix regex_replace docstring and simplify regex_replace

3 weeks agoUpdate documentation, optimise regex_replace, add tests
TuringVerified [Thu, 20 Mar 2025 14:30:34 +0000 (20:00 +0530)]
Update documentation, optimise regex_replace, add tests

3 weeks agoAdd generic preprocessor
TuringVerified [Thu, 13 Mar 2025 14:31:21 +0000 (20:01 +0530)]
Add generic preprocessor

3 weeks agoadd instructions for pip package upload
Sarah Hoffmann [Tue, 1 Apr 2025 09:59:03 +0000 (11:59 +0200)]
add instructions for pip package upload

3 weeks agorelease 5.1.0.post1
Sarah Hoffmann [Tue, 1 Apr 2025 08:24:28 +0000 (10:24 +0200)]
release 5.1.0.post1

3 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 1 Apr 2025 08:23:21 +0000 (10:23 +0200)]
Merge remote-tracking branch 'upstream/master'

3 weeks agoprepare release 5.1.0
Sarah Hoffmann [Tue, 1 Apr 2025 08:16:35 +0000 (10:16 +0200)]
prepare release 5.1.0

3 weeks agoMerge pull request #3695 from TuringVerified/doc-dependencies
Sarah Hoffmann [Tue, 1 Apr 2025 07:34:08 +0000 (09:34 +0200)]
Merge pull request #3695 from TuringVerified/doc-dependencies

[Small fix] Add documentation to install extras for mkdocstrings

3 weeks agoAdd mkdocstrings extra
TuringVerified [Tue, 1 Apr 2025 05:36:46 +0000 (11:06 +0530)]
Add mkdocstrings extra

3 weeks agorelease 5.0.0.post9
Sarah Hoffmann [Mon, 31 Mar 2025 15:23:54 +0000 (17:23 +0200)]
release 5.0.0.post9

3 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 31 Mar 2025 15:14:19 +0000 (17:14 +0200)]
Merge remote-tracking branch 'upstream/master'

3 weeks agoMerge pull request #3693 from lonvia/remove-unused-sql
Sarah Hoffmann [Mon, 31 Mar 2025 15:11:39 +0000 (17:11 +0200)]
Merge pull request #3693 from lonvia/remove-unused-sql

Remove SQL function for address lookup

3 weeks agooutput names as setting
astridx [Fri, 14 Mar 2025 21:03:36 +0000 (22:03 +0100)]
output names as setting

3 weeks agoMerge pull request #3692 from lonvia/word-lookup-variants
Sarah Hoffmann [Mon, 31 Mar 2025 14:38:31 +0000 (16:38 +0200)]
Merge pull request #3692 from lonvia/word-lookup-variants

Avoid matching penalty for abbreviated search terms

3 weeks agoremove SQL function for address lookup
Sarah Hoffmann [Mon, 31 Mar 2025 12:34:46 +0000 (14:34 +0200)]
remove SQL function for address lookup

This is now done in Python.

3 weeks agoMerge pull request #3691 from lonvia/more-search-tweaks
Sarah Hoffmann [Mon, 31 Mar 2025 13:06:09 +0000 (15:06 +0200)]
Merge pull request #3691 from lonvia/more-search-tweaks

More tweaks to search wights

3 weeks agoadapt tests to extended results
Sarah Hoffmann [Fri, 21 Mar 2025 19:24:09 +0000 (20:24 +0100)]
adapt tests to extended results

3 weeks agoadd lookup word to variants in word table
Sarah Hoffmann [Fri, 21 Mar 2025 08:02:52 +0000 (09:02 +0100)]
add lookup word to variants in word table

3 weeks agodo not write any word counts on initial word insert
Sarah Hoffmann [Thu, 20 Mar 2025 20:33:27 +0000 (21:33 +0100)]
do not write any word counts on initial word insert

3 weeks agodo not save word counts of 1
Sarah Hoffmann [Thu, 20 Mar 2025 19:01:46 +0000 (20:01 +0100)]
do not save word counts of 1

This is the default setting, which will be assumed when the count is
missing.

3 weeks agoalways use lookup when requested
Sarah Hoffmann [Mon, 31 Mar 2025 09:15:26 +0000 (11:15 +0200)]
always use lookup when requested

Doesn't seem to cause any issues in production.

3 weeks agoincrease allowable address counts
Sarah Hoffmann [Mon, 31 Mar 2025 09:12:08 +0000 (11:12 +0200)]
increase allowable address counts

3 weeks agomore agressively reduce expected count for multi-word terms
Sarah Hoffmann [Mon, 31 Mar 2025 09:06:21 +0000 (11:06 +0200)]
more agressively reduce expected count for multi-word terms

Improves searching of non-latin scripts with forced token spaces.

3 weeks agoMerge pull request #3690 from lonvia/fix-signature
Sarah Hoffmann [Mon, 31 Mar 2025 09:17:03 +0000 (11:17 +0200)]
Merge pull request #3690 from lonvia/fix-signature

Fix function signature for newer SQLAlchemy

3 weeks agofix function signature for newer SQLAlchemy
Sarah Hoffmann [Mon, 31 Mar 2025 07:42:29 +0000 (09:42 +0200)]
fix function signature for newer SQLAlchemy

4 weeks agoMerge pull request #3684 from lonvia/compact-en-variants
Sarah Hoffmann [Mon, 24 Mar 2025 14:15:13 +0000 (15:15 +0100)]
Merge pull request #3684 from lonvia/compact-en-variants

Clean up English variants

4 weeks agorestrict some English variants to end of word
Sarah Hoffmann [Fri, 21 Mar 2025 20:22:38 +0000 (21:22 +0100)]
restrict some English variants to end of word

4 weeks agomake English variant list more compact
Sarah Hoffmann [Fri, 21 Mar 2025 20:13:34 +0000 (21:13 +0100)]
make English variant list more compact

4 weeks agorelease 5.0.0post8
Sarah Hoffmann [Fri, 21 Mar 2025 10:42:17 +0000 (11:42 +0100)]
release 5.0.0post8

4 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 21 Mar 2025 10:41:52 +0000 (11:41 +0100)]
Merge remote-tracking branch 'upstream/master'

4 weeks agoMerge pull request #3682 from lonvia/fix-postcode-case
Sarah Hoffmann [Fri, 21 Mar 2025 10:41:24 +0000 (11:41 +0100)]
Merge pull request #3682 from lonvia/fix-postcode-case

Fix case issues when parsing postcodes

4 weeks agomake query upper-case when parsing postcodes
Sarah Hoffmann [Fri, 21 Mar 2025 08:44:15 +0000 (09:44 +0100)]
make query upper-case when parsing postcodes

The postcode patterns expect upper-case letters.

5 weeks agoMerge pull request #3679 from lonvia/output-fixes
Sarah Hoffmann [Wed, 19 Mar 2025 20:56:28 +0000 (21:56 +0100)]
Merge pull request #3679 from lonvia/output-fixes

Minor fixes for v1 frontend code

5 weeks agofix layer setting for structured search
Sarah Hoffmann [Tue, 18 Mar 2025 10:20:20 +0000 (11:20 +0100)]
fix layer setting for structured search

5 weeks agofix debug output for lookup type
Sarah Hoffmann [Tue, 18 Mar 2025 10:21:54 +0000 (11:21 +0100)]
fix debug output for lookup type

5 weeks agopublish 5.0.0.post7
Sarah Hoffmann [Wed, 19 Mar 2025 16:03:55 +0000 (17:03 +0100)]
publish 5.0.0.post7

5 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 19 Mar 2025 15:01:23 +0000 (16:01 +0100)]
Merge remote-tracking branch 'upstream/master'

5 weeks agoMerge pull request #3678 from lonvia/search-tweaks
Sarah Hoffmann [Wed, 19 Mar 2025 15:00:52 +0000 (16:00 +0100)]
Merge pull request #3678 from lonvia/search-tweaks

Some minor tweaks to postcode parsing in query

5 weeks agopenalize postcode searches with multiple name qualifiers
Sarah Hoffmann [Wed, 19 Mar 2025 09:05:36 +0000 (10:05 +0100)]
penalize postcode searches with multiple name qualifiers

5 weeks agouse word_token length when penalizing against postcodes
Sarah Hoffmann [Tue, 18 Mar 2025 22:07:27 +0000 (23:07 +0100)]
use word_token length when penalizing against postcodes

5 weeks agopostcode token should have transliterated term in word_token
Sarah Hoffmann [Tue, 18 Mar 2025 21:55:33 +0000 (22:55 +0100)]
postcode token should have transliterated term in word_token

5 weeks agoimprove handling of leading postcodes
Sarah Hoffmann [Tue, 18 Mar 2025 21:32:58 +0000 (22:32 +0100)]
improve handling of leading postcodes

Setting the direction of the query while yielding assignments is
a bad idea because it may override a direction already set.

5 weeks agoMerge pull request #3673 from otbutz/parallel_safe
Sarah Hoffmann [Tue, 18 Mar 2025 20:46:53 +0000 (21:46 +0100)]
Merge pull request #3673 from otbutz/parallel_safe

Mark functions as PARALLEL SAFE

5 weeks agoMerge pull request #3676 from lonvia/adjust-place-levels-sa
Sarah Hoffmann [Tue, 18 Mar 2025 17:31:48 +0000 (18:31 +0100)]
Merge pull request #3676 from lonvia/adjust-place-levels-sa

Adjust place ranks for Saudi-Arabia

5 weeks agoadjust for special use of province and municipality in Saudi-Arabia
Sarah Hoffmann [Tue, 18 Mar 2025 15:38:10 +0000 (16:38 +0100)]
adjust for special use of province and municipality in Saudi-Arabia

5 weeks agoMark functions as PARALLEL SAFE
Thomas Butz [Thu, 13 Mar 2025 09:04:40 +0000 (10:04 +0100)]
Mark functions as PARALLEL SAFE

5 weeks agoadapt typing for latest SQLAlchemy version
Sarah Hoffmann [Thu, 13 Mar 2025 09:49:08 +0000 (10:49 +0100)]
adapt typing for latest SQLAlchemy version

6 weeks agoMerge pull request #3671 from lonvia/remove-osm2pgsql-libdir
Sarah Hoffmann [Tue, 11 Mar 2025 10:22:46 +0000 (11:22 +0100)]
Merge pull request #3671 from lonvia/remove-osm2pgsql-libdir

Remove code for setting osm2pgsql location via config.lib_dir

6 weeks agoremove code for setting osm2pgsql via config.lib_dir
Sarah Hoffmann [Tue, 11 Mar 2025 07:45:10 +0000 (08:45 +0100)]
remove code for setting osm2pgsql via config.lib_dir

With the internal osm2pgsql gone, configuration of the binary location
via settings is the only option left that makes sense.

6 weeks agoMerge pull request #3670 from lonvia/flake-for-tests
Sarah Hoffmann [Mon, 10 Mar 2025 08:35:24 +0000 (09:35 +0100)]
Merge pull request #3670 from lonvia/flake-for-tests

Extend linting with flake to tests

6 weeks agoremove unused bdd util functions
Sarah Hoffmann [Sun, 9 Mar 2025 16:34:40 +0000 (17:34 +0100)]
remove unused bdd util functions

6 weeks agoenable flake for bdd test code
Sarah Hoffmann [Sun, 9 Mar 2025 16:34:04 +0000 (17:34 +0100)]
enable flake for bdd test code

6 weeks agoalso enable flake for tests in github actions
Sarah Hoffmann [Sun, 9 Mar 2025 15:03:02 +0000 (16:03 +0100)]
also enable flake for tests in github actions

6 weeks agoenable flake for Python tests
Sarah Hoffmann [Sun, 9 Mar 2025 14:33:24 +0000 (15:33 +0100)]
enable flake for Python tests

6 weeks agoMerge pull request #3667 from eumiro/simplify-int-float
Sarah Hoffmann [Sun, 9 Mar 2025 08:44:15 +0000 (09:44 +0100)]
Merge pull request #3667 from eumiro/simplify-int-float

Simplify  int/float manipulation

6 weeks agoSimplify int/float manipulation
Miroslav Šedivý [Wed, 5 Mar 2025 19:55:53 +0000 (20:55 +0100)]
Simplify  int/float manipulation

6 weeks agoMerge pull request #3666 from eumiro/math-isclose
Sarah Hoffmann [Thu, 6 Mar 2025 16:53:01 +0000 (17:53 +0100)]
Merge pull request #3666 from eumiro/math-isclose

Replace custom Almost with stdlib math.isclose