]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
3 months agoconfigurable error formatting and content type in result formatter
Sarah Hoffmann [Wed, 14 Aug 2024 09:59:20 +0000 (11:59 +0200)]
configurable error formatting and content type in result formatter

3 months agomake API formatter loadable from project directory
Sarah Hoffmann [Tue, 13 Aug 2024 21:21:38 +0000 (23:21 +0200)]
make API formatter loadable from project directory

3 months agomake formatting module non-static
Sarah Hoffmann [Tue, 13 Aug 2024 20:39:43 +0000 (22:39 +0200)]
make formatting module non-static

3 months agomove ASGIAdoptor out of v1 module
Sarah Hoffmann [Tue, 13 Aug 2024 19:32:11 +0000 (21:32 +0200)]
move ASGIAdoptor out of v1 module

3 months agoremove v1-specific functions from ASGIAdaptor
Sarah Hoffmann [Tue, 13 Aug 2024 17:38:14 +0000 (19:38 +0200)]
remove v1-specific functions from ASGIAdaptor

3 months agoMerge pull request #3514 from lonvia/remove-pythonpath
Sarah Hoffmann [Tue, 13 Aug 2024 13:18:48 +0000 (15:18 +0200)]
Merge pull request #3514 from lonvia/remove-pythonpath

Vagrant install: remove custom python path

3 months agovagrant install: remove custom python path
Sarah Hoffmann [Tue, 13 Aug 2024 07:31:36 +0000 (09:31 +0200)]
vagrant install: remove custom python path

3 months agoMerge pull request #3510 from lonvia/indexing-precompute-count
Sarah Hoffmann [Mon, 12 Aug 2024 21:55:19 +0000 (23:55 +0200)]
Merge pull request #3510 from lonvia/indexing-precompute-count

Indexing: precompute counts of affected rows

3 months agoindexing: precompute row counts
Sarah Hoffmann [Mon, 12 Aug 2024 12:57:26 +0000 (14:57 +0200)]
indexing: precompute row counts

Doing this once for the whole batch of ranks saves about
half a second for small imports. Speeds up BDD tests.

3 months agoMerge pull request #3509 from lonvia/deprecations
Sarah Hoffmann [Mon, 12 Aug 2024 09:27:56 +0000 (11:27 +0200)]
Merge pull request #3509 from lonvia/deprecations

Add deprecation warnings and check for osm2pgsql version

3 months agoadd deprecation warnings in the code
Sarah Hoffmann [Fri, 9 Aug 2024 15:40:15 +0000 (17:40 +0200)]
add deprecation warnings in the code

3 months agofail if osm2pgsql is not recent enough
Sarah Hoffmann [Fri, 9 Aug 2024 12:44:49 +0000 (14:44 +0200)]
fail if osm2pgsql is not recent enough

3 months agoosm2pgsq: do not use deprecated tablespace options
Sarah Hoffmann [Thu, 8 Aug 2024 20:19:11 +0000 (22:19 +0200)]
osm2pgsq: do not use deprecated tablespace options

3 months agoadd deprecation warnings throughout docs
Sarah Hoffmann [Thu, 8 Aug 2024 09:53:27 +0000 (11:53 +0200)]
add deprecation warnings throughout docs

3 months agoMerge pull request #3506 from mtmail/development-environment-more-dependencies
Sarah Hoffmann [Fri, 9 Aug 2024 17:24:56 +0000 (19:24 +0200)]
Merge pull request #3506 from mtmail/development-environment-more-dependencies

Development environment: add missing dependencies

3 months agoDevelopment environment: add missing dependencies
marc tobias [Fri, 9 Aug 2024 15:55:21 +0000 (17:55 +0200)]
Development environment: add missing dependencies

3 months agoMerge pull request #3502 from mtmail/check-database-check-another-index
Sarah Hoffmann [Thu, 8 Aug 2024 13:21:38 +0000 (15:21 +0200)]
Merge pull request #3502 from mtmail/check-database-check-another-index

check-database: check for another required db index

3 months agoMerge pull request #3503 from lonvia/mkdocs-without-cmake
Sarah Hoffmann [Wed, 7 Aug 2024 17:21:00 +0000 (19:21 +0200)]
Merge pull request #3503 from lonvia/mkdocs-without-cmake

Build documentation without CMake

3 months agofix dangling links in documentation
Sarah Hoffmann [Wed, 7 Aug 2024 14:58:45 +0000 (16:58 +0200)]
fix dangling links in documentation

3 months agomove generated docs to site-html
Sarah Hoffmann [Wed, 7 Aug 2024 14:48:22 +0000 (16:48 +0200)]
move generated docs to site-html

3 months agobuild man page without CMake
Sarah Hoffmann [Wed, 7 Aug 2024 14:38:56 +0000 (16:38 +0200)]
build man page without CMake

3 months agoremove CMake-based build of docs
Sarah Hoffmann [Wed, 7 Aug 2024 14:31:15 +0000 (16:31 +0200)]
remove CMake-based build of docs

3 months agobuild vagrant instructions dynamically with mkdocs-gen-files
Sarah Hoffmann [Wed, 7 Aug 2024 14:28:44 +0000 (16:28 +0200)]
build vagrant instructions dynamically with mkdocs-gen-files

3 months agocheck-database: check for another required db index
marc tobias [Wed, 7 Aug 2024 13:19:40 +0000 (15:19 +0200)]
check-database: check for another required db index

3 months agoMerge pull request #3499 from mtmail/add-data-warn-if-frozen
Sarah Hoffmann [Wed, 7 Aug 2024 09:11:58 +0000 (11:11 +0200)]
Merge pull request #3499 from mtmail/add-data-warn-if-frozen

Add data warn if frozen

3 months agoswitch instruction to use wikimedia CSV file
Sarah Hoffmann [Wed, 7 Aug 2024 08:43:45 +0000 (10:43 +0200)]
switch instruction to use wikimedia CSV file

3 months agoadd-data: warn and exit if database is frozen
marc tobias [Mon, 5 Aug 2024 12:25:46 +0000 (14:25 +0200)]
add-data: warn and exit if database is frozen

3 months agoMerge pull request #3493 from lonvia/clean-up-bdd-tests
Sarah Hoffmann [Wed, 31 Jul 2024 15:02:39 +0000 (17:02 +0200)]
Merge pull request #3493 from lonvia/clean-up-bdd-tests

Various cleanups of BDD tests

3 months agoadapt BDD tests for legacy tokenizer + Python frontend
Sarah Hoffmann [Wed, 31 Jul 2024 12:55:16 +0000 (14:55 +0200)]
adapt BDD tests for legacy tokenizer + Python frontend

Mostly disables the tests, the cases are not worth fixing anymore.
Others just avoid using terms that trigger abbreviations.

3 months agofix postcode lookup with legacy tokenizer
Sarah Hoffmann [Wed, 31 Jul 2024 12:54:55 +0000 (14:54 +0200)]
fix postcode lookup with legacy tokenizer

3 months agomake housenumber search work with non-indexed partials
Sarah Hoffmann [Wed, 31 Jul 2024 12:09:35 +0000 (14:09 +0200)]
make housenumber search work with non-indexed partials

3 months agodisable ZIP5+ test for Python frontend
Sarah Hoffmann [Wed, 31 Jul 2024 12:08:57 +0000 (14:08 +0200)]
disable ZIP5+ test for Python frontend

Currently not working.

3 months agoadd forgotten BDD test
Sarah Hoffmann [Tue, 30 Jul 2024 15:42:09 +0000 (17:42 +0200)]
add forgotten BDD test

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.

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

5 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