]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
11 months agofix poscode update computation: use distance
Sarah Hoffmann [Fri, 29 Aug 2025 13:10:27 +0000 (15:10 +0200)]
fix poscode update computation: use distance

11 months agoMerge pull request #3816 from anqixxx/locale-doc-update
Sarah Hoffmann [Thu, 28 Aug 2025 20:06:41 +0000 (22:06 +0200)]
Merge pull request #3816 from anqixxx/locale-doc-update

Update to library locale documentation in light of refactor

11 months agoUpdated and restructured library documentation to include Locale changes
anqixxx [Wed, 20 Aug 2025 13:54:25 +0000 (09:54 -0400)]
Updated and restructured library documentation to include Locale changes

Updated Getting Started Docs

Added documentation for Result Handling

removed api documentation

11 months agoMerge pull request #3820 from mtmail/berlin-ost-hauptbahnhof
Sarah Hoffmann [Sat, 23 Aug 2025 15:17:39 +0000 (17:17 +0200)]
Merge pull request #3820 from mtmail/berlin-ost-hauptbahnhof

Sanetizer no longer strips name parts in brackets when more parts follow

11 months agosanetizer no longer strips name parts in brackets when more parts follow
marc tobias [Fri, 22 Aug 2025 23:06:35 +0000 (01:06 +0200)]
sanetizer no longer strips name parts in brackets when more parts follow

11 months agoMerge pull request #3819 from lonvia/ignore-survey
Sarah Hoffmann [Fri, 22 Aug 2025 20:10:02 +0000 (22:10 +0200)]
Merge pull request #3819 from lonvia/ignore-survey

Ignore survey:* tags

11 months agoignore survey:* tags
Sarah Hoffmann [Fri, 22 Aug 2025 08:59:58 +0000 (10:59 +0200)]
ignore survey:* tags

12 months agoMerge pull request #3796 from anqixxx/locale-refactor
Sarah Hoffmann [Wed, 13 Aug 2025 12:08:42 +0000 (14:08 +0200)]
Merge pull request #3796 from anqixxx/locale-refactor

Localize() + Results refactor

12 months agoLocales and localization refactor with Locales as a localizer object.
anqixxx [Thu, 24 Jul 2025 20:54:13 +0000 (16:54 -0400)]
Locales and localization refactor with Locales as a localizer object.

Removed auto-localization from search/search_address APIs (now explicit), simplified AddressLines to subclass List[AddressLine], made display_name a computed property in Results instead of field and removed result-localization circular dependencies

12 months agoprepare release 5.1.0.post13
Sarah Hoffmann [Wed, 6 Aug 2025 20:25:21 +0000 (22:25 +0200)]
prepare release 5.1.0.post13

12 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 6 Aug 2025 20:00:02 +0000 (22:00 +0200)]
Merge remote-tracking branch 'upstream/master'

12 months agoavoid symbolic link to files in packaging
Sarah Hoffmann [Wed, 6 Aug 2025 19:57:24 +0000 (21:57 +0200)]
avoid symbolic link to files in packaging

Hatch cannot handle those correctly and will add a symbolic link to the
source package.

12 months agoMerge pull request #3811 from lonvia/fix-frequent-terms-with-viewbox
Sarah Hoffmann [Wed, 6 Aug 2025 19:10:07 +0000 (21:10 +0200)]
Merge pull request #3811 from lonvia/fix-frequent-terms-with-viewbox

Don't restrict to viewbox for frequent terms

12 months agofix typing issue with latest falcon version
Sarah Hoffmann [Wed, 6 Aug 2025 18:08:10 +0000 (20:08 +0200)]
fix typing issue with latest falcon version

12 months agodon't restrict to viewbox for frequent terms
Sarah Hoffmann [Wed, 6 Aug 2025 15:27:52 +0000 (17:27 +0200)]
don't restrict to viewbox for frequent terms

All searched places may be outside the viewbox in which case the
restriction means that there are no results at all. Add the penalty for
being outside the viewbox earlier instead and then cut the list.

12 months agoMerge pull request #3808 from lonvia/avoid-st-relate
Sarah Hoffmann [Wed, 6 Aug 2025 14:28:51 +0000 (16:28 +0200)]
Merge pull request #3808 from lonvia/avoid-st-relate

Replace ST_Relate by shortcut functions

12 months agoreplace ST_Relate by shortcut functions
Sarah Hoffmann [Wed, 6 Aug 2025 09:08:46 +0000 (11:08 +0200)]
replace ST_Relate by shortcut functions

For some reason ST_Relate returns wrong results in the context of
the trigger on Debian Trixie. Works fine with the Postgis version
from postgresql.org.

12 months agoadd test for reverse with address layer and inherited address
Sarah Hoffmann [Thu, 31 Jul 2025 20:25:13 +0000 (22:25 +0200)]
add test for reverse with address layer and inherited address

12 months agoMerge pull request #3799 from lonvia/reduce-coordinate-precision
Sarah Hoffmann [Wed, 30 Jul 2025 12:50:36 +0000 (14:50 +0200)]
Merge pull request #3799 from lonvia/reduce-coordinate-precision

Reduce coordinate precision of centroids and interpolation lines

12 months agoMerge pull request #3800 from lonvia/improve-style-docs
Sarah Hoffmann [Wed, 30 Jul 2025 12:50:17 +0000 (14:50 +0200)]
Merge pull request #3800 from lonvia/improve-style-docs

Improvements to documentation for custom import styles

12 months agoMerge pull request #3797 from mtmail/database-version-not-found
Sarah Hoffmann [Wed, 30 Jul 2025 10:08:10 +0000 (12:08 +0200)]
Merge pull request #3797 from mtmail/database-version-not-found

Better hint to user if database import didnt finish

12 months agoBetter hint to user if database import didnt finish
marc tobias [Wed, 30 Jul 2025 00:26:22 +0000 (02:26 +0200)]
Better hint to user if database import didnt finish

12 months agoclarify what merging means
Sarah Hoffmann [Tue, 29 Jul 2025 21:04:14 +0000 (23:04 +0200)]
clarify what merging means

12 months agodocs: add a list of available topics
Sarah Hoffmann [Tue, 29 Jul 2025 20:59:02 +0000 (22:59 +0200)]
docs: add a list of available topics

12 months agoadapt BDD tests to different rounding of reduce precision
Sarah Hoffmann [Tue, 29 Jul 2025 20:35:14 +0000 (22:35 +0200)]
adapt BDD tests to different rounding of reduce precision

12 months agoreduce precision of interpolations to OSM precision
Sarah Hoffmann [Tue, 29 Jul 2025 19:39:04 +0000 (21:39 +0200)]
reduce precision of interpolations to OSM precision

12 months agoreduce precision of computed centroids to 7 digits
Sarah Hoffmann [Tue, 29 Jul 2025 19:25:14 +0000 (21:25 +0200)]
reduce precision of computed centroids to 7 digits

13 months agoMerge pull request #3789 from lonvia/align-deferred-delete-limits
Sarah Hoffmann [Tue, 22 Jul 2025 09:15:56 +0000 (11:15 +0200)]
Merge pull request #3789 from lonvia/align-deferred-delete-limits

Align limits for deferring delete and reindexing on insert

13 months agoalign limits for deferring delete and reindexing on insert
Sarah Hoffmann [Mon, 21 Jul 2025 14:11:06 +0000 (16:11 +0200)]
align limits for deferring delete and reindexing on insert

Right now when a boundary with an area between 1 and 2 broke, it
was deleted but on reinsert afer repair, the addresses are not updated
resulting in inconsistent data.

13 months agoremove unused code
Sarah Hoffmann [Sat, 19 Jul 2025 13:14:23 +0000 (15:14 +0200)]
remove unused code

13 months agoMerge pull request #3785 from lonvia/raise-python-to-39
Sarah Hoffmann [Sat, 19 Jul 2025 21:02:13 +0000 (23:02 +0200)]
Merge pull request #3785 from lonvia/raise-python-to-39

Raise minimum required Python version to 3.9

13 months agorun old-version CI against oldest supported Python
Sarah Hoffmann [Sat, 19 Jul 2025 13:25:23 +0000 (15:25 +0200)]
run old-version CI against oldest supported Python

13 months agoraise minimum supported Python version to 3.9
Sarah Hoffmann [Sat, 19 Jul 2025 13:23:17 +0000 (15:23 +0200)]
raise minimum supported Python version to 3.9

13 months agorelease 5.1.0.post12
Sarah Hoffmann [Tue, 15 Jul 2025 09:09:57 +0000 (11:09 +0200)]
release 5.1.0.post12

13 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 15 Jul 2025 08:12:00 +0000 (10:12 +0200)]
Merge remote-tracking branch 'upstream/master'

13 months agoMerge pull request #3781 from lonvia/partial-address-index-lookup
Sarah Hoffmann [Tue, 15 Jul 2025 08:11:12 +0000 (10:11 +0200)]
Merge pull request #3781 from lonvia/partial-address-index-lookup

Reduce number of tokens used for index lookups during search

13 months agoadapt test to new lookup limits
Sarah Hoffmann [Mon, 14 Jul 2025 12:17:33 +0000 (14:17 +0200)]
adapt test to new lookup limits

13 months agorestrict pre-selection by postcode to country
Sarah Hoffmann [Sat, 12 Jul 2025 09:17:07 +0000 (11:17 +0200)]
restrict pre-selection by postcode to country

13 months agorestrict name-only address searches early by postcode
Sarah Hoffmann [Fri, 11 Jul 2025 20:04:12 +0000 (22:04 +0200)]
restrict name-only address searches early by postcode

13 months agorestrict name-only search more
Sarah Hoffmann [Fri, 11 Jul 2025 19:02:44 +0000 (21:02 +0200)]
restrict name-only search more

13 months agorestrict postcode distance computation to within country
Sarah Hoffmann [Fri, 11 Jul 2025 18:20:37 +0000 (20:20 +0200)]
restrict postcode distance computation to within country

13 months agoonly use most infrequent tokens for search index lookup
Sarah Hoffmann [Fri, 11 Jul 2025 13:26:50 +0000 (15:26 +0200)]
only use most infrequent tokens for search index lookup

13 months agorelease 5.1.0.post11
Sarah Hoffmann [Fri, 11 Jul 2025 14:52:38 +0000 (16:52 +0200)]
release 5.1.0.post11

13 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 11 Jul 2025 12:51:18 +0000 (14:51 +0200)]
Merge remote-tracking branch 'upstream/master'

13 months agoMerge pull request #3779 from lonvia/fix-zero-devision-direction
Sarah Hoffmann [Fri, 11 Jul 2025 12:51:00 +0000 (14:51 +0200)]
Merge pull request #3779 from lonvia/fix-zero-devision-direction

Fix direction factor computation on empty strings

13 months agoMerge pull request #3777 from lonvia/harmonize-transition-penalties
Sarah Hoffmann [Fri, 11 Jul 2025 12:17:48 +0000 (14:17 +0200)]
Merge pull request #3777 from lonvia/harmonize-transition-penalties

Clean up word transition penalty assignment for searches

13 months agoMerge pull request #3778 from lonvia/remove-log-db-setting
Sarah Hoffmann [Fri, 11 Jul 2025 12:17:24 +0000 (14:17 +0200)]
Merge pull request #3778 from lonvia/remove-log-db-setting

Remove defaults and documentations for LOG_DB setting

13 months agoadd BDD test for empty queries
Sarah Hoffmann [Fri, 11 Jul 2025 12:16:48 +0000 (14:16 +0200)]
add BDD test for empty queries

13 months agoremove any references to website setup or refresh
Sarah Hoffmann [Fri, 11 Jul 2025 09:51:49 +0000 (11:51 +0200)]
remove any references to website setup or refresh

Does no longer exist.

13 months agofix direction factor computation on empty strings
Sarah Hoffmann [Fri, 11 Jul 2025 09:25:14 +0000 (11:25 +0200)]
fix direction factor computation on empty strings

13 months agoremove LOG_DB setting, not implemented anymore
Sarah Hoffmann [Fri, 11 Jul 2025 09:15:41 +0000 (11:15 +0200)]
remove LOG_DB setting, not implemented anymore

13 months agoremove penalty from TokenRanges
Sarah Hoffmann [Fri, 11 Jul 2025 08:57:35 +0000 (10:57 +0200)]
remove penalty from TokenRanges

The parameter is no longer needed.

13 months agoadapt tests for new function signatures
Sarah Hoffmann [Fri, 11 Jul 2025 08:27:18 +0000 (10:27 +0200)]
adapt tests for new function signatures

13 months agoreduce maximum number of SQL queries per search
Sarah Hoffmann [Fri, 11 Jul 2025 07:34:21 +0000 (09:34 +0200)]
reduce maximum number of SQL queries per search

13 months agofix order of address rankings prefering longest words
Sarah Hoffmann [Wed, 9 Jul 2025 21:22:20 +0000 (23:22 +0200)]
fix order of address rankings prefering longest words

13 months agoreinstate penalty for partial only matches
Sarah Hoffmann [Wed, 9 Jul 2025 20:27:12 +0000 (22:27 +0200)]
reinstate penalty for partial only matches

13 months agogive word break slight advantage towards continuation
Sarah Hoffmann [Wed, 9 Jul 2025 20:25:40 +0000 (22:25 +0200)]
give word break slight advantage towards continuation

prefers longer words

13 months agorebalance word transition penalties
Sarah Hoffmann [Wed, 9 Jul 2025 18:35:15 +0000 (20:35 +0200)]
rebalance word transition penalties

13 months agosimplify QueryNode penalty and initial assignment
Sarah Hoffmann [Wed, 9 Jul 2025 13:36:11 +0000 (15:36 +0200)]
simplify QueryNode penalty and initial assignment

13 months agorelease 5.1.0.post10
Sarah Hoffmann [Tue, 8 Jul 2025 15:53:43 +0000 (17:53 +0200)]
release 5.1.0.post10

13 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 8 Jul 2025 15:28:32 +0000 (17:28 +0200)]
Merge remote-tracking branch 'upstream/master'

13 months agoMerge pull request #3774 from lonvia/remove-postcodes-from-nameaddressvector
Sarah Hoffmann [Tue, 8 Jul 2025 15:23:05 +0000 (17:23 +0200)]
Merge pull request #3774 from lonvia/remove-postcodes-from-nameaddressvector

Do not add postcodes from postcode boundaries to address vector

13 months agoMerge pull request #3773 from lonvia/small-countries
Sarah Hoffmann [Tue, 8 Jul 2025 13:01:37 +0000 (15:01 +0200)]
Merge pull request #3773 from lonvia/small-countries

Reduce area for geometry rank for very small countries

13 months agodo not add postcodes from postcode boundaries to address vector
Sarah Hoffmann [Tue, 8 Jul 2025 12:49:16 +0000 (14:49 +0200)]
do not add postcodes from postcode boundaries to address vector

Postcodes will be found through a special search, so we can save
the space.

13 months agoreduce area for geometry rank for very small countries
Sarah Hoffmann [Tue, 8 Jul 2025 11:50:20 +0000 (13:50 +0200)]
reduce area for geometry rank for very small countries

13 months agoMerge pull request #3772 from lonvia/fix-index-use-deletable
Sarah Hoffmann [Tue, 8 Jul 2025 11:49:31 +0000 (13:49 +0200)]
Merge pull request #3772 from lonvia/fix-index-use-deletable

split up query for deletable endpoint by osm type

13 months agorelease 5.1.0.post9
Sarah Hoffmann [Tue, 8 Jul 2025 09:05:36 +0000 (11:05 +0200)]
release 5.1.0.post9

13 months agosplit up query for deletable endpoint by osm type
Sarah Hoffmann [Tue, 8 Jul 2025 09:03:29 +0000 (11:03 +0200)]
split up query for deletable endpoint by osm type

This is needed to ensure index use on placex.

13 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 7 Jul 2025 15:53:09 +0000 (17:53 +0200)]
Merge remote-tracking branch 'upstream/master'

13 months agoMerge pull request #3770 from lonvia/split-place-search
Sarah Hoffmann [Mon, 7 Jul 2025 15:52:47 +0000 (17:52 +0200)]
Merge pull request #3770 from lonvia/split-place-search

Split up SQL generation code for searches with and without housenumbers

13 months agoadapt BDD test to refusal to search POI names with hnr only
Sarah Hoffmann [Mon, 7 Jul 2025 14:14:58 +0000 (16:14 +0200)]
adapt BDD test to refusal to search POI names with hnr only

13 months agoincrease penalty on mismatching postcodes for address searches
Sarah Hoffmann [Mon, 7 Jul 2025 14:07:32 +0000 (16:07 +0200)]
increase penalty on mismatching postcodes for address searches

Otherwise there is an imbalance towards matching housenumbers
instead of the actual street (where no housenumber exists).

13 months agosort housenumber parents by accuracy first
Sarah Hoffmann [Mon, 7 Jul 2025 10:06:06 +0000 (12:06 +0200)]
sort housenumber parents by accuracy first

Sorting them by presence of housenumber only will give an undue
preference to results with a housenumber while disregarding other
factors like matching postcodes.

13 months agoreduce candidates for place search
Sarah Hoffmann [Mon, 7 Jul 2025 09:18:37 +0000 (11:18 +0200)]
reduce candidates for place search

13 months agodifferentiate between place searches with and without address
Sarah Hoffmann [Mon, 7 Jul 2025 09:17:01 +0000 (11:17 +0200)]
differentiate between place searches with and without address

13 months agosplit place search into address search and named search
Sarah Hoffmann [Mon, 7 Jul 2025 07:01:44 +0000 (09:01 +0200)]
split place search into address search and named search

The presence/absence of houenumbers makes quite a difference for search.

13 months agoMerge pull request #3769 from lonvia/refactor-api-searches
Sarah Hoffmann [Wed, 2 Jul 2025 18:08:11 +0000 (20:08 +0200)]
Merge pull request #3769 from lonvia/refactor-api-searches

Refactor code around creating SQL for serach queries

13 months agosplit db_searches moving each class in its own file
Sarah Hoffmann [Tue, 1 Jul 2025 20:57:04 +0000 (22:57 +0200)]
split db_searches moving each class in its own file

13 months agoMerge pull request #3765 from lonvia/update-ui-docs
Sarah Hoffmann [Fri, 27 Jun 2025 18:01:28 +0000 (20:01 +0200)]
Merge pull request #3765 from lonvia/update-ui-docs

Update instructions for UI integration

13 months agoupdate instructions for UI integration
Sarah Hoffmann [Fri, 27 Jun 2025 07:53:29 +0000 (09:53 +0200)]
update instructions for UI integration

Switches from defaulting to forwarding to UI to only forwarding
when requested. This avoids issues with auto-forwarding illegal URLs.
Also adapts to the much simplified nginx configuration.

13 months agoMerge pull request #3764 from lonvia/update-importance
Sarah Hoffmann [Fri, 27 Jun 2025 08:02:18 +0000 (10:02 +0200)]
Merge pull request #3764 from lonvia/update-importance

'refresh --importance' also needs to refresh importances in search_name table

13 months agoremove duplicated test
Sarah Hoffmann [Thu, 26 Jun 2025 20:35:38 +0000 (22:35 +0200)]
remove duplicated test

There is a more extensive test of recompute_importance with
result check in test_refresh_wiki_data.py

13 months agoMerge pull request #3762 from lonvia/remove-gazetteer-output-support
Sarah Hoffmann [Thu, 26 Jun 2025 18:28:16 +0000 (20:28 +0200)]
Merge pull request #3762 from lonvia/remove-gazetteer-output-support

Remove support for deprecated gazetteer osm2pgsql output

13 months agorewrite importances in search_name after updating in placex
Sarah Hoffmann [Thu, 26 Jun 2025 18:27:37 +0000 (20:27 +0200)]
rewrite importances in search_name after updating in placex

13 months agoremove support for deprecated gazetteer osm2pgsql output
Sarah Hoffmann [Wed, 25 Jun 2025 21:09:08 +0000 (23:09 +0200)]
remove support for deprecated gazetteer osm2pgsql output

14 months agoMerge pull request #3747 from anqixxx/fix-special-phrases-filtering
Sarah Hoffmann [Fri, 6 Jun 2025 19:37:17 +0000 (21:37 +0200)]
Merge pull request #3747 from anqixxx/fix-special-phrases-filtering

Special Phrases Filtering: Add Command Line Functionality

14 months agoAdded skip for when min =0
anqixxx [Thu, 5 Jun 2025 01:25:14 +0000 (09:25 +0800)]
Added skip for when min =0

14 months agoAdded default min = 0 argument for private functions
anqixxx [Wed, 4 Jun 2025 08:10:14 +0000 (01:10 -0700)]
Added default min = 0 argument for private functions

empty

14 months agoRefactored min and associated tests to follow greater than or equal to logic, so...
anqixxx [Sat, 31 May 2025 16:41:36 +0000 (09:41 -0700)]
Refactored min and associated tests to follow greater than or equal to logic, so that min=0 accounted for no filtering

r

14 months agoAdded command line (default 0) min argument for minimum filtering, updated args.py...
anqixxx [Thu, 29 May 2025 16:25:08 +0000 (09:25 -0700)]
Added command line (default 0) min argument for minimum filtering, updated args.py to reflect this

14 months agorelease 5.1.0.post8
Sarah Hoffmann [Mon, 2 Jun 2025 13:19:18 +0000 (15:19 +0200)]
release 5.1.0.post8

14 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 2 Jun 2025 12:52:37 +0000 (14:52 +0200)]
Merge remote-tracking branch 'upstream/master'

14 months agoMerge pull request #3748 from lonvia/airports
Sarah Hoffmann [Mon, 2 Jun 2025 12:39:02 +0000 (14:39 +0200)]
Merge pull request #3748 from lonvia/airports

Improve finding airports by their codes

14 months agoimprove result cutting when a POI comes out with top importance
Sarah Hoffmann [Sun, 1 Jun 2025 10:00:36 +0000 (12:00 +0200)]
improve result cutting when a POI comes out with top importance

14 months agoonly rerank results if there is more than one
Sarah Hoffmann [Sun, 1 Jun 2025 09:55:27 +0000 (11:55 +0200)]
only rerank results if there is more than one

With one result order is obvious.

14 months agoreduce influence of query rematching a little bit
Sarah Hoffmann [Sun, 1 Jun 2025 09:54:21 +0000 (11:54 +0200)]
reduce influence of query rematching a little bit

14 months agowhen rematching only distinguish between perfect, somewhat and bad match
Sarah Hoffmann [Sun, 1 Jun 2025 09:53:23 +0000 (11:53 +0200)]
when rematching only distinguish between perfect, somewhat and bad match

14 months agoadd FAA codes (US version of IATA codes) for airports
Sarah Hoffmann [Sat, 31 May 2025 07:45:28 +0000 (09:45 +0200)]
add FAA codes (US version of IATA codes) for airports

14 months agowork around bogus type error in latest starlette
Sarah Hoffmann [Sat, 31 May 2025 07:43:48 +0000 (09:43 +0200)]
work around bogus type error in latest starlette

14 months agofix missing optional return
Sarah Hoffmann [Fri, 30 May 2025 10:03:00 +0000 (12:03 +0200)]
fix missing optional return