]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
7 weeks agoadd a hint on running CI before opening a PR
Sarah Hoffmann [Wed, 11 Mar 2026 09:08:47 +0000 (10:08 +0100)]
add a hint on running CI before opening a PR

7 weeks agoprepare release 5.2.0.post14
Sarah Hoffmann [Tue, 10 Mar 2026 22:04:41 +0000 (23:04 +0100)]
prepare release 5.2.0.post14

7 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 10 Mar 2026 21:43:32 +0000 (22:43 +0100)]
Merge remote-tracking branch 'upstream/master'

7 weeks agoMerge pull request #4020 from kad-link/fix/add-admin-level-in-extratags
Sarah Hoffmann [Tue, 10 Mar 2026 21:42:45 +0000 (22:42 +0100)]
Merge pull request #4020 from kad-link/fix/add-admin-level-in-extratags

fix: add admin_level in extratags for boundary=administrative

7 weeks agoprepare release 5.2.0.post13
Sarah Hoffmann [Tue, 10 Mar 2026 10:42:02 +0000 (11:42 +0100)]
prepare release 5.2.0.post13

7 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 10 Mar 2026 08:26:34 +0000 (09:26 +0100)]
Merge remote-tracking branch 'upstream/master'

7 weeks agoadd BDD scenario for admin_level when boundary=administrative
Sri Charan Chittineni [Tue, 10 Mar 2026 06:49:19 +0000 (06:49 +0000)]
add BDD scenario for admin_level when boundary=administrative

8 weeks agoadd unit tests for admin_level when boundary=administrative
Sri Charan Chittineni [Mon, 9 Mar 2026 20:00:32 +0000 (20:00 +0000)]
add unit tests for admin_level when boundary=administrative

8 weeks agoMerge pull request #4024 from lonvia/remove-fallback-importance
Sarah Hoffmann [Mon, 9 Mar 2026 16:05:48 +0000 (17:05 +0100)]
Merge pull request #4024 from lonvia/remove-fallback-importance

Clean up importance computation

8 weeks agoadd migration to backfill missing importance values
Sarah Hoffmann [Mon, 9 Mar 2026 09:10:28 +0000 (10:10 +0100)]
add migration to backfill missing importance values

8 weeks agostreamline selected columns in search CTEs
Sarah Hoffmann [Mon, 2 Mar 2026 10:48:09 +0000 (11:48 +0100)]
streamline selected columns in search CTEs

8 weeks agodrop search_rank column from search_name
Sarah Hoffmann [Mon, 2 Mar 2026 10:32:06 +0000 (11:32 +0100)]
drop search_rank column from search_name

This is no longer needed for the initial lookup.

8 weeks agoremove importance fallbacks in search queries
Sarah Hoffmann [Mon, 2 Mar 2026 09:09:57 +0000 (10:09 +0100)]
remove importance fallbacks in search queries

8 weeks agoenforce presence of importance value in placex
Sarah Hoffmann [Mon, 2 Mar 2026 08:57:34 +0000 (09:57 +0100)]
enforce presence of importance value in placex

8 weeks agomodify import paths to helpers.py
Sri Charan Chittineni [Mon, 9 Mar 2026 05:01:47 +0000 (05:01 +0000)]
modify import paths to helpers.py

8 weeks agoadd _add_admin_level helper function to helpers.py
Sri Charan Chittineni [Mon, 9 Mar 2026 04:59:20 +0000 (04:59 +0000)]
add _add_admin_level helper function to helpers.py

8 weeks agoadd admin_level to extratags for XML and details API endpoint
Sri CHaRan [Sun, 8 Mar 2026 14:02:01 +0000 (19:32 +0530)]
add admin_level to extratags for XML and details API endpoint

8 weeks agoadd admin_level to extatags in JSON format
Sri CHaRan [Sun, 8 Mar 2026 13:59:33 +0000 (19:29 +0530)]
add admin_level to extatags in JSON format

2 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 4 Mar 2026 16:50:14 +0000 (17:50 +0100)]
Merge remote-tracking branch 'upstream/master'

2 months agoMerge pull request #4012 from lonvia/interpolation-separation
Sarah Hoffmann [Wed, 4 Mar 2026 16:27:02 +0000 (17:27 +0100)]
Merge pull request #4012 from lonvia/interpolation-separation

Move interpolations into a separate table

2 months agoMerge pull request #3995 from Itz-Agasta/exp
Sarah Hoffmann [Wed, 4 Mar 2026 16:24:46 +0000 (17:24 +0100)]
Merge pull request #3995 from Itz-Agasta/exp

Add Language-aware country penalty in forward geocoding

2 months agodocs: update database layout in developer section
Sarah Hoffmann [Thu, 19 Feb 2026 15:04:12 +0000 (16:04 +0100)]
docs: update database layout in developer section

2 months agoadd migration for interpolation tables
Sarah Hoffmann [Thu, 19 Feb 2026 10:07:43 +0000 (11:07 +0100)]
add migration for interpolation tables

2 months agorevert importing of housenumber interpolations
Sarah Hoffmann [Wed, 18 Feb 2026 19:01:15 +0000 (20:01 +0100)]
revert importing of housenumber interpolations

2 months agoadd test for new interpolation variants
Sarah Hoffmann [Tue, 17 Feb 2026 18:52:52 +0000 (19:52 +0100)]
add test for new interpolation variants

2 months agoadapt BDD tests to separate interpolation table
Sarah Hoffmann [Tue, 17 Feb 2026 15:29:47 +0000 (16:29 +0100)]
adapt BDD tests to separate interpolation table

2 months agoBDD tests: factor out insert sql code
Sarah Hoffmann [Mon, 16 Feb 2026 17:04:47 +0000 (18:04 +0100)]
BDD tests: factor out insert sql code

2 months agoadapt unit tests to use separate interpolation table
Sarah Hoffmann [Mon, 16 Feb 2026 15:25:54 +0000 (16:25 +0100)]
adapt unit tests to use separate interpolation table

2 months agoadapt interpolation handling to use separate place_interpolation table
Sarah Hoffmann [Mon, 16 Feb 2026 15:25:19 +0000 (16:25 +0100)]
adapt interpolation handling to use separate place_interpolation table

2 months agocopy interpolation data from new place_interpolation table
Sarah Hoffmann [Mon, 16 Feb 2026 13:18:39 +0000 (14:18 +0100)]
copy interpolation data from new place_interpolation table

2 months agoimport interpolation into separate place table
Sarah Hoffmann [Mon, 16 Feb 2026 13:11:58 +0000 (14:11 +0100)]
import interpolation into separate place table

2 months agoMerge pull request #4011 from lonvia/fix-expected-count-hnr-search-by-addr
Sarah Hoffmann [Wed, 4 Mar 2026 15:23:39 +0000 (16:23 +0100)]
Merge pull request #4011 from lonvia/fix-expected-count-hnr-search-by-addr

Adjust expected count when doing housenumber search by address

2 months agoadjust expected count when doing housenumber search by address
Sarah Hoffmann [Wed, 4 Mar 2026 10:26:17 +0000 (11:26 +0100)]
adjust expected count when doing housenumber search by address

2 months agoAdds test for locale-sensitive country name matching
Itz-Agasta [Mon, 2 Mar 2026 07:06:45 +0000 (12:36 +0530)]
Adds test for locale-sensitive country name matching

Introduces a scenario to verify that a country's alternate-language name
does not dominate search results when the requested locale differs.
Ensures correct result selection for locale-aware geocoding.

Relates to #3210

2 months agoAdds language-aware country penalty in forward geocoding
Itz-Agasta [Fri, 20 Feb 2026 16:57:30 +0000 (22:27 +0530)]
Adds language-aware country penalty in forward geocoding

Threads the caller's Accept-Language preference into ForwardGeocoder
and uses it in rerank_by_query to check whether the query matches the
localized name of a country result.

If the caller's locale renders the country name differently (e.g. pt-BR
gives "Brasil" ≠ "Brasilia"), the country's importance is added as an
accuracy penalty, neutralising its dominance over lower-ranked places.

If the locale matches (e.g. Finnish gives "Brasilia" = "Brasilia"),
no penalty is applied and the country correctly wins.

2 months agoMerge pull request #3971 from jayaddison/issue-3969/indexer-avoid-addressrank-loop
Sarah Hoffmann [Mon, 2 Mar 2026 21:02:06 +0000 (22:02 +0100)]
Merge pull request #3971 from jayaddison/issue-3969/indexer-avoid-addressrank-loop

Indexer: allow 'has_pending' to consider address-rank subsets

2 months agoMerge pull request #4009 from jonas-endter-optimax-energy/fix-documentation-wikipedia...
Sarah Hoffmann [Mon, 2 Mar 2026 18:34:49 +0000 (19:34 +0100)]
Merge pull request #4009 from jonas-endter-optimax-energy/fix-documentation-wikipedia-data-link

fix link to importance data in documentation

2 months agofix link to importance data in documentation
Jonas Endter [Mon, 2 Mar 2026 15:38:11 +0000 (16:38 +0100)]
fix link to importance data in documentation

2 months agoMerge pull request #3997 from lonvia/fix-postcode-index
Sarah Hoffmann [Sun, 22 Feb 2026 16:20:15 +0000 (17:20 +0100)]
Merge pull request #3997 from lonvia/fix-postcode-index

Reenable index on centroid column for location_postcodes

2 months agolocation_postcodes does geometry lookups on centroid
Sarah Hoffmann [Sun, 22 Feb 2026 12:16:19 +0000 (13:16 +0100)]
location_postcodes does geometry lookups on centroid

2 months agoMerge pull request #3996 from lonvia/improved-postcode-import
Sarah Hoffmann [Sun, 22 Feb 2026 12:12:49 +0000 (13:12 +0100)]
Merge pull request #3996 from lonvia/improved-postcode-import

Avoid updates on initial filling of postcode table

2 months agoadd option to force a postcode reimport
Sarah Hoffmann [Sat, 21 Feb 2026 11:42:18 +0000 (12:42 +0100)]
add option to force a postcode reimport

2 months agoavoid updates on initial filling of postcode table
Sarah Hoffmann [Fri, 20 Feb 2026 17:53:48 +0000 (18:53 +0100)]
avoid updates on initial filling of postcode table

2 months agoprepare release 5.2.0.post11
Sarah Hoffmann [Thu, 19 Feb 2026 08:32:50 +0000 (09:32 +0100)]
prepare release 5.2.0.post11

2 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 19 Feb 2026 08:05:30 +0000 (09:05 +0100)]
Merge remote-tracking branch 'upstream/master'

2 months agoMerge pull request #3981 from Itz-Agasta/test
Sarah Hoffmann [Wed, 18 Feb 2026 18:38:05 +0000 (19:38 +0100)]
Merge pull request #3981 from Itz-Agasta/test

Implement Lazy Loading Search Endpoint

2 months agoAdds lazy loading for search endpoint availability
Itz-Agasta [Tue, 10 Feb 2026 09:03:52 +0000 (14:33 +0530)]
Adds lazy loading for search endpoint availability

Introduces a mechanism to defer the search endpoint's availability check until the first request, improving startup robustness. If the search table is unavailable due to DB issues, the endpoint now responds with a 503 or 404 as appropriate, and retries the check on subsequent requests. This ensures that downtime or partial DB failures no longer prevent the API from initializing or serving reverse-only mode.

2 months agoMerge pull request #3991 from lonvia/interpolation-on-addresses
Sarah Hoffmann [Wed, 18 Feb 2026 13:25:38 +0000 (14:25 +0100)]
Merge pull request #3991 from lonvia/interpolation-on-addresses

Add support for addr:interpolation on housenumbers

2 months agoadd support for expanding interpolations on housenumbers
Sarah Hoffmann [Wed, 18 Feb 2026 10:39:48 +0000 (11:39 +0100)]
add support for expanding interpolations on housenumbers

2 months agoMerge pull request #3923 from kad-link/ci/windows-smoke
Sarah Hoffmann [Mon, 16 Feb 2026 08:27:23 +0000 (09:27 +0100)]
Merge pull request #3923 from kad-link/ci/windows-smoke

CI: add dev-only Windows smoke workflow

2 months agoMerge pull request #3989 from lonvia/rework-misc-tests
Sarah Hoffmann [Mon, 16 Feb 2026 08:20:37 +0000 (09:20 +0100)]
Merge pull request #3989 from lonvia/rework-misc-tests

More production SQL use in unit tests

2 months agoMerge pull request #3988 from jayaddison/pr-3957-followup/empty-name-field
Sarah Hoffmann [Mon, 16 Feb 2026 08:17:36 +0000 (09:17 +0100)]
Merge pull request #3988 from jayaddison/pr-3957-followup/empty-name-field

Indexing: fixup: add presence check for hstore 'name' field

2 months agoIndexing: fixup: add presence check for hstore `name` field
James Addison [Sun, 15 Feb 2026 23:26:28 +0000 (23:26 +0000)]
Indexing: fixup: add presence check for hstore `name` field

2 months agoIndexer: allow `has_pending` to consider address-rank subsets
James Addison [Wed, 11 Feb 2026 14:21:17 +0000 (14:21 +0000)]
Indexer: allow `has_pending` to consider address-rank subsets

2 months agomake database import unit tests against real SQL
Sarah Hoffmann [Sun, 15 Feb 2026 20:38:38 +0000 (21:38 +0100)]
make database import unit tests against real SQL

2 months agouse original tables for database check tests
Sarah Hoffmann [Sun, 15 Feb 2026 19:17:20 +0000 (20:17 +0100)]
use original tables for database check tests

2 months agoMerge pull request #3987 from lonvia/rework-postcode-tests
Sarah Hoffmann [Sun, 15 Feb 2026 20:42:54 +0000 (21:42 +0100)]
Merge pull request #3987 from lonvia/rework-postcode-tests

Rework postcode unit tests

2 months agoreplace postcode mock with standard postcode table fixtures
Sarah Hoffmann [Fri, 13 Feb 2026 19:58:48 +0000 (20:58 +0100)]
replace postcode mock with standard postcode table fixtures

2 months agoci/windows: install osm2pgsql binary and enable full unit tests suite
Sri CHaRan [Tue, 3 Feb 2026 18:06:37 +0000 (23:36 +0530)]
ci/windows: install osm2pgsql binary and enable full unit tests suite

2 months agoci/windows: enable full python unit test setup for windows
Sri CHaRan [Mon, 2 Feb 2026 02:53:48 +0000 (08:23 +0530)]
ci/windows: enable full python unit test setup for windows

2 months agoci/windows: add Postgresql setup action to tests
Sri CHaRan [Thu, 29 Jan 2026 16:19:59 +0000 (21:49 +0530)]
ci/windows: add Postgresql setup action to tests

2 months agoimplement stage 1 : python unit tests
Sri Charan Chittineni [Sat, 17 Jan 2026 04:55:44 +0000 (10:25 +0530)]
implement stage 1 : python unit tests

2 months agoAdd experimental Windows CI workflow
Sri CHaRan [Mon, 29 Dec 2025 18:37:49 +0000 (00:07 +0530)]
Add experimental Windows CI workflow

2 months agoMerge pull request #3986 from lonvia/rework-tiger-tests
Sarah Hoffmann [Fri, 13 Feb 2026 13:11:04 +0000 (14:11 +0100)]
Merge pull request #3986 from lonvia/rework-tiger-tests

Rework unit tests for import of tiger data

2 months agoMerge pull request #3985 from lonvia/rework-indexing-test
Sarah Hoffmann [Fri, 13 Feb 2026 11:06:51 +0000 (12:06 +0100)]
Merge pull request #3985 from lonvia/rework-indexing-test

Rework unit tests for indexing

2 months agorework tiger unit tests to use production pgsql functions
Sarah Hoffmann [Fri, 13 Feb 2026 10:16:40 +0000 (11:16 +0100)]
rework tiger unit tests to use production pgsql functions

2 months agopass reverse-only as a separate parameter
Sarah Hoffmann [Thu, 12 Feb 2026 09:56:52 +0000 (10:56 +0100)]
pass reverse-only as a separate parameter

... instead of hacking the internal structures of SQLPreprocessor

2 months agorewrite indexing tests to use standard table fixtures
Sarah Hoffmann [Fri, 13 Feb 2026 10:03:18 +0000 (11:03 +0100)]
rewrite indexing tests to use standard table fixtures

2 months agoadd fixtures for postcode, interpolation table creation and filling
Sarah Hoffmann [Fri, 13 Feb 2026 09:57:59 +0000 (10:57 +0100)]
add fixtures for postcode, interpolation table creation and filling

2 months agoMerge pull request #3984 from lonvia/avoid-custom-table-definition-in-tests
Sarah Hoffmann [Fri, 13 Feb 2026 08:16:44 +0000 (09:16 +0100)]
Merge pull request #3984 from lonvia/avoid-custom-table-definition-in-tests

Reuse table creation SQL in unittest

2 months agouse load_sql fixture instead of explicit SQLPreprocessor
Sarah Hoffmann [Thu, 12 Feb 2026 21:18:37 +0000 (22:18 +0100)]
use load_sql fixture instead of explicit SQLPreprocessor

2 months agoreorganise fixtures for placex table
Sarah Hoffmann [Thu, 12 Feb 2026 21:14:15 +0000 (22:14 +0100)]
reorganise fixtures for placex table

Now follows the same pattern as fixtures for other tables and
uses the production SQL for table creation.

2 months agosimplify property test table implementation
Sarah Hoffmann [Thu, 12 Feb 2026 20:15:03 +0000 (21:15 +0100)]
simplify property test table implementation

2 months agoswitch table definitions in conftest to use production SQL
Sarah Hoffmann [Thu, 12 Feb 2026 20:12:10 +0000 (21:12 +0100)]
switch table definitions in conftest to use production SQL

2 months agoadd fixtures for country table
Sarah Hoffmann [Thu, 12 Feb 2026 19:14:13 +0000 (20:14 +0100)]
add fixtures for country table

2 months agoadd function for inserting data to testing cursor
Sarah Hoffmann [Thu, 12 Feb 2026 18:49:52 +0000 (19:49 +0100)]
add function for inserting data to testing cursor

2 months agouse better SQL quoting in test cursor implementation
Sarah Hoffmann [Thu, 12 Feb 2026 16:30:25 +0000 (17:30 +0100)]
use better SQL quoting in test cursor implementation

2 months agofix potential cancelling race with full queue
Sarah Hoffmann [Thu, 12 Feb 2026 16:18:48 +0000 (17:18 +0100)]
fix potential cancelling race with full queue

2 months agoMerge pull request #3982 from lonvia/split-table-creation
Sarah Hoffmann [Thu, 12 Feb 2026 16:42:45 +0000 (17:42 +0100)]
Merge pull request #3982 from lonvia/split-table-creation

Split up table creation SQL

2 months agosplit up table creation SQL into separate files
Sarah Hoffmann [Thu, 12 Feb 2026 15:36:10 +0000 (16:36 +0100)]
split up table creation SQL into separate files

2 months agoremove unused indexes and sequences
Sarah Hoffmann [Wed, 11 Feb 2026 14:37:32 +0000 (15:37 +0100)]
remove unused indexes and sequences

2 months agoMerge pull request #3957 from jayaddison/issue-2714/linked-places-default-language
Sarah Hoffmann [Wed, 11 Feb 2026 14:08:18 +0000 (15:08 +0100)]
Merge pull request #3957 from jayaddison/issue-2714/linked-places-default-language

Indexing: add default-language placename from linked places

2 months agoMerge pull request #3979 from jayaddison/issue-2714-prep/extract-rank-zero-specialcasing
Sarah Hoffmann [Wed, 11 Feb 2026 14:05:28 +0000 (15:05 +0100)]
Merge pull request #3979 from jayaddison/issue-2714-prep/extract-rank-zero-specialcasing

Indexer: relocate zero-ranked-address indexing

2 months agoMerge pull request #3980 from lonvia/security-smells
Sarah Hoffmann [Tue, 10 Feb 2026 14:26:34 +0000 (15:26 +0100)]
Merge pull request #3980 from lonvia/security-smells

Improve SQL query assembly

2 months agoIndexer: relocate zero-ranked-address indexing
James Addison [Sun, 1 Feb 2026 20:43:06 +0000 (20:43 +0000)]
Indexer: relocate zero-ranked-address indexing

2 months agoignore tables with odd names in SQLPreprocessor
Sarah Hoffmann [Tue, 10 Feb 2026 10:33:04 +0000 (11:33 +0100)]
ignore tables with odd names in SQLPreprocessor

2 months agoavoid f-strings in SQL creation in tests
Sarah Hoffmann [Mon, 9 Feb 2026 20:25:01 +0000 (21:25 +0100)]
avoid f-strings in SQL creation in tests

2 months agouse psycopg.sql for SQL building in tokenizer
Sarah Hoffmann [Mon, 9 Feb 2026 20:21:18 +0000 (21:21 +0100)]
use psycopg.sql for SQL building in tokenizer

2 months agoonly allow alphanumeric and dash in DATABASE_WEBUSER
Sarah Hoffmann [Mon, 9 Feb 2026 20:07:31 +0000 (21:07 +0100)]
only allow alphanumeric and dash in DATABASE_WEBUSER

This variable is used a lot in raw SQL. Avoid injection issues.

2 months agosanity check class names before inserting into classtype tables
Sarah Hoffmann [Mon, 9 Feb 2026 15:26:15 +0000 (16:26 +0100)]
sanity check class names before inserting into classtype tables

The subsequent INSERT is done on an unqouted table name, making in
theory an SQL injection through an OSM value possible. In practise
this cannot happen because we check for the existance of the table.
During the creation of the classtype tables there is a sanity
check in place to disallow any table names that consist of anything
other than alphanumeric characters.

2 months agoMerge pull request #3978 from jayaddison/issue-2714-prep/index-boundaries-method...
Sarah Hoffmann [Tue, 10 Feb 2026 08:45:29 +0000 (09:45 +0100)]
Merge pull request #3978 from jayaddison/issue-2714-prep/index-boundaries-method-signature-nitpick

Refactor: add default params to Indexer.index_boundaries

2 months agoMerge pull request #3975 from kad-link/fix/utf8-encoding-clean
Sarah Hoffmann [Tue, 10 Feb 2026 08:32:06 +0000 (09:32 +0100)]
Merge pull request #3975 from kad-link/fix/utf8-encoding-clean

Fix: Enforce explicit UTF-8 encoding in file I/O

2 months agoRefactor: add default params to `index_boundaries`
James Addison [Sun, 1 Feb 2026 18:42:24 +0000 (18:42 +0000)]
Refactor: add default params to `index_boundaries`

2 months agofix: add utf-8 encoding in read-write files
Sri CHaRan [Sun, 8 Feb 2026 13:44:57 +0000 (19:14 +0530)]
fix: add utf-8 encoding in read-write files

2 months agoIndexing: invert boolean logic to factor-out empty `ELSE` clause
James Addison [Mon, 9 Feb 2026 18:33:02 +0000 (18:33 +0000)]
Indexing: invert boolean logic to factor-out empty `ELSE` clause

Relates-to commit fa2a789e270a716be8655ce75ba5ed37fba9e09d.

2 months agoMerge pull request #3970 from lonvia/improve-dev-docs
Sarah Hoffmann [Thu, 5 Feb 2026 20:57:54 +0000 (21:57 +0100)]
Merge pull request #3970 from lonvia/improve-dev-docs

Some minor improvement to developer docs

2 months agoIndexing: manage the case where no default-language exists
James Addison [Thu, 5 Feb 2026 20:48:01 +0000 (20:48 +0000)]
Indexing: manage the case where no default-language exists

Relates-to commit 6fee784c9fc2bf6ca9428482713347258161e0cc.

2 months agoMerge pull request #3960 from jayaddison/tests/has-pending-monkeypatch-robustness
Sarah Hoffmann [Thu, 5 Feb 2026 20:05:57 +0000 (21:05 +0100)]
Merge pull request #3960 from jayaddison/tests/has-pending-monkeypatch-robustness

Tests: parameter-agnostic 'Indexer.has_pending' monkeypatching

2 months agopoint to developer docs from CONTRIBUTING.md
Sarah Hoffmann [Thu, 5 Feb 2026 19:51:41 +0000 (20:51 +0100)]
point to developer docs from CONTRIBUTING.md

2 months agodocs: fix list of packages for development install
Sarah Hoffmann [Thu, 5 Feb 2026 19:45:18 +0000 (20:45 +0100)]
docs: fix list of packages for development install