]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
5 months agopropagate changes in v1 API
Sri CHaRan [Fri, 6 Mar 2026 09:00:55 +0000 (14:30 +0530)]
propagate changes in v1 API

5 months agoresolve excluded OSM IDs to place IDs and ensure interpolations are excluded via...
Sri CHaRan [Fri, 6 Mar 2026 08:57:19 +0000 (14:27 +0530)]
resolve excluded OSM IDs to place IDs and ensure interpolations are excluded via parent street

5 months agoadd excluded_place_ids property to extract PlaceID values for SQL filtering
Sri CHaRan [Fri, 6 Mar 2026 08:47:14 +0000 (14:17 +0530)]
add excluded_place_ids property to extract PlaceID values for SQL filtering

6 months agoInvalidate house members on associatedStreet changes
Itz-Agasta [Fri, 27 Feb 2026 12:44:39 +0000 (18:14 +0530)]
Invalidate house members on associatedStreet changes

Ensures that updates to associatedStreet relations trigger re-indexing
of associated house members, allowing their parent_place_id to be
recomputed during the next indexing run. Addresses inconsistencies
caused by changes to relation membership, improving data accuracy.

6 months agoMerge pull request #4027 from lonvia/contributing-amandments
Sarah Hoffmann [Wed, 11 Mar 2026 10:02:16 +0000 (11:02 +0100)]
Merge pull request #4027 from lonvia/contributing-amandments

Amandments to the CONTRIBUTING guidelines

6 months agoincrese recommended space for flatnode file
Sarah Hoffmann [Wed, 11 Mar 2026 10:00:37 +0000 (11:00 +0100)]
increse recommended space for flatnode file

6 months agoremove unused PROXY settings
Sarah Hoffmann [Wed, 11 Mar 2026 09:58:08 +0000 (10:58 +0100)]
remove unused PROXY settings

6 months agoremove unused USE_AUX_LOCATION_DATA setting
Sarah Hoffmann [Wed, 11 Mar 2026 09:55:23 +0000 (10:55 +0100)]
remove unused USE_AUX_LOCATION_DATA setting

6 months agoadd links to forum and discussions to CONTRIBUTING
Sarah Hoffmann [Wed, 11 Mar 2026 09:22:43 +0000 (10:22 +0100)]
add links to forum and discussions to CONTRIBUTING

6 months agoupdates on coding style and add permitted style changes
Sarah Hoffmann [Wed, 11 Mar 2026 09:17:25 +0000 (10:17 +0100)]
updates on coding style and add permitted style changes

6 months 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

6 months 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

6 months 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'

6 months 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

6 months 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

6 months 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'

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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.

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 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'

6 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

6 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

6 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

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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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'

6 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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

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

6 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

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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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.