]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
7 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 10 Jan 2025 19:58:34 +0000 (20:58 +0100)]
Merge remote-tracking branch 'upstream/master'

7 days agoMerge pull request #3626 from lonvia/import-performance
Sarah Hoffmann [Fri, 10 Jan 2025 15:44:33 +0000 (16:44 +0100)]
Merge pull request #3626 from lonvia/import-performance

Import performance

7 days agoMerge pull request #3631 from lonvia/avoid-transactions
Sarah Hoffmann [Fri, 10 Jan 2025 15:44:18 +0000 (16:44 +0100)]
Merge pull request #3631 from lonvia/avoid-transactions

Creating tables and indexes in autocommit mode

7 days agoMerge pull request #3633 from lonvia/restrict-long-ways
Sarah Hoffmann [Fri, 10 Jan 2025 15:06:37 +0000 (16:06 +0100)]
Merge pull request #3633 from lonvia/restrict-long-ways

Ignore overly long ways during import

7 days agoignore overly long ways during import
Sarah Hoffmann [Fri, 10 Jan 2025 12:55:43 +0000 (13:55 +0100)]
ignore overly long ways during import

8 days agouse autocommit when creating tables and indexes
Sarah Hoffmann [Thu, 9 Jan 2025 16:14:37 +0000 (17:14 +0100)]
use autocommit when creating tables and indexes

Might avoid some deadlock situations with autovacuum.

8 days agoMerge pull request #3629 from lonvia/additional-breaks
Sarah Hoffmann [Thu, 9 Jan 2025 12:55:29 +0000 (13:55 +0100)]
Merge pull request #3629 from lonvia/additional-breaks

Introduce new break types and phrase splitting for Japanese addresses

8 days agoadd japanese phrase preprocessing
Sarah Hoffmann [Wed, 8 Jan 2025 18:43:25 +0000 (19:43 +0100)]
add japanese phrase preprocessing

Code adapted from GSOC code by @miku.

8 days agokeep break indicators [:-] during normalisation
Sarah Hoffmann [Tue, 7 Jan 2025 20:32:32 +0000 (21:32 +0100)]
keep break indicators [:-] during normalisation

All punctuation will be converted to '-'. Soft breaks : may be
added by preprocessors. The break signs are only used during
query analysis and are ignored during import token analysis.

10 days agoadd inner word break penalty
Sarah Hoffmann [Tue, 7 Jan 2025 19:40:58 +0000 (20:40 +0100)]
add inner word break penalty

11 days agoadd SOFT_PHRASE break and enable parsing
Sarah Hoffmann [Mon, 6 Jan 2025 16:10:24 +0000 (17:10 +0100)]
add SOFT_PHRASE break and enable parsing

Also enables parsing of PART breaks.

3 weeks agosplit up MultiPolygons before adding them to large_areas table
Sarah Hoffmann [Fri, 20 Dec 2024 10:03:15 +0000 (11:03 +0100)]
split up MultiPolygons before adding them to large_areas table

3 weeks agomove geometry split into insertLocationAreaLarge()
Sarah Hoffmann [Thu, 19 Dec 2024 19:09:27 +0000 (20:09 +0100)]
move geometry split into insertLocationAreaLarge()

thus insert only needs to be called once.

3 weeks agomore efficient belongs-to-address determination
Sarah Hoffmann [Thu, 19 Dec 2024 17:08:56 +0000 (18:08 +0100)]
more efficient belongs-to-address determination

3 weeks agoMerge pull request #3619 from lonvia/demote-farms
Sarah Hoffmann [Sun, 22 Dec 2024 08:13:42 +0000 (09:13 +0100)]
Merge pull request #3619 from lonvia/demote-farms

Remove farms and isolated dwellings from computed addresses

3 weeks agoremove farms and isolated dwellings from computed addresses
Sarah Hoffmann [Fri, 20 Dec 2024 21:59:02 +0000 (22:59 +0100)]
remove farms and isolated dwellings from computed addresses

Farms and isolated dwellings are usually confined to a very small
area. It does not make sense if they are automatically used in
addressing surrounding features. Still works to use them for
parenting when used with addr:place.

4 weeks agodocs: update Update docs for virtualenv use
Sarah Hoffmann [Fri, 20 Dec 2024 10:27:45 +0000 (11:27 +0100)]
docs: update Update docs for virtualenv use

4 weeks agoMerge pull request #3618 from osm-search/settings-md-table-space-osm-index
Sarah Hoffmann [Thu, 19 Dec 2024 07:40:31 +0000 (08:40 +0100)]
Merge pull request #3618 from osm-search/settings-md-table-space-osm-index

Settings.md - one setting was repeated

4 weeks agoSettings.md - one setting was repeated
mtmail [Wed, 18 Dec 2024 20:58:51 +0000 (21:58 +0100)]
Settings.md - one setting was repeated

4 weeks agoMerge pull request #3617 from mtmail/pr-3615-wording
Sarah Hoffmann [Wed, 18 Dec 2024 10:04:21 +0000 (11:04 +0100)]
Merge pull request #3617 from mtmail/pr-3615-wording

Slight wording changes for Import-Styles.md

4 weeks agoSlight wording changes for Import-Styles.md
marc tobias [Tue, 17 Dec 2024 00:28:02 +0000 (01:28 +0100)]
Slight wording changes for Import-Styles.md

4 weeks agoMerge pull request #3616 from osm-search/tokenizers-md-typo
Sarah Hoffmann [Tue, 17 Dec 2024 07:43:16 +0000 (08:43 +0100)]
Merge pull request #3616 from osm-search/tokenizers-md-typo

fix typo in Tokenizers.md

4 weeks agofix typo in Tokenizers.md
mtmail [Mon, 16 Dec 2024 22:38:18 +0000 (23:38 +0100)]
fix typo in Tokenizers.md

4 weeks agoMerge pull request #3615 from lonvia/overhaul-osm2pgsql-style
Sarah Hoffmann [Mon, 16 Dec 2024 18:13:46 +0000 (19:13 +0100)]
Merge pull request #3615 from lonvia/overhaul-osm2pgsql-style

Overhaul osm2pgsql style

4 weeks agoexclude more tourism=information types
Sarah Hoffmann [Mon, 16 Dec 2024 09:44:37 +0000 (10:44 +0100)]
exclude more tourism=information types

4 weeks agoreintroduce brand and remove etymology
Sarah Hoffmann [Thu, 12 Dec 2024 09:23:50 +0000 (10:23 +0100)]
reintroduce brand and remove etymology

4 weeks agoexclude unnamed swimming pools
Sarah Hoffmann [Wed, 11 Dec 2024 09:59:32 +0000 (10:59 +0100)]
exclude unnamed swimming pools

Publicly accessible ones are usually mapped as the bigger area
with the water park.

4 weeks agoinclude lock names mapped with "lock_name"
Sarah Hoffmann [Mon, 9 Dec 2024 16:57:08 +0000 (17:57 +0100)]
include lock names mapped with "lock_name"

Fixes #3365.

4 weeks agodo not save names when falling back to addresses
Sarah Hoffmann [Mon, 9 Dec 2024 16:28:30 +0000 (17:28 +0100)]
do not save names when falling back to addresses

If an object doesn't have a useable main tag, then the names should
always be ignored, independently of the presence of housenumbers.
We have to assume that the name belongs to a feature that was
intentionally filtered out.

4 weeks agoswitch to subtags for tourism=information and natural=water
Sarah Hoffmann [Mon, 9 Dec 2024 16:12:35 +0000 (17:12 +0100)]
switch to subtags for tourism=information and natural=water

4 weeks agoexclude sidewalks and similar footways
Sarah Hoffmann [Mon, 9 Dec 2024 15:34:18 +0000 (16:34 +0100)]
exclude sidewalks and similar footways

These footways are part of a street that is usually already named.

4 weeks agomake nominatim callable with themepark style
Sarah Hoffmann [Mon, 9 Dec 2024 13:05:15 +0000 (14:05 +0100)]
make nominatim callable with themepark style

4 weeks agoadapt documentation for style import
Sarah Hoffmann [Mon, 9 Dec 2024 11:00:22 +0000 (12:00 +0100)]
adapt documentation for style import

4 weeks agoadapt taginfo script to new configuration structure
Sarah Hoffmann [Fri, 6 Dec 2024 14:11:16 +0000 (15:11 +0100)]
adapt taginfo script to new configuration structure

4 weeks agoconvert import styles to themepark
Sarah Hoffmann [Fri, 6 Dec 2024 11:12:27 +0000 (12:12 +0100)]
convert import styles to themepark

Introduces presets which avoid much of the previous configuration
duplication. The original import files are now thin wrappers around
the themepark themes.

4 weeks agoosm2pgsql style: add modification for name and address, with tests
Sarah Hoffmann [Fri, 6 Dec 2024 10:00:25 +0000 (11:00 +0100)]
osm2pgsql style: add modification for name and address, with tests

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 agorelease 4.5.0.post8
Sarah Hoffmann [Tue, 10 Dec 2024 09:31:34 +0000 (10:31 +0100)]
release 4.5.0.post8

5 weeks agobe less strict on filtering one-letter queries
Sarah Hoffmann [Tue, 10 Dec 2024 09:07:48 +0000 (10:07 +0100)]
be less strict on filtering one-letter queries

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 agorelease 4.5.0.post7
Sarah Hoffmann [Tue, 19 Nov 2024 12:30:28 +0000 (13:30 +0100)]
release 4.5.0.post7

8 weeks agoremove more former website traces
Sarah Hoffmann [Tue, 19 Nov 2024 11:00:18 +0000 (12:00 +0100)]
remove more former website traces

Now managed in chef.

8 weeks agoremove last traces of website customization
Sarah Hoffmann [Tue, 19 Nov 2024 10:57:49 +0000 (11:57 +0100)]
remove last traces of website customization

Now managed in chef.

8 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 19 Nov 2024 10:56:33 +0000 (11:56 +0100)]
Merge remote-tracking branch 'upstream/master'

8 weeks agorelease 4.5.0.post6
Sarah Hoffmann [Tue, 19 Nov 2024 10:55:18 +0000 (11:55 +0100)]
release 4.5.0.post6

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 remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 15 Nov 2024 08:45:14 +0000 (09:45 +0100)]
Merge remote-tracking branch 'upstream/master'

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 agorelease 4.5.0.post4
Sarah Hoffmann [Wed, 13 Nov 2024 19:36:26 +0000 (20:36 +0100)]
release 4.5.0.post4

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 remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 13 Nov 2024 18:35:54 +0000 (19:35 +0100)]
Merge remote-tracking branch 'upstream/master'

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 agorelease 4.5.0.post3
Sarah Hoffmann [Thu, 7 Nov 2024 08:19:09 +0000 (09:19 +0100)]
release 4.5.0.post3

2 months agois_indexed no longer exists
Sarah Hoffmann [Thu, 7 Nov 2024 08:16:34 +0000 (09:16 +0100)]
is_indexed no longer exists

2 months agorelease 4.5.0.post2
Sarah Hoffmann [Mon, 4 Nov 2024 14:57:38 +0000 (15:57 +0100)]
release 4.5.0.post2

2 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 4 Nov 2024 14:56:39 +0000 (15:56 +0100)]
Merge remote-tracking branch 'upstream/master'

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