]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
20 months 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.

20 months 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

20 months 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

20 months 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

20 months 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

20 months 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.

20 months 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

20 months 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

20 months 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.

20 months 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

20 months 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

20 months 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

20 months 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

20 months 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

20 months 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

21 months 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

21 months 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.

21 months 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

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

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

21 months 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

21 months 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

21 months 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

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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 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

21 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

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

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

21 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"

21 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

21 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

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

21 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

21 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

21 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

21 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

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

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

21 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

21 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

21 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

21 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

21 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

21 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

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

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

21 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

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

21 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

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

22 months agoAdded "дом" and fixed order "школа"
IvanShift [Sun, 6 Oct 2024 14:59:59 +0000 (17:59 +0300)]
Added "дом" and fixed order "школа"

22 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

22 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

22 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

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

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

22 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+

22 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

22 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

22 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

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

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

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

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

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

22 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

22 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

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

22 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

23 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

23 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

23 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

23 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

23 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

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

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

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

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

23 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

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

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

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

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

23 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

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

23 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

23 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

23 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

23 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

23 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

2 years 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

2 years 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

2 years 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.

2 years agoimport requests library later than osmium
Sarah Hoffmann [Mon, 19 Aug 2024 14:36:09 +0000 (16:36 +0200)]
import requests library later than osmium

requests will usually be pulled in by osmium and is therefore not
a direct dependency of nominatim. Make sure it is only used, when
osmium is present.

2 years agoMerge pull request #3519 from lonvia/api-error-handling
Sarah Hoffmann [Mon, 19 Aug 2024 14:26:18 +0000 (16:26 +0200)]
Merge pull request #3519 from lonvia/api-error-handling

Improve error handling around CLI api commands