]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
11 months agoMerge pull request #3926 from lonvia/rework-postcode-handling
Sarah Hoffmann [Tue, 30 Dec 2025 14:54:33 +0000 (15:54 +0100)]
Merge pull request #3926 from lonvia/rework-postcode-handling

Reorganise postcode handling

11 months agoanalyze postcode table during import
Sarah Hoffmann [Sat, 27 Dec 2025 09:20:19 +0000 (10:20 +0100)]
analyze postcode table during import

11 months agosimplify postcode area for lookups
Sarah Hoffmann [Tue, 23 Dec 2025 22:24:33 +0000 (23:24 +0100)]
simplify postcode area for lookups

11 months agoadapt BDD tests for new postcode table structure
Sarah Hoffmann [Tue, 23 Dec 2025 21:26:43 +0000 (22:26 +0100)]
adapt BDD tests for new postcode table structure

11 months agoadapt unit tests to new postcode algorithms
Sarah Hoffmann [Tue, 23 Dec 2025 19:17:43 +0000 (20:17 +0100)]
adapt unit tests to new postcode algorithms

11 months agoadd migration for new postcode table
Sarah Hoffmann [Tue, 23 Dec 2025 18:12:50 +0000 (19:12 +0100)]
add migration for new postcode table

11 months agoadapt search frontend to new postcode table
Sarah Hoffmann [Tue, 23 Dec 2025 18:10:01 +0000 (19:10 +0100)]
adapt search frontend to new postcode table

11 months agoset custom postcode extents for some countries
Sarah Hoffmann [Tue, 23 Dec 2025 14:50:55 +0000 (15:50 +0100)]
set custom postcode extents for some countries

11 months agorework postcode computation
Sarah Hoffmann [Tue, 23 Dec 2025 14:46:36 +0000 (15:46 +0100)]
rework postcode computation

Now adds areas to location_postcodes, ignores postcode points
inside areas and supports customizable extents.

11 months agoadd support for custom per-country postcode extents
Sarah Hoffmann [Tue, 23 Dec 2025 13:17:06 +0000 (14:17 +0100)]
add support for custom per-country postcode extents

11 months agochange confusing value in debug output for missing importance
Sarah Hoffmann [Tue, 23 Dec 2025 13:11:45 +0000 (14:11 +0100)]
change confusing value in debug output for missing importance

11 months agoreorganise layout of location_postcode table
Sarah Hoffmann [Tue, 23 Dec 2025 11:13:19 +0000 (12:13 +0100)]
reorganise layout of location_postcode table

Also renames the table as this will make it easier to migrate.

11 months agodrop new place sub-tables on freezing
Sarah Hoffmann [Tue, 23 Dec 2025 10:41:35 +0000 (11:41 +0100)]
drop new place sub-tables on freezing

11 months agoremove special casing for postcodes in trigger code
Sarah Hoffmann [Tue, 23 Dec 2025 10:39:34 +0000 (11:39 +0100)]
remove special casing for postcodes in trigger code

11 months agoput postcodes in extra table on import
Sarah Hoffmann [Tue, 23 Dec 2025 09:56:53 +0000 (10:56 +0100)]
put postcodes in extra table on import

11 months agoMerge pull request #3925 from Aditya30ag/fix-typo-place-addressline-test
Sarah Hoffmann [Tue, 30 Dec 2025 13:36:59 +0000 (14:36 +0100)]
Merge pull request #3925 from Aditya30ag/fix-typo-place-addressline-test

Fix typo in place_addressline table name in tests

11 months agoFix typo in place_addressline table name in tests
Aditya30ag [Tue, 30 Dec 2025 12:10:08 +0000 (17:40 +0530)]
Fix typo in place_addressline table name in tests

11 months agoMerge pull request #3919 from 28Deepakpandey/Fix-docs-locale-typo
Sarah Hoffmann [Sun, 28 Dec 2025 14:55:49 +0000 (15:55 +0100)]
Merge pull request #3919 from 28Deepakpandey/Fix-docs-locale-typo

Fix: Locale → Locales references in docs

11 months agoFix: corrected Locale → Locales references and ensured proper casing in docs
28Deepakpandey [Thu, 25 Dec 2025 21:16:26 +0000 (02:46 +0530)]
Fix: corrected Locale → Locales references and ensured proper casing in docs

11 months agorelease 5.2.0.post6
Sarah Hoffmann [Mon, 22 Dec 2025 16:03:44 +0000 (17:03 +0100)]
release 5.2.0.post6

11 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 22 Dec 2025 15:39:49 +0000 (16:39 +0100)]
Merge remote-tracking branch 'upstream/master'

11 months agoMerge pull request #3913 from AyushDharDubey/fix/issue_3909
Sarah Hoffmann [Mon, 22 Dec 2025 15:38:27 +0000 (16:38 +0100)]
Merge pull request #3913 from AyushDharDubey/fix/issue_3909

Reuse Configuration instance in Locales

11 months agoupdate Locales constructor:
Ayush Dhar Dubey [Sat, 20 Dec 2025 13:44:20 +0000 (19:14 +0530)]
update Locales constructor:
expect output names as argument and avoid redundant configuration initialization

11 months agofix: ensure Locales is not initialized when provided in options
Ayush Dhar Dubey [Sat, 20 Dec 2025 13:42:15 +0000 (19:12 +0530)]
fix: ensure Locales is not initialized when provided in options

11 months agoMerge pull request #3910 from lonvia/update-ps-names
Sarah Hoffmann [Mon, 15 Dec 2025 20:16:56 +0000 (21:16 +0100)]
Merge pull request #3910 from lonvia/update-ps-names

Update default names for Palestinian Territories

11 months agoupdate default names for Palestinian Territories
Sarah Hoffmann [Mon, 15 Dec 2025 18:25:15 +0000 (19:25 +0100)]
update default names for Palestinian Territories

11 months agoMerge pull request #3901 from AyushDharDubey/fix/issue_3829-use-mwparserfromhell...
Sarah Hoffmann [Mon, 8 Dec 2025 10:51:50 +0000 (11:51 +0100)]
Merge pull request #3901 from AyushDharDubey/fix/issue_3829-use-mwparserfromhell-to-parse-sp-wiki-page

Replace regex with `mwparserfromhell` based MW WikiCode Parsing for Special Phrases

11 months agoadd mwparserfromhell to apt prerequisites for CI build
Ayush Dhar Dubey [Mon, 8 Dec 2025 10:21:35 +0000 (15:51 +0530)]
add mwparserfromhell to apt prerequisites for CI build

11 months agorelease 5.2.0.post5
Sarah Hoffmann [Mon, 8 Dec 2025 09:36:04 +0000 (10:36 +0100)]
release 5.2.0.post5

11 months agoupdate new dependency instructions: mwparserfromhell
Ayush Dhar Dubey [Mon, 8 Dec 2025 09:31:35 +0000 (15:01 +0530)]
update new dependency instructions: mwparserfromhell

11 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 8 Dec 2025 08:51:02 +0000 (09:51 +0100)]
Merge remote-tracking branch 'upstream/master'

11 months agoMerge pull request #3902 from lonvia/fix-only-closest-housenumber
Sarah Hoffmann [Mon, 8 Dec 2025 08:48:29 +0000 (09:48 +0100)]
Merge pull request #3902 from lonvia/fix-only-closest-housenumber

Reverse: only return housenumbers near street

11 months agouse mwparserfromhell to parse SP wiki page reliably
Ayush Dhar Dubey [Sun, 7 Dec 2025 17:07:31 +0000 (22:37 +0530)]
use mwparserfromhell to parse SP wiki page reliably

11 months agotest for cell-per-line format
Ayush Dhar Dubey [Sun, 7 Dec 2025 17:06:50 +0000 (22:36 +0530)]
test for cell-per-line format

11 months agoupdate sp test content
Ayush Dhar Dubey [Sun, 7 Dec 2025 17:04:24 +0000 (22:34 +0530)]
update sp test content
add latest <generator>MediaWiki 1.43.5</generator>
add test case for one-row-per-line

11 months agoreverse: only return housenumbers near street
Sarah Hoffmann [Sun, 7 Dec 2025 10:00:23 +0000 (11:00 +0100)]
reverse: only return housenumbers near street

11 months agorelease 5.2.0.post4
Sarah Hoffmann [Sun, 7 Dec 2025 09:10:56 +0000 (10:10 +0100)]
release 5.2.0.post4

11 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 7 Dec 2025 08:40:39 +0000 (09:40 +0100)]
Merge remote-tracking branch 'upstream/master'

11 months agoMerge pull request #3899 from lonvia/improve-reverse-performance
Sarah Hoffmann [Sun, 7 Dec 2025 08:39:10 +0000 (09:39 +0100)]
Merge pull request #3899 from lonvia/improve-reverse-performance

Streamline reverse lookup slightly

11 months agoavoid extra query for finding closest housenumber in reverse
Sarah Hoffmann [Fri, 5 Dec 2025 16:09:13 +0000 (17:09 +0100)]
avoid extra query for finding closest housenumber in reverse

11 months agoreverse: avoid interpolation lookup when result is already perfect
Sarah Hoffmann [Thu, 4 Dec 2025 20:21:47 +0000 (21:21 +0100)]
reverse: avoid interpolation lookup when result is already perfect

11 months agoMerge pull request #3898 from lonvia/fix-country-restriction
Sarah Hoffmann [Thu, 4 Dec 2025 19:03:14 +0000 (20:03 +0100)]
Merge pull request #3898 from lonvia/fix-country-restriction

Fix comparision between country tokens and country restriction

11 months agofix comparision between countr tokens and country restriction
Sarah Hoffmann [Thu, 4 Dec 2025 17:28:04 +0000 (18:28 +0100)]
fix comparision between countr tokens and country restriction

11 months agoMerge pull request #3897 from lonvia/test-psycopg-33
Sarah Hoffmann [Thu, 4 Dec 2025 16:10:55 +0000 (17:10 +0100)]
Merge pull request #3897 from lonvia/test-psycopg-33

Allow psycopg 3.3 back

11 months agoignore typing isssue
Sarah Hoffmann [Tue, 2 Dec 2025 16:08:11 +0000 (17:08 +0100)]
ignore typing isssue

11 months agoexclude psycopg 3.3.0 which breaks named cursors
Sarah Hoffmann [Tue, 2 Dec 2025 14:19:36 +0000 (15:19 +0100)]
exclude psycopg 3.3.0 which breaks named cursors

12 months agorelease 5.2.0.post3
Sarah Hoffmann [Tue, 2 Dec 2025 12:20:18 +0000 (13:20 +0100)]
release 5.2.0.post3

12 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 2 Dec 2025 11:50:30 +0000 (12:50 +0100)]
Merge remote-tracking branch 'upstream/master'

12 months agoMerge pull request #3895 from lonvia/flaky-test
Sarah Hoffmann [Tue, 2 Dec 2025 11:46:43 +0000 (12:46 +0100)]
Merge pull request #3895 from lonvia/flaky-test

Fix flaky test around postcode word match penalties

12 months agofix flaky test around postcode word match penalties
Sarah Hoffmann [Tue, 2 Dec 2025 10:15:37 +0000 (11:15 +0100)]
fix flaky test around postcode word match penalties

12 months agoMerge pull request #3894 from lonvia/country-names-with-word-lookup
Sarah Hoffmann [Mon, 1 Dec 2025 13:54:24 +0000 (14:54 +0100)]
Merge pull request #3894 from lonvia/country-names-with-word-lookup

Add normalized form of country names to coutry tokens in word table

12 months agoavoid most recent psycopg 3.3 release
Sarah Hoffmann [Mon, 1 Dec 2025 13:23:36 +0000 (14:23 +0100)]
avoid most recent psycopg 3.3 release

12 months agoadd migration for changed country token format
Sarah Hoffmann [Thu, 27 Nov 2025 15:51:29 +0000 (16:51 +0100)]
add migration for changed country token format

12 months agoadapt tests to new country token format
Sarah Hoffmann [Thu, 27 Nov 2025 15:05:49 +0000 (16:05 +0100)]
adapt tests to new country token format

12 months agoadd normalised country name to word table
Sarah Hoffmann [Thu, 27 Nov 2025 11:00:47 +0000 (12:00 +0100)]
add normalised country name to word table

Country tokens now follow the usual convetion of having the
normalized version in the word column and the extra info about the
country code in the info column.

12 months agoprepare release 5.2.0.post2
Sarah Hoffmann [Mon, 1 Dec 2025 11:05:14 +0000 (12:05 +0100)]
prepare release 5.2.0.post2

12 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 1 Dec 2025 10:36:49 +0000 (11:36 +0100)]
Merge remote-tracking branch 'upstream/master'

12 months agoMerge pull request #3893 from lonvia/nature-reserve
Sarah Hoffmann [Mon, 1 Dec 2025 10:36:17 +0000 (11:36 +0100)]
Merge pull request #3893 from lonvia/nature-reserve

Prefer leisure=nature_reserve as main tag over boundary=protected_area

12 months agoprefer leisure=nature_reserve as main tag
Sarah Hoffmann [Mon, 1 Dec 2025 08:47:55 +0000 (09:47 +0100)]
prefer leisure=nature_reserve as main tag

12 months agoMerge pull request #3892 from daishu0000/master
Sarah Hoffmann [Sun, 30 Nov 2025 13:13:51 +0000 (14:13 +0100)]
Merge pull request #3892 from daishu0000/master

Add success message to setup.log: related to #3891

12 months agofix imprecise import
Sarah Hoffmann [Sun, 30 Nov 2025 10:50:55 +0000 (11:50 +0100)]
fix imprecise import

12 months agoAdd success message to db log
daishu0000 [Sat, 29 Nov 2025 17:53:40 +0000 (01:53 +0800)]
Add success message to db log

12 months agoMerge pull request #3890 from mtmail/remove-nat-name
Sarah Hoffmann [Fri, 28 Nov 2025 13:13:30 +0000 (14:13 +0100)]
Merge pull request #3890 from mtmail/remove-nat-name

Skip nat_name in default import

12 months agoSkip nat_name in default import
marc tobias [Fri, 28 Nov 2025 10:35:35 +0000 (11:35 +0100)]
Skip nat_name in default import

12 months agoMerge pull request #3889 from lonvia/improve-linkage-code
Sarah Hoffmann [Wed, 26 Nov 2025 21:11:11 +0000 (22:11 +0100)]
Merge pull request #3889 from lonvia/improve-linkage-code

Small improvements to place linking code

12 months agoprefer wikidata over name match when linking
Sarah Hoffmann [Wed, 26 Nov 2025 16:44:47 +0000 (17:44 +0100)]
prefer wikidata over name match when linking

12 months agofix linkage removal when nothing has changed
Sarah Hoffmann [Wed, 26 Nov 2025 16:03:19 +0000 (17:03 +0100)]
fix linkage removal when nothing has changed

12 months agoMerge pull request #3874 from vytas7/falcon-4.2-typing
Sarah Hoffmann [Sun, 16 Nov 2025 15:12:35 +0000 (16:12 +0100)]
Merge pull request #3874 from vytas7/falcon-4.2-typing

Adapt type annotations to Falcon App type changes

12 months agoAdd `from __future__ import annotations` to delay evaluation
Vytautas Liuolia [Sun, 16 Nov 2025 13:41:25 +0000 (14:41 +0100)]
Add `from __future__ import annotations` to delay evaluation

12 months agoAdapt type annotations to Falcon App type changes
Vytautas Liuolia [Mon, 10 Nov 2025 19:09:17 +0000 (20:09 +0100)]
Adapt type annotations to Falcon App type changes

See also: https://falcon.readthedocs.io/en/latest/api/typing.html#generic-app-types

13 months agoMerge pull request #3862 from mtmail/skip-all-zero-postcodes
Sarah Hoffmann [Fri, 31 Oct 2025 09:36:05 +0000 (10:36 +0100)]
Merge pull request #3862 from mtmail/skip-all-zero-postcodes

Postcode sanetizer now skips values which are only zeros

13 months agoMerge pull request #3863 from lonvia/improve-bdd-test-names
Sarah Hoffmann [Fri, 31 Oct 2025 09:19:56 +0000 (10:19 +0100)]
Merge pull request #3863 from lonvia/improve-bdd-test-names

Add custom pytest collector for BDD feature files

13 months agodisable improved BDD test naming for pytest < 8
Sarah Hoffmann [Thu, 30 Oct 2025 19:33:43 +0000 (20:33 +0100)]
disable improved BDD test naming for pytest < 8

Needs the improved test collector introduced in pytest 8.0.

13 months agoadd custom pytest collector for BDD feature files
Sarah Hoffmann [Thu, 30 Oct 2025 16:44:17 +0000 (17:44 +0100)]
add custom pytest collector for BDD feature files

13 months agopostcode sanetizer skips postcodes which are only zeros
marc tobias [Thu, 30 Oct 2025 12:29:57 +0000 (13:29 +0100)]
postcode sanetizer skips postcodes which are only zeros

13 months agoprepare release 5.2.0-post1
Sarah Hoffmann [Wed, 29 Oct 2025 09:32:38 +0000 (10:32 +0100)]
prepare release 5.2.0-post1

13 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 29 Oct 2025 09:02:02 +0000 (10:02 +0100)]
Merge remote-tracking branch 'upstream/master'

13 months agoprepare release 5.2.0
Sarah Hoffmann [Wed, 29 Oct 2025 09:01:30 +0000 (10:01 +0100)]
prepare release 5.2.0

13 months agoMerge pull request #3861 from lonvia/force-extra-tags
Sarah Hoffmann [Wed, 29 Oct 2025 07:51:40 +0000 (08:51 +0100)]
Merge pull request #3861 from lonvia/force-extra-tags

Force inclusion of extra tags when Nominatim internally depends on them

13 months agoforce inclusion of extratags used directly by Nominatim
Sarah Hoffmann [Tue, 28 Oct 2025 16:20:17 +0000 (17:20 +0100)]
force inclusion of extratags used directly by Nominatim

13 months agoharmonize use of callback with set_entrance_filter
Sarah Hoffmann [Tue, 28 Oct 2025 13:33:45 +0000 (14:33 +0100)]
harmonize use of callback with set_entrance_filter

All other functions except a simple function, so do this here as well.

13 months agoprepare release 5.1.0.post21
Sarah Hoffmann [Fri, 24 Oct 2025 12:05:42 +0000 (14:05 +0200)]
prepare release 5.1.0.post21

13 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 24 Oct 2025 11:38:41 +0000 (13:38 +0200)]
Merge remote-tracking branch 'upstream/master'

13 months agoMerge pull request #3859 from lonvia/fix-entrance-addresses
Sarah Hoffmann [Fri, 24 Oct 2025 11:38:21 +0000 (13:38 +0200)]
Merge pull request #3859 from lonvia/fix-entrance-addresses

Move entrances to a separate table

13 months agoadd BDD tests for importing into the new place_entrance table
Sarah Hoffmann [Fri, 24 Oct 2025 08:52:25 +0000 (10:52 +0200)]
add BDD tests for importing into the new place_entrance table

13 months agofix syntax in presets
Sarah Hoffmann [Fri, 24 Oct 2025 07:43:06 +0000 (09:43 +0200)]
fix syntax in presets

13 months agoadd documentation for entrance table configuration
Sarah Hoffmann [Thu, 23 Oct 2025 18:53:59 +0000 (20:53 +0200)]
add documentation for entrance table configuration

13 months agoadd migration for separate entrance table
Sarah Hoffmann [Thu, 23 Oct 2025 15:23:06 +0000 (17:23 +0200)]
add migration for separate entrance table

13 months agoadapt tests for extra place_entrance table
Sarah Hoffmann [Thu, 23 Oct 2025 14:03:36 +0000 (16:03 +0200)]
adapt tests for extra place_entrance table

13 months agouse extra place_entrance table
Sarah Hoffmann [Thu, 23 Oct 2025 14:03:15 +0000 (16:03 +0200)]
use extra place_entrance table

13 months agomove entrances into extra table
Sarah Hoffmann [Thu, 23 Oct 2025 09:21:52 +0000 (11:21 +0200)]
move entrances into extra table

13 months agoMerge pull request #3857 from lonvia/leisure-garden
Sarah Hoffmann [Wed, 22 Oct 2025 12:03:19 +0000 (14:03 +0200)]
Merge pull request #3857 from lonvia/leisure-garden

Be more conservative when including leisure=garden/commons

13 months agomove some leisure features into manmade layer
Sarah Hoffmann [Wed, 22 Oct 2025 09:14:19 +0000 (11:14 +0200)]
move some leisure features into manmade layer

13 months agocorrect default values for layer on reverse
Sarah Hoffmann [Wed, 22 Oct 2025 09:05:00 +0000 (11:05 +0200)]
correct default values for layer on reverse

13 months agoexclude unamed gardens and commons
Sarah Hoffmann [Wed, 22 Oct 2025 08:34:28 +0000 (10:34 +0200)]
exclude unamed gardens and commons

These are mostly private gardens and small streches of green
not of interest for a general search.

ddd

13 months agoMerge pull request #3855 from hasandiwan/master
Sarah Hoffmann [Wed, 22 Oct 2025 09:24:40 +0000 (11:24 +0200)]
Merge pull request #3855 from hasandiwan/master

force layer to be address

13 months agoforce layer to be address
Hasan Diwan [Wed, 22 Oct 2025 07:55:10 +0000 (07:55 +0000)]
force layer to be address

13 months agoupdate CI to test against PostgreSQL 18
Sarah Hoffmann [Mon, 20 Oct 2025 16:50:30 +0000 (18:50 +0200)]
update CI to test against PostgreSQL 18

13 months agocorrect default setting for addressdetails parameter in lookup
Sarah Hoffmann [Sat, 11 Oct 2025 07:20:10 +0000 (09:20 +0200)]
correct default setting for addressdetails parameter in lookup

Fixes #3850.

14 months agorelease 5.1.0.post20
Sarah Hoffmann [Fri, 12 Sep 2025 20:28:21 +0000 (22:28 +0200)]
release 5.1.0.post20