]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
4 days agorelease 5.0.0.post5 master
Sarah Hoffmann [Mon, 24 Feb 2025 16:26:04 +0000 (17:26 +0100)]
release 5.0.0.post5

4 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 24 Feb 2025 15:51:44 +0000 (16:51 +0100)]
Merge remote-tracking branch 'upstream/master'

4 days agoMerge pull request #3659 from lonvia/custom-datrie-structure
Sarah Hoffmann [Mon, 24 Feb 2025 15:49:42 +0000 (16:49 +0100)]
Merge pull request #3659 from lonvia/custom-datrie-structure

Replace datrie library with a simple custom Python implementation

4 days agoremove datrie dependency
Sarah Hoffmann [Tue, 18 Feb 2025 20:12:02 +0000 (21:12 +0100)]
remove datrie dependency

4 days agoreplace datrie library with a more simple pure-Python class
Sarah Hoffmann [Tue, 18 Feb 2025 20:09:12 +0000 (21:09 +0100)]
replace datrie library with a more simple pure-Python class

4 days agoMerge pull request #3658 from lonvia/minor-query-parsing-optimisations
Sarah Hoffmann [Mon, 24 Feb 2025 09:16:47 +0000 (10:16 +0100)]
Merge pull request #3658 from lonvia/minor-query-parsing-optimisations

Minor query parsing optimisations

7 days agoadapt documentation for PhraseType type
Sarah Hoffmann [Fri, 21 Feb 2025 16:16:42 +0000 (17:16 +0100)]
adapt documentation for PhraseType type

7 days agoreplace PhraseType enum with simple int constants
Sarah Hoffmann [Fri, 21 Feb 2025 15:44:12 +0000 (16:44 +0100)]
replace PhraseType enum with simple int constants

7 days agoreplace TokenType enum with simple char constants
Sarah Hoffmann [Fri, 21 Feb 2025 09:23:41 +0000 (10:23 +0100)]
replace TokenType enum with simple char constants

7 days agoreplace BreakType enum with simple char constants
Sarah Hoffmann [Fri, 21 Feb 2025 08:57:48 +0000 (09:57 +0100)]
replace BreakType enum with simple char constants

7 days agoconsistently use query module as qmod
Sarah Hoffmann [Fri, 21 Feb 2025 08:31:21 +0000 (09:31 +0100)]
consistently use query module as qmod

7 days agoavoid yielding when extracting words from query
Sarah Hoffmann [Thu, 20 Feb 2025 22:32:39 +0000 (23:32 +0100)]
avoid yielding when extracting words from query

8 days agoremove word_number counting for phrases
Sarah Hoffmann [Thu, 20 Feb 2025 16:36:50 +0000 (17:36 +0100)]
remove word_number counting for phrases

We can just examine the break types to know if we are dealing
with a partial token.

8 days agorelease 5.0.0.post4
Sarah Hoffmann [Thu, 20 Feb 2025 14:03:40 +0000 (15:03 +0100)]
release 5.0.0.post4

8 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 20 Feb 2025 13:36:26 +0000 (14:36 +0100)]
Merge remote-tracking branch 'upstream/master'

8 days agoMerge pull request #3655 from lonvia/remove-name-ranking-in-postcode-search
Sarah Hoffmann [Thu, 20 Feb 2025 13:32:43 +0000 (14:32 +0100)]
Merge pull request #3655 from lonvia/remove-name-ranking-in-postcode-search

Tweak penalties for postcode searches

8 days agoremove address penalty for postcode search
Sarah Hoffmann [Thu, 20 Feb 2025 10:05:28 +0000 (11:05 +0100)]
remove address penalty for postcode search

Searches of the form <postcode> <city> are in fact quite common.

8 days agodo not rerank address by full match in postcode search
Sarah Hoffmann [Thu, 20 Feb 2025 09:15:03 +0000 (10:15 +0100)]
do not rerank address by full match in postcode search

The reranking result will not be completely correct because
the address of a postcode refer to the address _and_ name
of the parent and reranking was only done against the
address. We assume here that the postcode is precise enough
as to not require a penalty to to partial matches.

8 days agorelease 5.0.0post3
Sarah Hoffmann [Wed, 19 Feb 2025 20:29:18 +0000 (21:29 +0100)]
release 5.0.0post3

8 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 19 Feb 2025 19:51:20 +0000 (20:51 +0100)]
Merge remote-tracking branch 'upstream/master'

9 days agoMerge pull request #3653 from lonvia/trailing-spaces-in-normalization
Sarah Hoffmann [Wed, 19 Feb 2025 16:25:59 +0000 (17:25 +0100)]
Merge pull request #3653 from lonvia/trailing-spaces-in-normalization

Strip leading and trailing space markers during normalization

9 days agostrip normalisation results of normal and special spaces
Sarah Hoffmann [Wed, 19 Feb 2025 09:26:06 +0000 (10:26 +0100)]
strip normalisation results of normal and special spaces

9 days agoadd test for structured query with leading spaces
Sarah Hoffmann [Wed, 19 Feb 2025 08:38:10 +0000 (09:38 +0100)]
add test for structured query with leading spaces

9 days agoMerge pull request #3652 from lonvia/update-variants
Sarah Hoffmann [Tue, 18 Feb 2025 18:47:45 +0000 (19:47 +0100)]
Merge pull request #3652 from lonvia/update-variants

Cleanup and updates of tokenizer variant configuration

10 days agoMerge pull request #3649 from lonvia/actions-move-to-ubuntu22
Sarah Hoffmann [Tue, 18 Feb 2025 12:21:09 +0000 (13:21 +0100)]
Merge pull request #3649 from lonvia/actions-move-to-ubuntu22

Move Github actions to Unbuntu-22 image

10 days agoremove e-ë mutation, this is taken care of by transliteration
Sarah Hoffmann [Tue, 18 Feb 2025 09:31:44 +0000 (10:31 +0100)]
remove e-ë mutation, this is taken care of by transliteration

10 days agoAdd USPS Standard Suffix Abbreviation
mhsr21 [Tue, 7 May 2024 07:21:10 +0000 (03:21 -0400)]
Add USPS Standard Suffix Abbreviation

10 days agofix Norwegian variants
Sarah Hoffmann [Mon, 17 Feb 2025 16:51:33 +0000 (17:51 +0100)]
fix Norwegian variants

More cases of 'no' being interpreted as fasle by yaml.

10 days agoremove ineffective and dupicate variants
Sarah Hoffmann [Mon, 17 Feb 2025 11:07:53 +0000 (12:07 +0100)]
remove ineffective and dupicate variants

11 days agoMerge pull request #3555 from IvanShift/patch-1
Sarah Hoffmann [Mon, 17 Feb 2025 17:44:11 +0000 (18:44 +0100)]
Merge pull request #3555 from IvanShift/patch-1

Fixed Russian abbreviation list

11 days agoactions: use Debians's script for adding the Postgres apt repo
Sarah Hoffmann [Mon, 17 Feb 2025 16:56:23 +0000 (17:56 +0100)]
actions: use Debians's script for adding the Postgres apt repo

11 days agoactions: move tests to Ubuntu-20
Sarah Hoffmann [Mon, 17 Feb 2025 16:54:49 +0000 (17:54 +0100)]
actions: move tests to Ubuntu-20

11 days agorelease 5.0.0.post2
Sarah Hoffmann [Mon, 17 Feb 2025 13:11:24 +0000 (14:11 +0100)]
release 5.0.0.post2

11 days agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 17 Feb 2025 10:15:42 +0000 (11:15 +0100)]
Merge remote-tracking branch 'upstream/master'

11 days agoMerge pull request #3648 from lonvia/extratags-for-geocodejson
Sarah Hoffmann [Mon, 17 Feb 2025 10:14:52 +0000 (11:14 +0100)]
Merge pull request #3648 from lonvia/extratags-for-geocodejson

Enable output of extratags for geocodejson format

11 days agoadd documentation for new extra field
Sarah Hoffmann [Mon, 17 Feb 2025 09:04:23 +0000 (10:04 +0100)]
add documentation for new extra field

12 days agoadd optional output of extratags to geocodejson
Sarah Hoffmann [Sun, 16 Feb 2025 09:16:40 +0000 (10:16 +0100)]
add optional output of extratags to geocodejson

3 weeks agorelease 5.0.0.post1
Sarah Hoffmann [Wed, 5 Feb 2025 10:17:50 +0000 (11:17 +0100)]
release 5.0.0.post1

3 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 5 Feb 2025 10:11:47 +0000 (11:11 +0100)]
Merge remote-tracking branch 'upstream/master'

3 weeks agoprepare 5.0.0 release
Sarah Hoffmann [Wed, 5 Feb 2025 09:54:38 +0000 (10:54 +0100)]
prepare 5.0.0 release

6 weeks agoMerge pull request #3635 from lonvia/replace-wikimedia-importance-test-data
Sarah Hoffmann [Tue, 14 Jan 2025 15:49:52 +0000 (16:49 +0100)]
Merge pull request #3635 from lonvia/replace-wikimedia-importance-test-data

Update wikimedia importance file for test database

6 weeks agoadapt tests to changed wikimedia importance test table
Sarah Hoffmann [Tue, 14 Jan 2025 13:19:17 +0000 (14:19 +0100)]
adapt tests to changed wikimedia importance test table

6 weeks agoreplace wikimedia importance file for test data with CSV version
Sarah Hoffmann [Tue, 14 Jan 2025 08:16:25 +0000 (09:16 +0100)]
replace wikimedia importance file for test data with CSV version

6 weeks agorelease 4.5.0.post9
Sarah Hoffmann [Sat, 11 Jan 2025 09:31:34 +0000 (10:31 +0100)]
release 4.5.0.post9

6 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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

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

7 weeks 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 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

2 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

2 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

2 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

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

2 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

2 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

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

2 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

2 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

2 months agorelease 4.5.0.post8
Sarah Hoffmann [Tue, 10 Dec 2024 09:31:34 +0000 (10:31 +0100)]
release 4.5.0.post8

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

2 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

3 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

3 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

3 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