]>
git.openstreetmap.org Git - nominatim.git/log
Sarah Hoffmann [Tue, 10 Mar 2026 22:04:41 +0000 (23:04 +0100)]
prepare release 5.2.0.post14
Sarah Hoffmann [Tue, 10 Mar 2026 21:43:32 +0000 (22:43 +0100)]
Merge remote-tracking branch 'upstream/master'
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
Sarah Hoffmann [Tue, 10 Mar 2026 10:42:02 +0000 (11:42 +0100)]
prepare release 5.2.0.post13
Sarah Hoffmann [Tue, 10 Mar 2026 08:26:34 +0000 (09:26 +0100)]
Merge remote-tracking branch 'upstream/master'
Sri Charan Chittineni [Tue, 10 Mar 2026 06:49:19 +0000 (06:49 +0000)]
add BDD scenario 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
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
Sarah Hoffmann [Mon, 9 Mar 2026 09:10:28 +0000 (10:10 +0100)]
add migration to backfill missing importance values
Sarah Hoffmann [Mon, 2 Mar 2026 10:48:09 +0000 (11:48 +0100)]
streamline selected columns in search CTEs
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.
Sarah Hoffmann [Mon, 2 Mar 2026 09:09:57 +0000 (10:09 +0100)]
remove importance fallbacks in search queries
Sarah Hoffmann [Mon, 2 Mar 2026 08:57:34 +0000 (09:57 +0100)]
enforce presence of importance value in placex
Sri Charan Chittineni [Mon, 9 Mar 2026 05:01:47 +0000 (05:01 +0000)]
modify import paths 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
Sri CHaRan [Sun, 8 Mar 2026 14:02:01 +0000 (19:32 +0530)]
add admin_level to extratags for XML and details API endpoint
Sri CHaRan [Sun, 8 Mar 2026 13:59:33 +0000 (19:29 +0530)]
add admin_level to extatags in JSON format
Sarah Hoffmann [Wed, 4 Mar 2026 16:50:14 +0000 (17:50 +0100)]
Merge remote-tracking branch 'upstream/master'
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
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
Sarah Hoffmann [Thu, 19 Feb 2026 15:04:12 +0000 (16:04 +0100)]
docs: update database layout in developer section
Sarah Hoffmann [Thu, 19 Feb 2026 10:07:43 +0000 (11:07 +0100)]
add migration for interpolation tables
Sarah Hoffmann [Wed, 18 Feb 2026 19:01:15 +0000 (20:01 +0100)]
revert importing of housenumber interpolations
Sarah Hoffmann [Tue, 17 Feb 2026 18:52:52 +0000 (19:52 +0100)]
add test for new interpolation variants
Sarah Hoffmann [Tue, 17 Feb 2026 15:29:47 +0000 (16:29 +0100)]
adapt BDD tests to separate interpolation table
Sarah Hoffmann [Mon, 16 Feb 2026 17:04:47 +0000 (18:04 +0100)]
BDD tests: factor out insert sql code
Sarah Hoffmann [Mon, 16 Feb 2026 15:25:54 +0000 (16:25 +0100)]
adapt unit tests to use separate interpolation table
Sarah Hoffmann [Mon, 16 Feb 2026 15:25:19 +0000 (16:25 +0100)]
adapt interpolation handling to use separate place_interpolation table
Sarah Hoffmann [Mon, 16 Feb 2026 13:18:39 +0000 (14:18 +0100)]
copy interpolation data from new place_interpolation table
Sarah Hoffmann [Mon, 16 Feb 2026 13:11:58 +0000 (14:11 +0100)]
import interpolation into separate place table
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
Sarah Hoffmann [Wed, 4 Mar 2026 10:26:17 +0000 (11:26 +0100)]
adjust expected count when doing housenumber search by address
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
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.
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
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
Jonas Endter [Mon, 2 Mar 2026 15:38:11 +0000 (16:38 +0100)]
fix link to importance data in documentation
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
Sarah Hoffmann [Sun, 22 Feb 2026 12:16:19 +0000 (13:16 +0100)]
location_postcodes does geometry lookups on centroid
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
Sarah Hoffmann [Sat, 21 Feb 2026 11:42:18 +0000 (12:42 +0100)]
add option to force a postcode reimport
Sarah Hoffmann [Fri, 20 Feb 2026 17:53:48 +0000 (18:53 +0100)]
avoid updates on initial filling of postcode table
Sarah Hoffmann [Thu, 19 Feb 2026 08:32:50 +0000 (09:32 +0100)]
prepare release 5.2.0.post11
Sarah Hoffmann [Thu, 19 Feb 2026 08:05:30 +0000 (09:05 +0100)]
Merge remote-tracking branch 'upstream/master'
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
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.
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
Sarah Hoffmann [Wed, 18 Feb 2026 10:39:48 +0000 (11:39 +0100)]
add support for expanding interpolations on housenumbers
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
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
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
James Addison [Sun, 15 Feb 2026 23:26:28 +0000 (23:26 +0000)]
Indexing: fixup: add presence check for hstore `name` field
James Addison [Wed, 11 Feb 2026 14:21:17 +0000 (14:21 +0000)]
Indexer: allow `has_pending` to consider address-rank subsets
Sarah Hoffmann [Sun, 15 Feb 2026 20:38:38 +0000 (21:38 +0100)]
make database import unit tests against real SQL
Sarah Hoffmann [Sun, 15 Feb 2026 19:17:20 +0000 (20:17 +0100)]
use original tables for database check 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
Sarah Hoffmann [Fri, 13 Feb 2026 19:58:48 +0000 (20:58 +0100)]
replace postcode mock with standard postcode table fixtures
Sri CHaRan [Tue, 3 Feb 2026 18:06:37 +0000 (23:36 +0530)]
ci/windows: install osm2pgsql binary and enable full unit tests suite
Sri CHaRan [Mon, 2 Feb 2026 02:53:48 +0000 (08:23 +0530)]
ci/windows: enable full python unit test setup for windows
Sri CHaRan [Thu, 29 Jan 2026 16:19:59 +0000 (21:49 +0530)]
ci/windows: add Postgresql setup action to tests
Sri Charan Chittineni [Sat, 17 Jan 2026 04:55:44 +0000 (10:25 +0530)]
implement stage 1 : python unit tests
Sri CHaRan [Mon, 29 Dec 2025 18:37:49 +0000 (00:07 +0530)]
Add experimental Windows CI workflow
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
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
Sarah Hoffmann [Fri, 13 Feb 2026 10:16:40 +0000 (11:16 +0100)]
rework tiger unit tests to use production pgsql functions
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
Sarah Hoffmann [Fri, 13 Feb 2026 10:03:18 +0000 (11:03 +0100)]
rewrite indexing tests to use standard table fixtures
Sarah Hoffmann [Fri, 13 Feb 2026 09:57:59 +0000 (10:57 +0100)]
add fixtures for postcode, interpolation table creation and filling
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
Sarah Hoffmann [Thu, 12 Feb 2026 21:18:37 +0000 (22:18 +0100)]
use load_sql fixture instead of explicit SQLPreprocessor
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.
Sarah Hoffmann [Thu, 12 Feb 2026 20:15:03 +0000 (21:15 +0100)]
simplify property test table implementation
Sarah Hoffmann [Thu, 12 Feb 2026 20:12:10 +0000 (21:12 +0100)]
switch table definitions in conftest to use production SQL
Sarah Hoffmann [Thu, 12 Feb 2026 19:14:13 +0000 (20:14 +0100)]
add fixtures for country table
Sarah Hoffmann [Thu, 12 Feb 2026 18:49:52 +0000 (19:49 +0100)]
add function for inserting data to testing cursor
Sarah Hoffmann [Thu, 12 Feb 2026 16:30:25 +0000 (17:30 +0100)]
use better SQL quoting in test cursor implementation
Sarah Hoffmann [Thu, 12 Feb 2026 16:18:48 +0000 (17:18 +0100)]
fix potential cancelling race with full queue
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
Sarah Hoffmann [Thu, 12 Feb 2026 15:36:10 +0000 (16:36 +0100)]
split up table creation SQL into separate files
Sarah Hoffmann [Wed, 11 Feb 2026 14:37:32 +0000 (15:37 +0100)]
remove unused indexes and sequences
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
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
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
James Addison [Sun, 1 Feb 2026 20:43:06 +0000 (20:43 +0000)]
Indexer: relocate zero-ranked-address indexing
Sarah Hoffmann [Tue, 10 Feb 2026 10:33:04 +0000 (11:33 +0100)]
ignore tables with odd names in SQLPreprocessor
Sarah Hoffmann [Mon, 9 Feb 2026 20:25:01 +0000 (21:25 +0100)]
avoid f-strings in SQL creation in tests
Sarah Hoffmann [Mon, 9 Feb 2026 20:21:18 +0000 (21:21 +0100)]
use psycopg.sql for SQL building in tokenizer
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.
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.
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
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
James Addison [Sun, 1 Feb 2026 18:42:24 +0000 (18:42 +0000)]
Refactor: add default params to `index_boundaries`
Sri CHaRan [Sun, 8 Feb 2026 13:44:57 +0000 (19:14 +0530)]
fix: add utf-8 encoding in read-write files
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 .
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
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 .
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
Sarah Hoffmann [Thu, 5 Feb 2026 19:51:41 +0000 (20:51 +0100)]
point to developer docs from CONTRIBUTING.md
Sarah Hoffmann [Thu, 5 Feb 2026 19:45:18 +0000 (20:45 +0100)]
docs: fix list of packages for development install
James Addison [Wed, 28 Jan 2026 00:13:20 +0000 (00:13 +0000)]
Indexing: add default-language placename from linked places