]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
4 weeks agoosm2pgsql style: simplify computation of extra tags
Sarah Hoffmann [Fri, 6 Dec 2024 08:31:50 +0000 (09:31 +0100)]
osm2pgsql style: simplify computation of extra tags

Now implemented as a simple filter function which can also be
customized by the user.

4 weeks agoosm2pgsql style: merge main tag and pre-filter handling
Sarah Hoffmann [Fri, 6 Dec 2024 08:17:33 +0000 (09:17 +0100)]
osm2pgsql style: merge main tag and pre-filter handling

Defining a tag as deleteable/extratag and main tag is mutually exclusive
and deleting certain key/value combinations to exclude them from being
used as a main tag is confusing. By merging the handling, such
excludes can now be made explicit in the main list.

By using the same lookup table, it is now also possible to have a
short-cut for uninteresting objects.

4 weeks agodo not touch original tags of osm2pgsql OSM object
Sarah Hoffmann [Thu, 5 Dec 2024 15:41:05 +0000 (16:41 +0100)]
do not touch original tags of osm2pgsql OSM object

4 weeks agoconvert flex-base.lua into a themepark theme
Sarah Hoffmann [Thu, 5 Dec 2024 15:24:44 +0000 (16:24 +0100)]
convert flex-base.lua into a themepark theme

This already allows to run Nominatim under themepark, currently
as a topic-less theme.

4 weeks agomove lua scripts into a separate directory
Sarah Hoffmann [Thu, 5 Dec 2024 14:19:36 +0000 (15:19 +0100)]
move lua scripts into a separate directory

4 weeks agoMerge pull request #3610 from lonvia/search-preprocessing
Sarah Hoffmann [Mon, 16 Dec 2024 09:26:09 +0000 (10:26 +0100)]
Merge pull request #3610 from lonvia/search-preprocessing

Add configurable query preprocessing

5 weeks agoadd developers documentation for query-side of tokenizer
Sarah Hoffmann [Fri, 13 Dec 2024 16:09:42 +0000 (17:09 +0100)]
add developers documentation for query-side of tokenizer

5 weeks agoadd documentation for new query preprocessing
Sarah Hoffmann [Fri, 13 Dec 2024 15:53:08 +0000 (16:53 +0100)]
add documentation for new query preprocessing

5 weeks agogeneralize normalization step for search query
Sarah Hoffmann [Fri, 13 Dec 2024 10:53:10 +0000 (11:53 +0100)]
generalize normalization step for search query

It is now possible to configure functions for changing the query
input before it is analysed by the tokenizer.

Code is a cleaned-up version of the implementation by @miku.

5 weeks agodocs: external osm2pgsql is not longer optional
Sarah Hoffmann [Fri, 13 Dec 2024 09:36:45 +0000 (10:36 +0100)]
docs: external osm2pgsql is not longer optional

5 weeks agoMerge pull request #3609 from lonvia/reverse-ignore-postcode-areas
Sarah Hoffmann [Fri, 13 Dec 2024 08:00:26 +0000 (09:00 +0100)]
Merge pull request #3609 from lonvia/reverse-ignore-postcode-areas

Ignore postcode areas on reverse

5 weeks agoignore postcode areas on reverse
Sarah Hoffmann [Thu, 12 Dec 2024 18:02:00 +0000 (19:02 +0100)]
ignore postcode areas on reverse

Postcode lookups are best done by doing reverse at a higher
level and then extracting the postcode.

5 weeks agoMerge pull request #3608 from lonvia/reverse-fallback-country
Sarah Hoffmann [Thu, 12 Dec 2024 17:51:18 +0000 (18:51 +0100)]
Merge pull request #3608 from lonvia/reverse-fallback-country

Fall back to using the OSM grid country table when no countries are found in the OSM data

5 weeks agohave reverse fall back to country table when no country is found
Sarah Hoffmann [Thu, 12 Dec 2024 16:14:02 +0000 (17:14 +0100)]
have reverse fall back to country table when no country is found

5 weeks agodocs: complete requirements list for dev env
Sarah Hoffmann [Tue, 10 Dec 2024 07:54:29 +0000 (08:54 +0100)]
docs: complete requirements list for dev env

7 weeks agodocs: more prominent mention of pip install
Sarah Hoffmann [Mon, 25 Nov 2024 13:31:09 +0000 (14:31 +0100)]
docs: more prominent mention of pip install

7 weeks agoMerge pull request #3600 from clavisound/master
Sarah Hoffmann [Sun, 24 Nov 2024 08:09:59 +0000 (09:09 +0100)]
Merge pull request #3600 from clavisound/master

uvicorn.org vs www.uvicorn.org

7 weeks agouvicorn.org vs www.uvicorn.org
clavisound [Sun, 24 Nov 2024 06:53:12 +0000 (08:53 +0200)]
uvicorn.org vs www.uvicorn.org

correct link

8 weeks agoMerge pull request #3593 from lonvia/order-by-bbox
Sarah Hoffmann [Tue, 19 Nov 2024 10:50:55 +0000 (11:50 +0100)]
Merge pull request #3593 from lonvia/order-by-bbox

Use bbox size for secondary order of results

8 weeks agouse bbox size for secondary order of results
Sarah Hoffmann [Tue, 19 Nov 2024 09:38:50 +0000 (10:38 +0100)]
use bbox size for secondary order of results

Helps to return the largest object when deduplicating results.

8 weeks agoMerge pull request #3592 from lonvia/remove-cmake
Sarah Hoffmann [Tue, 19 Nov 2024 09:02:53 +0000 (10:02 +0100)]
Merge pull request #3592 from lonvia/remove-cmake

Remove cmake building and bundled osm2pgsql

8 weeks agoupdate instructions for Vagrant
Sarah Hoffmann [Tue, 19 Nov 2024 08:26:59 +0000 (09:26 +0100)]
update instructions for Vagrant

8 weeks agoupdate release instructions
Sarah Hoffmann [Tue, 19 Nov 2024 08:17:50 +0000 (09:17 +0100)]
update release instructions

8 weeks agoswitch actions to pip-based install
Sarah Hoffmann [Mon, 18 Nov 2024 14:08:23 +0000 (15:08 +0100)]
switch actions to pip-based install

8 weeks agoupdate Ubuntu22 install script for pip install
Sarah Hoffmann [Fri, 15 Nov 2024 21:50:53 +0000 (22:50 +0100)]
update Ubuntu22 install script for pip install

8 weeks agoremove cmake and related installation instructions
Sarah Hoffmann [Fri, 15 Nov 2024 14:07:30 +0000 (15:07 +0100)]
remove cmake and related installation instructions

8 weeks agoremove vendored osm2pgsql
Sarah Hoffmann [Fri, 15 Nov 2024 13:29:51 +0000 (14:29 +0100)]
remove vendored osm2pgsql

8 weeks agoMerge pull request #3591 from lonvia/increase-required-postgresql
Sarah Hoffmann [Mon, 18 Nov 2024 12:37:03 +0000 (13:37 +0100)]
Merge pull request #3591 from lonvia/increase-required-postgresql

Increase version requirements for PostgreSQL and PostGIS

8 weeks agoadapt BDD tests to changed simplification
Sarah Hoffmann [Mon, 18 Nov 2024 11:34:14 +0000 (12:34 +0100)]
adapt BDD tests to changed simplification

8 weeks agoactions: update to latest supported versions
Sarah Hoffmann [Mon, 18 Nov 2024 09:16:17 +0000 (10:16 +0100)]
actions: update to latest supported versions

8 weeks agoremove code only needed for older PostgreSQL/PostGIS versions
Sarah Hoffmann [Mon, 18 Nov 2024 09:11:09 +0000 (10:11 +0100)]
remove code only needed for older PostgreSQL/PostGIS versions

8 weeks agoincrease minimum versions for PostgreSQL and PostGIS
Sarah Hoffmann [Mon, 18 Nov 2024 08:28:06 +0000 (09:28 +0100)]
increase minimum versions for PostgreSQL and PostGIS

2 months agoMerge pull request #3590 from lonvia/lookup-per-osm-type
Sarah Hoffmann [Fri, 15 Nov 2024 08:44:16 +0000 (09:44 +0100)]
Merge pull request #3590 from lonvia/lookup-per-osm-type

Look up different OSM types in placex separately

2 months agoMerge pull request #3588 from lonvia/optional-reverse-api
Sarah Hoffmann [Thu, 14 Nov 2024 18:33:57 +0000 (19:33 +0100)]
Merge pull request #3588 from lonvia/optional-reverse-api

Add support for adding endpoints to server conditionally

2 months agolook up different OSM types in placex separately
Sarah Hoffmann [Thu, 14 Nov 2024 16:47:01 +0000 (17:47 +0100)]
look up different OSM types in placex separately

There are separate indexes on placex for the different OSM types.
PostgreSQL can only use these indexes if the type is fixed per query.

2 months agofix grammar in issue template
Sarah Hoffmann [Thu, 14 Nov 2024 16:24:19 +0000 (17:24 +0100)]
fix grammar in issue template

2 months agoMerge pull request #3587 from danieldegroot2/lookup-spelling
Sarah Hoffmann [Thu, 14 Nov 2024 15:53:11 +0000 (16:53 +0100)]
Merge pull request #3587 from danieldegroot2/lookup-spelling

Update lookup.py - Correct spelling for "simultaneously"

2 months agoenable search endpoint only when search table is available
Sarah Hoffmann [Wed, 13 Nov 2024 21:53:33 +0000 (22:53 +0100)]
enable search endpoint only when search table is available

2 months agomove server route creation into async function
Sarah Hoffmann [Wed, 13 Nov 2024 20:27:14 +0000 (21:27 +0100)]
move server route creation into async function

2 months agoUpdate lookup.py - Correct spelling for "simultaneously"
danieldegroot2 [Wed, 13 Nov 2024 19:35:37 +0000 (20:35 +0100)]
Update lookup.py - Correct spelling for "simultaneously"

Corrects minor spelling mistake.

2 months agoMerge pull request #3586 from lonvia/reduce-lookup-calls
Sarah Hoffmann [Wed, 13 Nov 2024 18:33:22 +0000 (19:33 +0100)]
Merge pull request #3586 from lonvia/reduce-lookup-calls

Reduce number of SQL queries for lookup call

2 months agolook up all places at once
Sarah Hoffmann [Tue, 12 Nov 2024 21:15:43 +0000 (22:15 +0100)]
look up all places at once

2 months agoMerge pull request #3582 from lonvia/switch-to-flake
Sarah Hoffmann [Mon, 11 Nov 2024 10:20:21 +0000 (11:20 +0100)]
Merge pull request #3582 from lonvia/switch-to-flake

Switch from pylint to flake8 for linting

2 months agoMerge pull request #3580 from lonvia/about-ai-prs
Sarah Hoffmann [Mon, 11 Nov 2024 09:12:36 +0000 (10:12 +0100)]
Merge pull request #3580 from lonvia/about-ai-prs

Contributions: some additional rules for AI use

2 months agoreplace pylint with flake8 everywhere
Sarah Hoffmann [Sun, 10 Nov 2024 22:14:09 +0000 (23:14 +0100)]
replace pylint with flake8 everywhere

2 months agoremove remaining pylint hints
Sarah Hoffmann [Sun, 10 Nov 2024 21:49:29 +0000 (22:49 +0100)]
remove remaining pylint hints

2 months agofix style issue found by flake8
Sarah Hoffmann [Sun, 10 Nov 2024 21:47:14 +0000 (22:47 +0100)]
fix style issue found by flake8

2 months agocontributions: some additional rules for AI use
Sarah Hoffmann [Sun, 10 Nov 2024 09:39:40 +0000 (10:39 +0100)]
contributions: some additional rules for AI use

2 months agoMerge pull request #3576 from lonvia/test-updating
Sarah Hoffmann [Mon, 4 Nov 2024 14:56:20 +0000 (15:56 +0100)]
Merge pull request #3576 from lonvia/test-updating

Github action for testing migration

2 months agoactions: add test for database migration
Sarah Hoffmann [Mon, 4 Nov 2024 09:04:13 +0000 (10:04 +0100)]
actions: add test for database migration

2 months agodo not rename parameters in existing SQL function
Sarah Hoffmann [Mon, 4 Nov 2024 08:46:20 +0000 (09:46 +0100)]
do not rename parameters in existing SQL function

2 months agoMerge pull request #3575 from lonvia/improve-centroid
Sarah Hoffmann [Mon, 4 Nov 2024 08:09:40 +0000 (09:09 +0100)]
Merge pull request #3575 from lonvia/improve-centroid

Improve centroid computation for line strings

2 months agoavoid multiple centroid computations
Sarah Hoffmann [Sun, 3 Nov 2024 21:00:03 +0000 (22:00 +0100)]
avoid multiple centroid computations

2 months agouse line interpolation to create centroid for lines
Sarah Hoffmann [Sun, 3 Nov 2024 16:46:06 +0000 (17:46 +0100)]
use line interpolation to create centroid for lines

ST_PointOnSurface always returns one of the vertices of a line.
This means that a two-point line will have the centroid at
one of the ends, which is less then ideal.

2 months agofix backward compatibility issues with Python 3.7
Sarah Hoffmann [Fri, 25 Oct 2024 21:43:59 +0000 (23:43 +0200)]
fix backward compatibility issues with Python 3.7

2 months agoremove now unnecessary type-ignores
Sarah Hoffmann [Fri, 25 Oct 2024 15:56:47 +0000 (17:56 +0200)]
remove now unnecessary type-ignores

2 months agoMerge pull request #3558 from otbutz/patch-1
Sarah Hoffmann [Fri, 25 Oct 2024 13:33:59 +0000 (15:33 +0200)]
Merge pull request #3558 from otbutz/patch-1

Fix gunicorn invocation

3 months agoFix gunicorn invocation
otbutz [Wed, 9 Oct 2024 08:07:43 +0000 (10:07 +0200)]
Fix gunicorn invocation

3 months agoMerge pull request #3554 from lonvia/postcode-bbox
Sarah Hoffmann [Mon, 30 Sep 2024 08:50:43 +0000 (10:50 +0200)]
Merge pull request #3554 from lonvia/postcode-bbox

Improve bounding boxes for postcodes

3 months agoget bbox of postcode areas into results
Sarah Hoffmann [Sat, 28 Sep 2024 12:42:32 +0000 (14:42 +0200)]
get bbox of postcode areas into results

3 months agoderive bbox size for postcode nodes from rank_search
Sarah Hoffmann [Sat, 28 Sep 2024 11:45:32 +0000 (13:45 +0200)]
derive bbox size for postcode nodes from rank_search

3 months agoadd new format 'raw' for CLI commands
Sarah Hoffmann [Sat, 28 Sep 2024 08:10:58 +0000 (10:10 +0200)]
add new format 'raw' for CLI commands

This dumps the original results with all details available.

3 months agoRevert "work round typing bug in pyosmium 4.0"
Sarah Hoffmann [Fri, 27 Sep 2024 18:19:37 +0000 (20:19 +0200)]
Revert "work round typing bug in pyosmium 4.0"

This reverts commit f960a9bf7fd1702b3d66995dd69307bd91d61a08.

3 months agoMerge pull request #3552 from lonvia/drop-some-migrations
Sarah Hoffmann [Fri, 27 Sep 2024 17:46:37 +0000 (19:46 +0200)]
Merge pull request #3552 from lonvia/drop-some-migrations

Restrict migrations to versions 4.3+

3 months agodrop automatic migration from versions <4.3
Sarah Hoffmann [Fri, 27 Sep 2024 10:07:48 +0000 (12:07 +0200)]
drop automatic migration from versions <4.3

3 months agoMerge pull request #3542 from lonvia/remove-legacy-tokenizer
Sarah Hoffmann [Tue, 24 Sep 2024 13:42:40 +0000 (15:42 +0200)]
Merge pull request #3542 from lonvia/remove-legacy-tokenizer

Remove legacy tokenizer

3 months agowork round typing bug in pyosmium 4.0
Sarah Hoffmann [Tue, 24 Sep 2024 09:51:01 +0000 (11:51 +0200)]
work round typing bug in pyosmium 4.0

3 months agosupress new pylint errors
Sarah Hoffmann [Sun, 22 Sep 2024 19:58:25 +0000 (21:58 +0200)]
supress new pylint errors

3 months agoremove support for unindexed tokens
Sarah Hoffmann [Sun, 22 Sep 2024 08:39:10 +0000 (10:39 +0200)]
remove support for unindexed tokens

This was a special feature of the legacy tokenizer who would not
index very frequent tokens.

3 months agoremove PHPCS configuration
Sarah Hoffmann [Sat, 21 Sep 2024 16:27:19 +0000 (18:27 +0200)]
remove PHPCS configuration

3 months agoremove documentation around legacy tokenizer
Sarah Hoffmann [Sat, 21 Sep 2024 16:27:01 +0000 (18:27 +0200)]
remove documentation around legacy tokenizer

3 months agoremove all references to a module path
Sarah Hoffmann [Sat, 21 Sep 2024 15:39:01 +0000 (17:39 +0200)]
remove all references to a module path

No longer used now that legacy tokenizer is gone.

3 months agoremove warning about now removed legacy tokenizer
Sarah Hoffmann [Sat, 21 Sep 2024 15:12:35 +0000 (17:12 +0200)]
remove warning about now removed legacy tokenizer

3 months agoremove special casing for legacy tokenizer from BDD tests
Sarah Hoffmann [Sat, 21 Sep 2024 15:07:32 +0000 (17:07 +0200)]
remove special casing for legacy tokenizer from BDD tests

3 months agoremove PostgreSQL legacy module
Sarah Hoffmann [Sat, 21 Sep 2024 09:51:58 +0000 (11:51 +0200)]
remove PostgreSQL legacy module

3 months agoremove legacy tokenizer and direct tests
Sarah Hoffmann [Sat, 21 Sep 2024 09:38:08 +0000 (11:38 +0200)]
remove legacy tokenizer and direct tests

4 months agoMerge pull request #3536 from lonvia/remove-php
Sarah Hoffmann [Mon, 16 Sep 2024 19:49:01 +0000 (21:49 +0200)]
Merge pull request #3536 from lonvia/remove-php

Remove PHP frontend

4 months agoadd migration warning for PHP frontend removal
Sarah Hoffmann [Mon, 16 Sep 2024 07:40:26 +0000 (09:40 +0200)]
add migration warning for PHP frontend removal

4 months agodocs: remove all references to PHP
Sarah Hoffmann [Sun, 15 Sep 2024 14:08:26 +0000 (16:08 +0200)]
docs: remove all references to PHP

4 months agoremove remaining references to php code
Sarah Hoffmann [Sun, 15 Sep 2024 13:33:59 +0000 (15:33 +0200)]
remove remaining references to php code

4 months agoremove PHP frontend support from BDD tests
Sarah Hoffmann [Sun, 15 Sep 2024 11:51:51 +0000 (13:51 +0200)]
remove PHP frontend support from BDD tests

4 months agoremove website setup
Sarah Hoffmann [Sun, 15 Sep 2024 09:58:55 +0000 (11:58 +0200)]
remove website setup

The website directory was for PHP scripts only and is no longer
needed.

4 months agoremove PHP tests
Sarah Hoffmann [Sun, 15 Sep 2024 09:26:49 +0000 (11:26 +0200)]
remove PHP tests

4 months agoremove PHP frontend
Sarah Hoffmann [Sun, 15 Sep 2024 09:22:13 +0000 (11:22 +0200)]
remove PHP frontend

4 months agoprepare 4.5.0 release
Sarah Hoffmann [Wed, 11 Sep 2024 15:51:38 +0000 (17:51 +0200)]
prepare 4.5.0 release

4 months agoMerge pull request #3532 from lonvia/refresh-docs
Sarah Hoffmann [Wed, 11 Sep 2024 08:27:09 +0000 (10:27 +0200)]
Merge pull request #3532 from lonvia/refresh-docs

Update library documentation

4 months agodocs: improve contents listing
Sarah Hoffmann [Tue, 10 Sep 2024 18:36:27 +0000 (20:36 +0200)]
docs: improve contents listing

4 months agodocs: rework library getting started
Sarah Hoffmann [Thu, 29 Aug 2024 20:45:20 +0000 (22:45 +0200)]
docs: rework library getting started

4 months agodocs: avoid loading external fonts
Sarah Hoffmann [Tue, 10 Sep 2024 14:08:43 +0000 (16:08 +0200)]
docs: avoid loading external fonts

4 months agofix permalink character
Sarah Hoffmann [Thu, 29 Aug 2024 20:23:52 +0000 (22:23 +0200)]
fix permalink character

4 months agoMerge pull request #3530 from lonvia/clean-use-of-os-environ
Sarah Hoffmann [Mon, 2 Sep 2024 07:49:10 +0000 (09:49 +0200)]
Merge pull request #3530 from lonvia/clean-use-of-os-environ

Don't use OS environment variables when an explicit environment was set

4 months agorestrict use of os.environ in Configuration
Sarah Hoffmann [Sun, 1 Sep 2024 14:17:30 +0000 (16:17 +0200)]
restrict use of os.environ in Configuration

Only use the OS environment, when the environ parameter is set
to None. Currently it would use the OS env on an empty dict.

4 months agoMerge pull request #3523 from mtmail/import-styles-country-code
Sarah Hoffmann [Mon, 26 Aug 2024 12:03:47 +0000 (14:03 +0200)]
Merge pull request #3523 from mtmail/import-styles-country-code

Import-Styles.md - clarify country_code key

4 months agoMerge pull request #3525 from lonvia/project-dir-less-library
Sarah Hoffmann [Mon, 26 Aug 2024 11:54:35 +0000 (13:54 +0200)]
Merge pull request #3525 from lonvia/project-dir-less-library

Simplify handling of project directory for Nominatim library

4 months agoImport-Styles.md - clarify country_code key
marc tobias [Fri, 23 Aug 2024 11:49:16 +0000 (13:49 +0200)]
Import-Styles.md - clarify country_code key

4 months agofix typo in Import-Styles.md
mtmail [Thu, 22 Aug 2024 22:40:13 +0000 (00:40 +0200)]
fix typo in Import-Styles.md

4 months agoallow None and str for project_dir in NominatimAPI init
Sarah Hoffmann [Thu, 22 Aug 2024 20:49:12 +0000 (22:49 +0200)]
allow None and str for project_dir in NominatimAPI init

4 months agoMerge pull request #3520 from lonvia/restrict-interpolation-range
Sarah Hoffmann [Tue, 20 Aug 2024 07:03:52 +0000 (09:03 +0200)]
Merge pull request #3520 from lonvia/restrict-interpolation-range

Restrict interpolation housenumbers to 0-999999

4 months agoMerge pull request #3521 from lonvia/make-requests-optional
Sarah Hoffmann [Tue, 20 Aug 2024 07:03:39 +0000 (09:03 +0200)]
Merge pull request #3521 from lonvia/make-requests-optional

Fix error around missing requests library

4 months agorestrict interpolation housenumbers to 0-999999
Sarah Hoffmann [Mon, 19 Aug 2024 18:38:04 +0000 (20:38 +0200)]
restrict interpolation housenumbers to 0-999999

Ensures that the numbers fit into integers.