]>
git.openstreetmap.org Git - nominatim.git/log
Sarah Hoffmann [Thu, 19 Dec 2024 17:08:56 +0000 (18:08 +0100)]
more efficient belongs-to-address determination
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
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.
Sarah Hoffmann [Fri, 20 Dec 2024 10:27:45 +0000 (11:27 +0100)]
docs: update Update docs for virtualenv use
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
mtmail [Wed, 18 Dec 2024 20:58:51 +0000 (21:58 +0100)]
Settings.md - one setting was repeated
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
marc tobias [Tue, 17 Dec 2024 00:28:02 +0000 (01:28 +0100)]
Slight wording changes for Import-Styles.md
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
mtmail [Mon, 16 Dec 2024 22:38:18 +0000 (23:38 +0100)]
fix typo in Tokenizers.md
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
Sarah Hoffmann [Mon, 16 Dec 2024 09:44:37 +0000 (10:44 +0100)]
exclude more tourism=information types
Sarah Hoffmann [Thu, 12 Dec 2024 09:23:50 +0000 (10:23 +0100)]
reintroduce brand and remove etymology
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.
Sarah Hoffmann [Mon, 9 Dec 2024 16:57:08 +0000 (17:57 +0100)]
include lock names mapped with "lock_name"
Fixes #3365.
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.
Sarah Hoffmann [Mon, 9 Dec 2024 16:12:35 +0000 (17:12 +0100)]
switch to subtags for tourism=information and natural=water
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.
Sarah Hoffmann [Mon, 9 Dec 2024 13:05:15 +0000 (14:05 +0100)]
make nominatim callable with themepark style
Sarah Hoffmann [Mon, 9 Dec 2024 11:00:22 +0000 (12:00 +0100)]
adapt documentation for style import
Sarah Hoffmann [Fri, 6 Dec 2024 14:11:16 +0000 (15:11 +0100)]
adapt taginfo script to new configuration structure
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.
Sarah Hoffmann [Fri, 6 Dec 2024 10:00:25 +0000 (11:00 +0100)]
osm2pgsql style: add modification for name and address, with tests
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.
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.
Sarah Hoffmann [Thu, 5 Dec 2024 15:41:05 +0000 (16:41 +0100)]
do not touch original tags of osm2pgsql OSM object
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.
Sarah Hoffmann [Thu, 5 Dec 2024 14:19:36 +0000 (15:19 +0100)]
move lua scripts into a separate directory
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
Sarah Hoffmann [Fri, 13 Dec 2024 16:09:42 +0000 (17:09 +0100)]
add developers documentation for query-side of tokenizer
Sarah Hoffmann [Fri, 13 Dec 2024 15:53:08 +0000 (16:53 +0100)]
add documentation for new query preprocessing
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.
Sarah Hoffmann [Fri, 13 Dec 2024 09:36:45 +0000 (10:36 +0100)]
docs: external osm2pgsql is not longer optional
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
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.
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
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
Sarah Hoffmann [Tue, 10 Dec 2024 07:54:29 +0000 (08:54 +0100)]
docs: complete requirements list for dev env
Sarah Hoffmann [Mon, 25 Nov 2024 13:31:09 +0000 (14:31 +0100)]
docs: more prominent mention of pip install
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
clavisound [Sun, 24 Nov 2024 06:53:12 +0000 (08:53 +0200)]
uvicorn.org vs www.uvicorn.org
correct link
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
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.
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
Sarah Hoffmann [Tue, 19 Nov 2024 08:26:59 +0000 (09:26 +0100)]
update instructions for Vagrant
Sarah Hoffmann [Tue, 19 Nov 2024 08:17:50 +0000 (09:17 +0100)]
update release instructions
Sarah Hoffmann [Mon, 18 Nov 2024 14:08:23 +0000 (15:08 +0100)]
switch actions to pip-based install
Sarah Hoffmann [Fri, 15 Nov 2024 21:50:53 +0000 (22:50 +0100)]
update Ubuntu22 install script for pip install
Sarah Hoffmann [Fri, 15 Nov 2024 14:07:30 +0000 (15:07 +0100)]
remove cmake and related installation instructions
Sarah Hoffmann [Fri, 15 Nov 2024 13:29:51 +0000 (14:29 +0100)]
remove vendored osm2pgsql
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
Sarah Hoffmann [Mon, 18 Nov 2024 11:34:14 +0000 (12:34 +0100)]
adapt BDD tests to changed simplification
Sarah Hoffmann [Mon, 18 Nov 2024 09:16:17 +0000 (10:16 +0100)]
actions: update to latest supported versions
Sarah Hoffmann [Mon, 18 Nov 2024 09:11:09 +0000 (10:11 +0100)]
remove code only needed for older PostgreSQL/PostGIS versions
Sarah Hoffmann [Mon, 18 Nov 2024 08:28:06 +0000 (09:28 +0100)]
increase minimum versions for PostgreSQL and PostGIS
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
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
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.
Sarah Hoffmann [Thu, 14 Nov 2024 16:24:19 +0000 (17:24 +0100)]
fix grammar in issue template
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"
Sarah Hoffmann [Wed, 13 Nov 2024 21:53:33 +0000 (22:53 +0100)]
enable search endpoint only when search table is available
Sarah Hoffmann [Wed, 13 Nov 2024 20:27:14 +0000 (21:27 +0100)]
move server route creation into async function
danieldegroot2 [Wed, 13 Nov 2024 19:35:37 +0000 (20:35 +0100)]
Update lookup.py - Correct spelling for "simultaneously"
Corrects minor spelling mistake.
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
Sarah Hoffmann [Tue, 12 Nov 2024 21:15:43 +0000 (22:15 +0100)]
look up all places at once
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
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
Sarah Hoffmann [Sun, 10 Nov 2024 22:14:09 +0000 (23:14 +0100)]
replace pylint with flake8 everywhere
Sarah Hoffmann [Sun, 10 Nov 2024 21:49:29 +0000 (22:49 +0100)]
remove remaining pylint hints
Sarah Hoffmann [Sun, 10 Nov 2024 21:47:14 +0000 (22:47 +0100)]
fix style issue found by flake8
Sarah Hoffmann [Sun, 10 Nov 2024 09:39:40 +0000 (10:39 +0100)]
contributions: some additional rules for AI use
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
Sarah Hoffmann [Mon, 4 Nov 2024 09:04:13 +0000 (10:04 +0100)]
actions: add test for database migration
Sarah Hoffmann [Mon, 4 Nov 2024 08:46:20 +0000 (09:46 +0100)]
do not rename parameters in existing SQL function
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
Sarah Hoffmann [Sun, 3 Nov 2024 21:00:03 +0000 (22:00 +0100)]
avoid multiple centroid computations
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.
Sarah Hoffmann [Fri, 25 Oct 2024 21:43:59 +0000 (23:43 +0200)]
fix backward compatibility issues with Python 3.7
Sarah Hoffmann [Fri, 25 Oct 2024 15:56:47 +0000 (17:56 +0200)]
remove now unnecessary type-ignores
Sarah Hoffmann [Fri, 25 Oct 2024 13:33:59 +0000 (15:33 +0200)]
Merge pull request #3558 from otbutz/patch-1
Fix gunicorn invocation
otbutz [Wed, 9 Oct 2024 08:07:43 +0000 (10:07 +0200)]
Fix gunicorn invocation
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
Sarah Hoffmann [Sat, 28 Sep 2024 12:42:32 +0000 (14:42 +0200)]
get bbox of postcode areas into results
Sarah Hoffmann [Sat, 28 Sep 2024 11:45:32 +0000 (13:45 +0200)]
derive bbox size for postcode nodes from rank_search
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.
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 .
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+
Sarah Hoffmann [Fri, 27 Sep 2024 10:07:48 +0000 (12:07 +0200)]
drop automatic migration from versions <4.3
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
Sarah Hoffmann [Tue, 24 Sep 2024 09:51:01 +0000 (11:51 +0200)]
work round typing bug in pyosmium 4.0
Sarah Hoffmann [Sun, 22 Sep 2024 19:58:25 +0000 (21:58 +0200)]
supress new pylint errors
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.
Sarah Hoffmann [Sat, 21 Sep 2024 16:27:19 +0000 (18:27 +0200)]
remove PHPCS configuration
Sarah Hoffmann [Sat, 21 Sep 2024 16:27:01 +0000 (18:27 +0200)]
remove documentation around legacy tokenizer
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.
Sarah Hoffmann [Sat, 21 Sep 2024 15:12:35 +0000 (17:12 +0200)]
remove warning about now removed legacy tokenizer
Sarah Hoffmann [Sat, 21 Sep 2024 15:07:32 +0000 (17:07 +0200)]
remove special casing for legacy tokenizer from BDD tests
Sarah Hoffmann [Sat, 21 Sep 2024 09:51:58 +0000 (11:51 +0200)]
remove PostgreSQL legacy module
Sarah Hoffmann [Sat, 21 Sep 2024 09:38:08 +0000 (11:38 +0200)]
remove legacy tokenizer and direct tests
Sarah Hoffmann [Mon, 16 Sep 2024 19:49:01 +0000 (21:49 +0200)]
Merge pull request #3536 from lonvia/remove-php
Remove PHP frontend