]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
3 months agoswitch CI to new handling of legacy BDD tests
Sarah Hoffmann [Tue, 30 Jul 2024 15:41:49 +0000 (17:41 +0200)]
switch CI to new handling of legacy BDD tests

3 months agoremove support for PHP code coverage in BDD tests
Sarah Hoffmann [Tue, 30 Jul 2024 13:43:41 +0000 (15:43 +0200)]
remove support for PHP code coverage in BDD tests

3 months agobdd tests: get rid of dependency on build path
Sarah Hoffmann [Tue, 30 Jul 2024 09:38:40 +0000 (11:38 +0200)]
bdd tests: get rid of dependency on build path

BDD tests will now use whatever osm2pgsql they find in the PATH.
For testing against legacy tokenizer, use -DSERVER_MODULE_PATH
to point to the module. This will no longer work out of the box.

3 months agoMerge pull request #3492 from lonvia/drop-waste-disposal
Sarah Hoffmann [Tue, 30 Jul 2024 15:03:08 +0000 (17:03 +0200)]
Merge pull request #3492 from lonvia/drop-waste-disposal

Remove waste disposals and hunting stands from index

3 months agoMerge pull request #3490 from mtmail/which-url-after-webserver-install
Sarah Hoffmann [Tue, 30 Jul 2024 13:39:22 +0000 (15:39 +0200)]
Merge pull request #3490 from mtmail/which-url-after-webserver-install

After install point user to '/status' not '/' path

3 months agoAfter install point user to /status not / path
marc tobias [Mon, 29 Jul 2024 14:41:24 +0000 (16:41 +0200)]
After install point user to /status not / path

3 months agodrop amenity=waste_prposal and amenity=hunting_stand
Sarah Hoffmann [Tue, 30 Jul 2024 08:41:13 +0000 (10:41 +0200)]
drop amenity=waste_prposal and amenity=hunting_stand

3 months agoMerge pull request #3491 from mtmail/faq-unicode-encoding
Sarah Hoffmann [Mon, 29 Jul 2024 20:01:46 +0000 (22:01 +0200)]
Merge pull request #3491 from mtmail/faq-unicode-encoding

Admin FAQ entry for UnicodeEncodeError

3 months agoAdmin FAQ entry for UnicodeEncodeError
marc tobias [Mon, 29 Jul 2024 16:26:11 +0000 (18:26 +0200)]
Admin FAQ entry for UnicodeEncodeError

3 months agoMerge pull request #3466 from mtmail/apple-silicon-parallels
Sarah Hoffmann [Mon, 29 Jul 2024 14:52:54 +0000 (16:52 +0200)]
Merge pull request #3466 from mtmail/apple-silicon-parallels

Vagrant: add config for Apple Silicon

3 months agoMerge pull request #3487 from lonvia/port-to-psycopg3
Sarah Hoffmann [Mon, 29 Jul 2024 14:52:07 +0000 (16:52 +0200)]
Merge pull request #3487 from lonvia/port-to-psycopg3

Move importer code to psycopg3

3 months agoUbuntu 22 doesn't have psycopg yet
Sarah Hoffmann [Sat, 13 Jul 2024 20:52:49 +0000 (22:52 +0200)]
Ubuntu 22 doesn't have psycopg yet

3 months agofix dependencies and adapt documentation for psycopg3
Sarah Hoffmann [Sat, 13 Jul 2024 20:34:16 +0000 (22:34 +0200)]
fix dependencies and adapt documentation for psycopg3

3 months agoport code to psycopg3
Sarah Hoffmann [Fri, 5 Jul 2024 08:43:10 +0000 (10:43 +0200)]
port code to psycopg3

3 months agomake DB helper functions free functions
Sarah Hoffmann [Tue, 2 Jul 2024 13:15:50 +0000 (15:15 +0200)]
make DB helper functions free functions

Also changes the drop function so that it can drop multiple tables
at once.

3 months agoremove extension existence helper
Sarah Hoffmann [Tue, 2 Jul 2024 12:52:57 +0000 (14:52 +0200)]
remove extension existence helper

This is only used in one place.

3 months agoMerge pull request #3480 from mtmail/import-style-adits
Sarah Hoffmann [Wed, 24 Jul 2024 20:59:29 +0000 (22:59 +0200)]
Merge pull request #3480 from mtmail/import-style-adits

full,extra import style: add adits

4 months agofull,extra import style: add adits
marc tobias [Wed, 17 Jul 2024 08:57:29 +0000 (10:57 +0200)]
full,extra import style: add adits

4 months agofix docs link in update interval error message (#3479)
Shumail Mohyuddin [Wed, 17 Jul 2024 08:37:07 +0000 (10:37 +0200)]
fix docs link in update interval error message (#3479)

4 months agoMerge pull request #3468 from mtmail/setup-python-v5
Sarah Hoffmann [Mon, 8 Jul 2024 16:45:06 +0000 (18:45 +0200)]
Merge pull request #3468 from mtmail/setup-python-v5

Github Actions: now use setup-python v4->v5

4 months agoMerge pull request #3467 from mtmail/docs-datrie
Sarah Hoffmann [Mon, 8 Jul 2024 16:44:50 +0000 (18:44 +0200)]
Merge pull request #3467 from mtmail/docs-datrie

Documentation: typo in python package name

4 months agoGithub Actions: now use setup-python v4->v5
marc tobias [Mon, 8 Jul 2024 15:26:36 +0000 (17:26 +0200)]
Github Actions: now use setup-python v4->v5

4 months agoDocumentation: typo in python package name
marc tobias [Mon, 8 Jul 2024 14:44:09 +0000 (16:44 +0200)]
Documentation: typo in python package name

4 months agoVagrant: add config for Apple Silicon
marc tobias [Mon, 8 Jul 2024 13:35:01 +0000 (15:35 +0200)]
Vagrant: add config for Apple Silicon

4 months agoMerge pull request #3463 from lonvia/sqlalchemy14-with-psycopg
Sarah Hoffmann [Tue, 2 Jul 2024 16:43:28 +0000 (18:43 +0200)]
Merge pull request #3463 from lonvia/sqlalchemy14-with-psycopg

Make sure SQLAlchemy can handle the loaded dialect

4 months agomake sure SQLAlchemy can handle the loaded dialect
Sarah Hoffmann [Tue, 2 Jul 2024 13:55:23 +0000 (15:55 +0200)]
make sure SQLAlchemy can handle the loaded dialect

The psycopg dialect was only added in SQLAlchemy 2.0. To avoid loading
errors when SQLAlchemy 1.4 is installed together with psycopg3,
check that the dialect is really available.

4 months agofix some typos
Mateusz Konieczny [Wed, 26 Jun 2024 08:37:23 +0000 (10:37 +0200)]
fix some typos

4 months agoMerge pull request #3458 from lonvia/python-package
Sarah Hoffmann [Mon, 1 Jul 2024 13:02:01 +0000 (15:02 +0200)]
Merge pull request #3458 from lonvia/python-package

Add support for installation via pip

4 months agoadd mtm as maintainer for the Python packages
Sarah Hoffmann [Mon, 1 Jul 2024 10:07:52 +0000 (12:07 +0200)]
add mtm as maintainer for the Python packages

4 months agoimprove wording
Sarah Hoffmann [Sat, 29 Jun 2024 14:27:26 +0000 (16:27 +0200)]
improve wording

as per review

4 months agoenable CI tests for Ubuntu 24
Sarah Hoffmann [Fri, 28 Jun 2024 07:14:24 +0000 (09:14 +0200)]
enable CI tests for Ubuntu 24

4 months agoreduce from 3 to 2 packages
Sarah Hoffmann [Thu, 27 Jun 2024 19:26:12 +0000 (21:26 +0200)]
reduce from 3 to 2 packages

4 months agoupdate documentation for new directory layout
Sarah Hoffmann [Tue, 25 Jun 2024 09:42:30 +0000 (11:42 +0200)]
update documentation for new directory layout

4 months agoinstallation for Ubuntu 24.04 with packages
Sarah Hoffmann [Mon, 24 Jun 2024 18:07:02 +0000 (20:07 +0200)]
installation for Ubuntu 24.04 with packages

Also remove Ubuntu 20.04 instructions.

4 months agoswitch to symlink approach for packages
Sarah Hoffmann [Wed, 19 Jun 2024 20:42:15 +0000 (22:42 +0200)]
switch to symlink approach for packages

Needed to make building work from sdist and source directory.

4 months agoadapt packaging readmes
Sarah Hoffmann [Sat, 15 Jun 2024 07:13:31 +0000 (09:13 +0200)]
adapt packaging readmes

4 months agoupdate licenses and discussion links
Sarah Hoffmann [Wed, 12 Jun 2024 09:43:39 +0000 (11:43 +0200)]
update licenses and discussion links

4 months agoexport UsageError and Configuration in api directly
Sarah Hoffmann [Wed, 12 Jun 2024 08:27:10 +0000 (10:27 +0200)]
export UsageError and Configuration in api directly

Library users should not have to deal with the core package directly.

4 months agoupdate CI commands for linting
Sarah Hoffmann [Wed, 12 Jun 2024 08:03:41 +0000 (10:03 +0200)]
update CI commands for linting

4 months agoadapt cmake to new directory structure
Sarah Hoffmann [Tue, 11 Jun 2024 20:30:04 +0000 (22:30 +0200)]
adapt cmake to new directory structure

4 months agomake use of nominatim-api in db package optional
Sarah Hoffmann [Tue, 11 Jun 2024 18:21:19 +0000 (20:21 +0200)]
make use of nominatim-api in db package optional

4 months agoadapt bdd tests to new layout
Sarah Hoffmann [Mon, 10 Jun 2024 19:58:37 +0000 (21:58 +0200)]
adapt bdd tests to new layout

4 months agofix merge issues
Sarah Hoffmann [Sun, 9 Jun 2024 14:22:53 +0000 (16:22 +0200)]
fix merge issues

4 months agofix linting issues
Sarah Hoffmann [Sun, 9 Jun 2024 13:14:19 +0000 (15:14 +0200)]
fix linting issues

4 months agoport unit tests to new python package layout
Sarah Hoffmann [Sun, 9 Jun 2024 12:52:20 +0000 (14:52 +0200)]
port unit tests to new python package layout

4 months agomove API dependent functions out of args structure
Sarah Hoffmann [Fri, 7 Jun 2024 09:36:42 +0000 (11:36 +0200)]
move API dependent functions out of args structure

4 months agoadd packaging for the different subprojects
Sarah Hoffmann [Thu, 6 Jun 2024 16:08:56 +0000 (18:08 +0200)]
add packaging for the different subprojects

4 months agoadd missing __init__.py
Sarah Hoffmann [Thu, 6 Jun 2024 07:22:18 +0000 (09:22 +0200)]
add missing __init__.py

4 months agoadapt plugin imports
Sarah Hoffmann [Sat, 18 May 2024 17:35:18 +0000 (19:35 +0200)]
adapt plugin imports

4 months agoadd script for in-source execution
Sarah Hoffmann [Sat, 18 May 2024 12:04:06 +0000 (14:04 +0200)]
add script for in-source execution

4 months agosplit code into submodules
Sarah Hoffmann [Thu, 16 May 2024 09:55:17 +0000 (11:55 +0200)]
split code into submodules

4 months agoadd Python package configuration
Sarah Hoffmann [Mon, 13 May 2024 22:05:36 +0000 (00:05 +0200)]
add Python package configuration

The global configuration builds one large package.

4 months agoupdate Search.md, fix typo (#3454)
Markus Döring [Mon, 24 Jun 2024 13:24:09 +0000 (15:24 +0200)]
update Search.md, fix typo (#3454)

5 months agoMerge pull request #3447 from lonvia/avoid-invalidating-large-features
Sarah Hoffmann [Wed, 19 Jun 2024 13:06:23 +0000 (15:06 +0200)]
Merge pull request #3447 from lonvia/avoid-invalidating-large-features

Restrict invalidation of child objects on large street features

5 months agorestrict invalidation of child objects on large street features
Sarah Hoffmann [Wed, 19 Jun 2024 09:42:48 +0000 (11:42 +0200)]
restrict invalidation of child objects on large street features

When streets become very large, it is more likely a mapping error.
So ignore such changes.

5 months agoMerge pull request #3424 from lonvia/importance-csc-import
Sarah Hoffmann [Wed, 29 May 2024 16:06:53 +0000 (18:06 +0200)]
Merge pull request #3424 from lonvia/importance-csc-import

Implement a lighter format for wikipedia importance tables

6 months agoadapt database test for wikipedia importance to new tables
Sarah Hoffmann [Wed, 15 May 2024 08:21:41 +0000 (10:21 +0200)]
adapt database test for wikipedia importance to new tables

6 months agoadd tests for new importance CSV import
Sarah Hoffmann [Tue, 14 May 2024 21:08:52 +0000 (23:08 +0200)]
add tests for new importance CSV import

6 months agoadd CSV format for importance import
Sarah Hoffmann [Sun, 5 May 2024 07:39:52 +0000 (09:39 +0200)]
add CSV format for importance import

6 months agoMerge pull request #3423 from mudnug/patch-1
Sarah Hoffmann [Wed, 15 May 2024 09:26:01 +0000 (11:26 +0200)]
Merge pull request #3423 from mudnug/patch-1

Update Output place_id documentation to match implementation

6 months agoUpdate Output place_id documentation to match implementation
Matthew [Tue, 14 May 2024 18:00:17 +0000 (12:00 -0600)]
Update Output place_id documentation to match implementation

6 months agoMerge pull request #3422 from lonvia/drop-non-parented-interpolations
Sarah Hoffmann [Tue, 14 May 2024 14:40:28 +0000 (16:40 +0200)]
Merge pull request #3422 from lonvia/drop-non-parented-interpolations

Drop address interpolations when no parent can be found

6 months agowork around new pylint warnings
Sarah Hoffmann [Tue, 14 May 2024 12:50:37 +0000 (14:50 +0200)]
work around new pylint warnings

6 months agodrop interpolations when no parent can be found
Sarah Hoffmann [Tue, 14 May 2024 09:35:14 +0000 (11:35 +0200)]
drop interpolations when no parent can be found

A housenumber without the place it refers to is of only limited use.

6 months agoMerge pull request #3413 from osm-search/mtmail-patch-1
Sarah Hoffmann [Mon, 6 May 2024 07:18:09 +0000 (09:18 +0200)]
Merge pull request #3413 from osm-search/mtmail-patch-1

Special-Phrases.md - correct typo

6 months agoSpecial-Phrases.md - correct typo
mtmail [Sun, 5 May 2024 20:46:21 +0000 (22:46 +0200)]
Special-Phrases.md - correct typo

6 months agoMerge pull request #3411 from lonvia/fix-address-style
Sarah Hoffmann [Sun, 5 May 2024 11:01:20 +0000 (13:01 +0200)]
Merge pull request #3411 from lonvia/fix-address-style

Address and street style: switch to explicit choice of highway values

6 months agoaddress and street style: switch to explicit choice of highway values
Sarah Hoffmann [Sun, 5 May 2024 08:02:20 +0000 (10:02 +0200)]
address and street style: switch to explicit choice of highway values

The non-street values for the highway tag are proliferating.
Switch the style to only include values explicitly choosen.

6 months agoMerge pull request #3410 from lonvia/docs-special-phrases
Sarah Hoffmann [Sun, 5 May 2024 09:14:22 +0000 (11:14 +0200)]
Merge pull request #3410 from lonvia/docs-special-phrases

Add documentation of the format for special phrases CSV

6 months agofix typo
Sarah Hoffmann [Sun, 5 May 2024 07:59:46 +0000 (09:59 +0200)]
fix typo

6 months agoadd documentation of special phrases CSV format
Sarah Hoffmann [Sun, 5 May 2024 07:59:32 +0000 (09:59 +0200)]
add documentation of special phrases CSV format

6 months agoMerge pull request #3409 from lonvia/docs-secondary-importance
Sarah Hoffmann [Sat, 4 May 2024 13:11:19 +0000 (15:11 +0200)]
Merge pull request #3409 from lonvia/docs-secondary-importance

Add documentation for installing a secondary importance file

6 months agoMerge pull request #3408 from lonvia/update-postcode-parents
Sarah Hoffmann [Sat, 4 May 2024 13:11:05 +0000 (15:11 +0200)]
Merge pull request #3408 from lonvia/update-postcode-parents

Reindex postcodes when their parent is deleted

6 months agoadd links to official secondary importance file
Sarah Hoffmann [Sat, 4 May 2024 11:13:00 +0000 (13:13 +0200)]
add links to official secondary importance file

6 months agoreindex postcodes that loose their parents
Sarah Hoffmann [Sat, 4 May 2024 08:16:14 +0000 (10:16 +0200)]
reindex postcodes that loose their parents

When the parent place of a postcode is deleted, it needs to
be reindexed to get a new parent. Otherwise displaying of
results is broken.

6 months agoMerge pull request #3403 from mtmail/project-directory-name
Sarah Hoffmann [Thu, 2 May 2024 11:46:43 +0000 (13:46 +0200)]
Merge pull request #3403 from mtmail/project-directory-name

docs: use nominatim-project everywhere

6 months agoMerge pull request #3397 from lonvia/improve-handling-unlisted-places
Sarah Hoffmann [Thu, 2 May 2024 11:46:18 +0000 (13:46 +0200)]
Merge pull request #3397 from lonvia/improve-handling-unlisted-places

Improve handling addr:place without a place node

6 months agodocs: use nominatim-project everywhere
marc tobias [Sun, 28 Apr 2024 21:44:15 +0000 (23:44 +0200)]
docs: use nominatim-project everywhere

6 months agoadd test for preference of full matches on unlisted places
Sarah Hoffmann [Fri, 19 Apr 2024 15:54:52 +0000 (17:54 +0200)]
add test for preference of full matches on unlisted places

6 months agoadd full tokens to addresses
Sarah Hoffmann [Fri, 19 Apr 2024 15:52:22 +0000 (17:52 +0200)]
add full tokens to addresses

This is now needed to weigh results.

6 months agounlisted place names need to go into the address
Sarah Hoffmann [Fri, 19 Apr 2024 14:40:32 +0000 (16:40 +0200)]
unlisted place names need to go into the address

Housenumbers with unlisted place names should be handled like
any ither housenumbers with missing address terms.

6 months agoactions: use newest pytest-asyncio for ubuntu 20
Sarah Hoffmann [Thu, 2 May 2024 09:06:45 +0000 (11:06 +0200)]
actions: use newest pytest-asyncio for ubuntu 20

7 months agoMerge pull request #3390 from lonvia/poi-in-poi
Sarah Hoffmann [Thu, 11 Apr 2024 15:32:01 +0000 (17:32 +0200)]
Merge pull request #3390 from lonvia/poi-in-poi

Handle POIs in POIs during reverse lookup

7 months agoadd slight preference for locating point POIs over POI areas
Sarah Hoffmann [Wed, 10 Apr 2024 19:26:37 +0000 (21:26 +0200)]
add slight preference for locating point POIs over POI areas

7 months agoMerge pull request #3389 from mtmail/cli-autodiscover-valid-formats
Sarah Hoffmann [Tue, 9 Apr 2024 12:58:53 +0000 (14:58 +0200)]
Merge pull request #3389 from mtmail/cli-autodiscover-valid-formats

CLI: get valid --format values via autodiscover

7 months agoCLI: get valid --format values via autodiscover
marc tobias [Mon, 8 Apr 2024 16:07:49 +0000 (18:07 +0200)]
CLI: get valid --format values via autodiscover

7 months agoMerge pull request #3385 from mtmail/docs-reverse-only
Sarah Hoffmann [Wed, 3 Apr 2024 12:33:54 +0000 (14:33 +0200)]
Merge pull request #3385 from mtmail/docs-reverse-only

Import documentation: reverse-only only a little faster import

7 months agoImport documentation: reverse-only only a little faster import [skip ci]
marc tobias [Tue, 2 Apr 2024 20:13:33 +0000 (22:13 +0200)]
Import documentation: reverse-only only a little faster import [skip ci]

7 months agoMerge pull request #3384 from mtmail/geocodejson-admin-levels-only-boundaries
Sarah Hoffmann [Wed, 3 Apr 2024 09:52:08 +0000 (11:52 +0200)]
Merge pull request #3384 from mtmail/geocodejson-admin-levels-only-boundaries

geocodejson: admin level output should only print boundaries

7 months agoMerge pull request #3383 from lonvia/window-searches
Sarah Hoffmann [Wed, 3 Apr 2024 08:55:10 +0000 (10:55 +0200)]
Merge pull request #3383 from lonvia/window-searches

Reorganize SQL for place search using window functions

7 months agoincrease search area when filtering by postcode
Sarah Hoffmann [Tue, 2 Apr 2024 16:07:23 +0000 (18:07 +0200)]
increase search area when filtering by postcode

7 months agogeocodejson: admin level output should only print boundaries
marc tobias [Tue, 2 Apr 2024 16:58:09 +0000 (18:58 +0200)]
geocodejson: admin level output should only print boundaries

7 months agoadapt tests for windowing SQL
Sarah Hoffmann [Tue, 2 Apr 2024 14:32:49 +0000 (16:32 +0200)]
adapt tests for windowing SQL

Results with high penalty are now thrown out earlier.

7 months agohousenumber position should hint on direction
Sarah Hoffmann [Tue, 2 Apr 2024 14:30:50 +0000 (16:30 +0200)]
housenumber position should hint on direction

rather than increasing penalty.

7 months agoremove restriction on frequent one word names
Sarah Hoffmann [Tue, 2 Apr 2024 14:28:17 +0000 (16:28 +0200)]
remove restriction on frequent one word names

This is now solved by reducing results with the windowing SQL
during search.

7 months agosplit search SQL in windowed search_name lookup and constraint search
Sarah Hoffmann [Tue, 2 Apr 2024 14:17:21 +0000 (16:17 +0200)]
split search SQL in windowed search_name lookup and constraint search

7 months agominimum counts for tokens should always be 1
Sarah Hoffmann [Mon, 1 Apr 2024 12:25:51 +0000 (14:25 +0200)]
minimum counts for tokens should always be 1

to avoid accidental devision by 0.

7 months agoMerge pull request #3375 from matkoniecz/patch-1
Sarah Hoffmann [Wed, 27 Mar 2024 09:03:45 +0000 (10:03 +0100)]
Merge pull request #3375 from matkoniecz/patch-1

add missing space in taginfo listing

7 months agodon't even try heavily penalized searches
Sarah Hoffmann [Tue, 26 Mar 2024 21:00:25 +0000 (22:00 +0100)]
don't even try heavily penalized searches

7 months agoreintroduce cutoffs when searching for very frequent words
Sarah Hoffmann [Tue, 26 Mar 2024 20:46:37 +0000 (21:46 +0100)]
reintroduce cutoffs when searching for very frequent words