]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
9 days agoprepare release 5.3.2.post7 master
Sarah Hoffmann [Wed, 10 Jun 2026 18:01:51 +0000 (20:01 +0200)]
prepare release 5.3.2.post7

9 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 10 Jun 2026 17:36:01 +0000 (19:36 +0200)]
Merge remote-tracking branch 'upstream/master'

9 days agoMerge pull request #4124 from lonvia/rodavia-prefix-for-brazil
Sarah Hoffmann [Wed, 10 Jun 2026 17:35:22 +0000 (19:35 +0200)]
Merge pull request #4124 from lonvia/rodavia-prefix-for-brazil

Add sanitizer to create 'Rodovia BR-XXX' name in Brazil

9 days agoadd sanitizer to create 'Rodovia BR-XXX' name in Brazil
Sarah Hoffmann [Wed, 10 Jun 2026 09:18:02 +0000 (11:18 +0200)]
add sanitizer to create 'Rodovia BR-XXX' name in Brazil

10 days agoMerge pull request #4122 from lonvia/more-type-aliases
Sarah Hoffmann [Tue, 9 Jun 2026 14:14:13 +0000 (16:14 +0200)]
Merge pull request #4122 from lonvia/more-type-aliases

Add some type aliases for better readability

10 days agoremove typing workaround for Python < 3.9
Sarah Hoffmann [Tue, 9 Jun 2026 12:25:54 +0000 (14:25 +0200)]
remove typing workaround for Python < 3.9

10 days agoadd type alias for sanitizer main function
Sarah Hoffmann [Tue, 9 Jun 2026 12:17:54 +0000 (14:17 +0200)]
add type alias for sanitizer main function

10 days agoadd type alias for PlaceName lists
Sarah Hoffmann [Tue, 9 Jun 2026 10:00:19 +0000 (12:00 +0200)]
add type alias for PlaceName lists

10 days agoMerge pull request #4121 from lonvia/improve-regex-matcher
Sarah Hoffmann [Tue, 9 Jun 2026 09:25:10 +0000 (11:25 +0200)]
Merge pull request #4121 from lonvia/improve-regex-matcher

Improvements to regex query preprocessor

11 days agoprepare release 5.3.2.post6
Sarah Hoffmann [Mon, 8 Jun 2026 09:55:10 +0000 (11:55 +0200)]
prepare release 5.3.2.post6

11 days agostrip replaced phrases
Sarah Hoffmann [Mon, 8 Jun 2026 09:26:58 +0000 (11:26 +0200)]
strip replaced phrases

11 days agomake sure 'replacements' exists and is of right type
Sarah Hoffmann [Mon, 8 Jun 2026 09:24:13 +0000 (11:24 +0200)]
make sure 'replacements' exists and is of right type

11 days agoadd query preprocessor for IPs and long strings of short words
Sarah Hoffmann [Mon, 8 Jun 2026 08:41:19 +0000 (10:41 +0200)]
add query preprocessor for IPs and long strings of short words

11 days agoimprove documentation and mention required 'replacements' parameter
Sarah Hoffmann [Mon, 8 Jun 2026 08:46:09 +0000 (10:46 +0200)]
improve documentation and mention required 'replacements' parameter

11 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 8 Jun 2026 08:17:37 +0000 (10:17 +0200)]
Merge remote-tracking branch 'upstream/master'

11 days agoMerge pull request #4116 from AyushDharDubey/issue_4080_add-external-postcode-geometr...
Sarah Hoffmann [Mon, 8 Jun 2026 08:10:56 +0000 (10:10 +0200)]
Merge pull request #4116 from AyushDharDubey/issue_4080_add-external-postcode-geometry-support

Add Support for External Postcode Geometry Import via JSONL Files

12 days agoMerge pull request #4120 from osm-search/lonvia-patch-1
Sarah Hoffmann [Sun, 7 Jun 2026 13:42:13 +0000 (15:42 +0200)]
Merge pull request #4120 from osm-search/lonvia-patch-1

Add a line in CONTRIBUTING.md on agent-driven contributions

12 days agoadd hint of agent-driven PRs
Sarah Hoffmann [Sun, 7 Jun 2026 09:52:10 +0000 (11:52 +0200)]
add hint of agent-driven PRs

12 days agoMerge pull request #4119 from lonvia/improve-housenumber-handling
Sarah Hoffmann [Sun, 7 Jun 2026 07:43:57 +0000 (09:43 +0200)]
Merge pull request #4119 from lonvia/improve-housenumber-handling

Enhance sanitizing for housenumbers

13 days agodrop unit,floor,flats from search index
Sarah Hoffmann [Sat, 6 Jun 2026 16:21:08 +0000 (18:21 +0200)]
drop unit,floor,flats from search index

These cannot be searched meaningfully without a classifier.

13 days agobe more restrict with accetable names for search index
Sarah Hoffmann [Sat, 6 Jun 2026 15:52:40 +0000 (17:52 +0200)]
be more restrict with accetable names for search index

Excludes all names with URLs in them and for address names also
anything with a =. The latter are mostly tagging errors where two
tags have been joined. Furthermore convert very long housenumbers
into names.

2 weeks agofix: exclude area pcs from csv import
Ayush Dhar Dubey [Fri, 5 Jun 2026 19:08:28 +0000 (00:38 +0530)]
fix: exclude area pcs from csv import

2 weeks agoupdate pc geom logic in postcode search
Ayush Dhar Dubey [Wed, 3 Jun 2026 19:19:46 +0000 (00:49 +0530)]
update pc geom logic in postcode search

2 weeks agoupdate database layout location_postcodes definition
Ayush Dhar Dubey [Wed, 3 Jun 2026 18:57:33 +0000 (00:27 +0530)]
update database layout location_postcodes definition

2 weeks agoupdate details for jsonl format
Ayush Dhar Dubey [Thu, 21 May 2026 12:36:36 +0000 (18:06 +0530)]
update details for jsonl format

2 weeks agoadd test for jsonl files
Ayush Dhar Dubey [Wed, 3 Jun 2026 18:29:39 +0000 (23:59 +0530)]
add test for jsonl files

2 weeks agoadd support for external postcode geometry
Ayush Dhar Dubey [Wed, 3 Jun 2026 18:29:30 +0000 (23:59 +0530)]
add support for external postcode geometry

2 weeks agoadd is_area in location_postcodes
Ayush Dhar Dubey [Wed, 3 Jun 2026 18:29:10 +0000 (23:59 +0530)]
add is_area in location_postcodes

2 weeks agoMerge pull request #4114 from BHARATH0153/feat/country-sanitizers
Sarah Hoffmann [Fri, 5 Jun 2026 07:33:55 +0000 (09:33 +0200)]
Merge pull request #4114 from BHARATH0153/feat/country-sanitizers

feat: add support for country-specific sanitizers #4098

2 weeks agorefactor: add SanitizerRules alias, use dict, deduplicate step validation
BHARATH0153 [Thu, 4 Jun 2026 08:32:11 +0000 (14:02 +0530)]
refactor: add SanitizerRules alias, use dict, deduplicate step validation

2 weeks agoFix mypy no-redef: rename country_rules module variable
BHARATH0153 [Tue, 2 Jun 2026 16:39:41 +0000 (22:09 +0530)]
Fix mypy no-redef: rename country_rules module variable

2 weeks agofeat: add support for country-specific sanitizers
BHARATH0153 [Tue, 2 Jun 2026 07:03:51 +0000 (12:33 +0530)]
feat: add support for country-specific sanitizers

Add a sanitizers section in the country configuration to allow
providing sanitizers that only apply to a specific country.
Country-specific sanitizers run after the generic sanitizers
have finished.

The configuration is read from the 'sanitizers' key in each
country's entry in country_settings.yaml.

2 weeks agoMerge pull request #4115 from lonvia/fix-package-build
Sarah Hoffmann [Tue, 2 Jun 2026 11:52:24 +0000 (13:52 +0200)]
Merge pull request #4115 from lonvia/fix-package-build

Explicitly exclude source-only files from wheel builds

2 weeks agoexplicitly exclude source-only files from wheel builds
Sarah Hoffmann [Tue, 2 Jun 2026 08:45:02 +0000 (10:45 +0200)]
explicitly exclude source-only files from wheel builds

2 weeks agoMerge pull request #4109 from lonvia/fuzzy/move-sanitizer-out-of-tokenizer
Sarah Hoffmann [Sun, 31 May 2026 14:00:44 +0000 (16:00 +0200)]
Merge pull request #4109 from lonvia/fuzzy/move-sanitizer-out-of-tokenizer

Move sanitizer and query preprocessing out of the ICU tokenizer

2 weeks agobetter naming for sanitized names
Sarah Hoffmann [Sat, 30 May 2026 18:27:41 +0000 (20:27 +0200)]
better naming for sanitized names

2 weeks agomove documention for query processing into separate sections
Sarah Hoffmann [Sat, 30 May 2026 12:49:03 +0000 (14:49 +0200)]
move documention for query processing into separate sections

2 weeks agomove query processing setting into separate file
Sarah Hoffmann [Sat, 30 May 2026 11:57:06 +0000 (13:57 +0200)]
move query processing setting into separate file

2 weeks agomove query preprocessing out of ICU tokenizer
Sarah Hoffmann [Sat, 30 May 2026 10:05:34 +0000 (12:05 +0200)]
move query preprocessing out of ICU tokenizer

Normalization is moved back from a preprocessing function to
a first step in the tokenizer analysis.

3 weeks agomove sanitizer documentation out of the tokenizer section
Sarah Hoffmann [Fri, 29 May 2026 13:50:56 +0000 (15:50 +0200)]
move sanitizer documentation out of the tokenizer section

3 weeks agomove sanitzier processing out of tokenizer
Sarah Hoffmann [Thu, 28 May 2026 20:25:53 +0000 (22:25 +0200)]
move sanitzier processing out of tokenizer

3 weeks agomove sanitized names into PlaceInfo
Sarah Hoffmann [Thu, 28 May 2026 17:01:32 +0000 (19:01 +0200)]
move sanitized names into PlaceInfo

3 weeks agoMerge pull request #4108 from lonvia/reverse-area-race
Sarah Hoffmann [Fri, 29 May 2026 13:01:18 +0000 (15:01 +0200)]
Merge pull request #4108 from lonvia/reverse-area-race

Improve reverse geocoding near overlapping POIs

3 weeks agomove sanitizer creation out of ICURuleLoader
Sarah Hoffmann [Thu, 28 May 2026 14:18:10 +0000 (16:18 +0200)]
move sanitizer creation out of ICURuleLoader

3 weeks agorefactor index runner to remove analyzer dependency
Sarah Hoffmann [Thu, 28 May 2026 12:47:31 +0000 (14:47 +0200)]
refactor index runner to remove analyzer dependency

3 weeks agoMerge pull request #4107 from lonvia/fix-ci-migration-test
Sarah Hoffmann [Fri, 29 May 2026 11:13:16 +0000 (13:13 +0200)]
Merge pull request #4107 from lonvia/fix-ci-migration-test

CI: fix migration test by running actual migrated code

3 weeks agoreverse: do not jump to POI nodes with different house numbers
Sarah Hoffmann [Fri, 29 May 2026 10:00:37 +0000 (12:00 +0200)]
reverse: do not jump to POI nodes with different house numbers

3 weeks agoreverse: make sure smaller POI area is returned when two areas overlap
Sarah Hoffmann [Wed, 27 May 2026 09:04:39 +0000 (11:04 +0200)]
reverse: make sure smaller POI area is returned when two areas overlap

3 weeks agoCI: fix migration test by running actual migrated code
Sarah Hoffmann [Fri, 29 May 2026 08:07:38 +0000 (10:07 +0200)]
CI: fix migration test by running actual migrated code

3 weeks agoMerge pull request #4103 from lonvia/ignore-non-language-suffixes
Sarah Hoffmann [Fri, 29 May 2026 07:08:42 +0000 (09:08 +0200)]
Merge pull request #4103 from lonvia/ignore-non-language-suffixes

Improve language-awareness of `name:left` and `name:right` tags

3 weeks agoignore :forward and :backward names
Sarah Hoffmann [Tue, 26 May 2026 14:10:19 +0000 (16:10 +0200)]
ignore :forward and :backward names

They duplicate name:left and name:right.

3 weeks agoadd :left and :right to the list of non-language suffixes
Sarah Hoffmann [Tue, 26 May 2026 14:07:45 +0000 (16:07 +0200)]
add :left and :right to the list of non-language suffixes

3 weeks agoslightly optimise suffix matching
Sarah Hoffmann [Tue, 26 May 2026 14:02:48 +0000 (16:02 +0200)]
slightly optimise suffix matching

3 weeks agoadd new suffix-ignore parameter to language tagging sanatizer
Sarah Hoffmann [Tue, 26 May 2026 13:53:10 +0000 (15:53 +0200)]
add new suffix-ignore parameter to language tagging sanatizer

Allows to specify suffixes which are not used as language
markers.

3 weeks agoprepare release 5.3.2.post5
Sarah Hoffmann [Tue, 26 May 2026 12:24:25 +0000 (14:24 +0200)]
prepare release 5.3.2.post5

3 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 26 May 2026 07:47:35 +0000 (09:47 +0200)]
Merge remote-tracking branch 'upstream/master'

3 weeks agoMerge pull request #4101 from Itz-Agasta/artificial-postcodes
Sarah Hoffmann [Mon, 25 May 2026 12:37:17 +0000 (14:37 +0200)]
Merge pull request #4101 from Itz-Agasta/artificial-postcodes

Add stable postcode refs for details lookup and search exclusion

3 weeks agoPreserve postcode index usage for postcode refs
Itz-Agasta [Sun, 24 May 2026 17:58:26 +0000 (23:28 +0530)]
Preserve postcode index usage for postcode refs

Removes hyphen normalization from postcode handling to match only on spaces,
ensuring consistency between API usage, documentation, and database queries.

3 weeks agoClarifies postcode reference format in API docs
Itz-Agasta [Sat, 23 May 2026 18:07:51 +0000 (23:37 +0530)]
Clarifies postcode reference format in API docs

Explains that spaces and hyphens in postcode IDs are replaced
with underscores in stable postcode references and adds new
examples for clarity. Improves guidance for constructing and
using postcode refs in API endpoints.

3 weeks agoAdd dedicated postcode param, stable IDs, normalised matching
Itz-Agasta [Sat, 23 May 2026 18:07:24 +0000 (23:37 +0530)]
Add dedicated postcode param, stable IDs, normalised matching

4 weeks agoMerge pull request #4099 from Janjko/master
Sarah Hoffmann [Fri, 22 May 2026 12:34:43 +0000 (14:34 +0200)]
Merge pull request #4099 from Janjko/master

Added the Croatian variants yaml

4 weeks agoMerge pull request #4100 from lonvia/affix-expansion
Sarah Hoffmann [Thu, 21 May 2026 09:26:29 +0000 (11:26 +0200)]
Merge pull request #4100 from lonvia/affix-expansion

Add sanitizer for handling name prefixes and suffixes

4 weeks agoDocument stable postcode references
Itz-Agasta [Wed, 20 May 2026 20:59:33 +0000 (02:29 +0530)]
Document stable postcode references

4 weeks agoSupport postcode refs in excluded search results
Itz-Agasta [Wed, 20 May 2026 20:58:31 +0000 (02:28 +0530)]
Support postcode refs in excluded search results

4 weeks agoSupport postcode refs in lookup and details
Itz-Agasta [Wed, 20 May 2026 20:57:51 +0000 (02:27 +0530)]
Support postcode refs in lookup and details

- resolve postcode refs in postcode-table lookups
- accept `place_ref` in the v1 details endpoint
- add tests for details and lookup behavior

4 weeks agoAdd stable postcode reference type support
Itz-Agasta [Wed, 20 May 2026 20:55:15 +0000 (02:25 +0530)]
Add stable postcode reference type support

- add `PostcodeRef` and parsing helpers
- allow postcode refs in excluded IDs
- export the new public API type

4 weeks agoadapt BDD test for new prefix handling
Sarah Hoffmann [Wed, 20 May 2026 18:17:43 +0000 (20:17 +0200)]
adapt BDD test for new prefix handling

4 weeks agoadd affix handling to default config
Sarah Hoffmann [Wed, 20 May 2026 17:36:34 +0000 (19:36 +0200)]
add affix handling to default config

4 weeks agoCreate variants-hr.yaml
Janko Mihelić [Fri, 15 May 2026 10:56:25 +0000 (12:56 +0200)]
Create variants-hr.yaml

4 weeks agoadd documentation for new sanitizer
Sarah Hoffmann [Wed, 20 May 2026 16:07:39 +0000 (18:07 +0200)]
add documentation for new sanitizer

4 weeks agoadd sanitizer for prefix/suffix expansion
Sarah Hoffmann [Wed, 20 May 2026 15:07:24 +0000 (17:07 +0200)]
add sanitizer for prefix/suffix expansion

4 weeks agoprepare release 5.3.2.post4
Sarah Hoffmann [Wed, 20 May 2026 09:28:12 +0000 (11:28 +0200)]
prepare release 5.3.2.post4

4 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 20 May 2026 08:21:50 +0000 (10:21 +0200)]
Merge remote-tracking branch 'upstream/master'

4 weeks agoMerge pull request #4088 from Itz-Agasta/language-reranking
Sarah Hoffmann [Wed, 20 May 2026 07:54:53 +0000 (09:54 +0200)]
Merge pull request #4088 from Itz-Agasta/language-reranking

Use locale-aware names for search result reranking

4 weeks agoadd function for choice parameters to sanitizer config
Sarah Hoffmann [Mon, 18 May 2026 17:53:02 +0000 (19:53 +0200)]
add function for choice parameters to sanitizer config

4 weeks agoImproves locale name matching for address ranking
Itz-Agasta [Sat, 16 May 2026 13:37:34 +0000 (19:07 +0530)]
Improves locale name matching for address ranking

Enhances address ranking accuracy by comparing normalized query text
against all localized name variants and country code, rather than
a single locale name. Reduces false positives and improves ranking
for multilingual search scenarios.

5 weeks agoMerge pull request #4097 from lonvia/more-sanatizing
Sarah Hoffmann [Fri, 15 May 2026 07:08:47 +0000 (09:08 +0200)]
Merge pull request #4097 from lonvia/more-sanatizing

New sanitizers: delete-names and derive-names

5 weeks agochange to new delete-names sanitizer
Sarah Hoffmann [Thu, 14 May 2026 18:48:29 +0000 (20:48 +0200)]
change to new delete-names sanitizer

5 weeks agoMerge pull request #4081 from jeremy-code/jeremy-code-patch-1
Sarah Hoffmann [Thu, 14 May 2026 18:57:58 +0000 (20:57 +0200)]
Merge pull request #4081 from jeremy-code/jeremy-code-patch-1

Update JSON structure in Reverse.md documentation

5 weeks agonew sanitizer to derive addtional names
Sarah Hoffmann [Thu, 14 May 2026 18:03:57 +0000 (20:03 +0200)]
new sanitizer to derive addtional names

5 weeks agoadd parameter to regex function to sanitizer config
Sarah Hoffmann [Thu, 14 May 2026 09:35:43 +0000 (11:35 +0200)]
add parameter to regex function to sanitizer config

5 weeks agoreplace delete-tags sanitizer with one with better parameter names
Sarah Hoffmann [Tue, 12 May 2026 15:32:41 +0000 (17:32 +0200)]
replace delete-tags sanitizer with one with better parameter names

5 weeks agoUse locale name comparison for low-rank results
Itz-Agasta [Wed, 13 May 2026 18:08:39 +0000 (23:38 +0530)]
Use locale name comparison for low-rank results

5 weeks agoUpdate JSON structure in Reverse.md documentation
Jeremy Nguyen [Wed, 13 May 2026 01:06:01 +0000 (18:06 -0700)]
Update JSON structure in Reverse.md documentation

- Update JSON structure in Reverse.md docs based on current API (see https://nominatim.openstreetmap.org/reverse?lon=11.3398676&lat=44.5015307&format=geojson)

5 weeks agogeneralise filter code of the delete tags sanitizer
Sarah Hoffmann [Tue, 12 May 2026 14:27:39 +0000 (16:27 +0200)]
generalise filter code of the delete tags sanitizer

5 weeks agoMerge pull request #4095 from lonvia/restrict-country-search
Sarah Hoffmann [Tue, 12 May 2026 11:59:34 +0000 (13:59 +0200)]
Merge pull request #4095 from lonvia/restrict-country-search

Do not search for countries when country restriction is in place

5 weeks agocheck for illegal sanitizer names
Sarah Hoffmann [Fri, 8 May 2026 19:50:50 +0000 (21:50 +0200)]
check for illegal sanitizer names

5 weeks agodo not search for countries when country retriction is in place
Sarah Hoffmann [Tue, 12 May 2026 07:27:56 +0000 (09:27 +0200)]
do not search for countries when country retriction is in place

5 weeks agoRemoves unused Set import and updates set type hints
Itz-Agasta [Mon, 11 May 2026 15:14:38 +0000 (20:44 +0530)]
Removes unused Set import and updates set type hints

5 weeks agoImproves geocoder reranking logic for locale-specific names
Itz-Agasta [Sat, 9 May 2026 15:35:43 +0000 (21:05 +0530)]
Improves geocoder reranking logic for locale-specific names

- Refines how result labels are aggregated for reranking by using sets of localized names instead of concatenated strings.

- Updates tests to reflect improved handling of locale-specific queries.

5 weeks agotest: add BDD scenario for locale-aware reranking (#3871)
Itz-Agasta [Sun, 3 May 2026 10:08:05 +0000 (15:38 +0530)]
test: add BDD scenario for locale-aware reranking (#3871)

Add a test scenario where a place with a non-English local name
and an English name:en alias competes against a place with only
an English name. Verifies that accept-language=en correctly

5 weeks agouse locale-aware names for query word matching
Itz-Agasta [Sun, 3 May 2026 10:07:15 +0000 (15:37 +0530)]
use locale-aware names for query word matching

When reranking search results, the word matching pool was built only
from display_name, which returns the local name (e.g., "Αθήνα" for
Athens, Greece). This caused results with translated names to receive
unfair distance penalties when the caller used accept-language.
Introduce _get_result_rerank_text() which builds the reranking text
using locale-aware name resolution from locales.display_name(). This
ensures that name variants like name:en are included in the word
matching pool when the caller requests a specific language.

6 weeks agoprepare release 5.3.2.post3
Sarah Hoffmann [Thu, 7 May 2026 18:56:11 +0000 (20:56 +0200)]
prepare release 5.3.2.post3

6 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 7 May 2026 18:36:06 +0000 (20:36 +0200)]
Merge remote-tracking branch 'upstream/master'

6 weeks agoMerge pull request #4090 from lonvia/filter-bad-refs
Sarah Hoffmann [Thu, 7 May 2026 17:06:09 +0000 (19:06 +0200)]
Merge pull request #4090 from lonvia/filter-bad-refs

Add sanitizer for suspicious ref values

6 weeks agofix new mypy warnings
Sarah Hoffmann [Thu, 7 May 2026 14:00:08 +0000 (16:00 +0200)]
fix new mypy warnings

6 weeks agoincrease minimum Python version for mypy to 3.10
Sarah Hoffmann [Thu, 7 May 2026 12:42:40 +0000 (14:42 +0200)]
increase minimum Python version for mypy to 3.10

Not raising the minimum required version yet.

6 weeks agoadd sanitizer for suspicious ref values
Sarah Hoffmann [Thu, 7 May 2026 11:45:18 +0000 (13:45 +0200)]
add sanitizer for suspicious ref values

Mostly for filtering ref tags from German post boxes.

6 weeks agoMerge pull request #4087 from lonvia/remove-special-cases-for-sk
Sarah Hoffmann [Sat, 2 May 2026 19:26:11 +0000 (21:26 +0200)]
Merge pull request #4087 from lonvia/remove-special-cases-for-sk

Remove ranking exceptions for Slovakia

6 weeks agoremove address level exceptions for Slovakia
Sarah Hoffmann [Sat, 2 May 2026 15:31:44 +0000 (17:31 +0200)]
remove address level exceptions for Slovakia

The country has been reorganised and now follows general conventions.