Sarah Hoffmann
499110f549
add SOFT_PHRASE break and enable parsing
...
Also enables parsing of PART breaks.
2025-01-06 17:10:24 +01:00
Sarah Hoffmann
14ecfc7834
Merge pull request #3619 from lonvia/demote-farms
...
Remove farms and isolated dwellings from computed addresses
2024-12-22 09:13:42 +01:00
Sarah Hoffmann
cad44eb00c
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.
2024-12-20 22:59:02 +01:00
Sarah Hoffmann
f76dbb0a16
docs: update Update docs for virtualenv use
2024-12-20 11:27:45 +01:00
Sarah Hoffmann
8dd218a1d0
Merge pull request #3618 from osm-search/settings-md-table-space-osm-index
...
Settings.md - one setting was repeated
2024-12-19 08:40:31 +01:00
mtmail
501e13483e
Settings.md - one setting was repeated
2024-12-18 21:58:51 +01:00
Sarah Hoffmann
b1d25e404f
Merge pull request #3617 from mtmail/pr-3615-wording
...
Slight wording changes for Import-Styles.md
2024-12-18 11:04:21 +01:00
marc tobias
71fceb6854
Slight wording changes for Import-Styles.md
2024-12-18 01:02:46 +01:00
Sarah Hoffmann
a06e123d70
Merge pull request #3616 from osm-search/tokenizers-md-typo
...
fix typo in Tokenizers.md
2024-12-17 08:43:16 +01:00
mtmail
df6f70d223
fix typo in Tokenizers.md
2024-12-16 23:38:18 +01:00
Sarah Hoffmann
9058dabf1a
Merge pull request #3615 from lonvia/overhaul-osm2pgsql-style
...
Overhaul osm2pgsql style
2024-12-16 19:13:46 +01:00
Sarah Hoffmann
2535780282
exclude more tourism=information types
2024-12-16 10:44:37 +01:00
Sarah Hoffmann
48333bfbd4
reintroduce brand and remove etymology
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
99cf552c17
exclude unnamed swimming pools
...
Publicly accessible ones are usually mapped as the bigger area
with the water park.
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
ad214753fc
include lock names mapped with "lock_name"
...
Fixes #3365 .
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
0d500d4bd1
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.
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
b1e5265d33
switch to subtags for tourism=information and natural=water
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
e2a9b5fdf7
exclude sidewalks and similar footways
...
These footways are part of a street that is usually already named.
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
eeb3d5dd0a
make nominatim callable with themepark style
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
a75dd32f75
adapt documentation for style import
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
e1e8182c72
adapt taginfo script to new configuration structure
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
59bce26afe
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.
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
d1b7c14f79
osm2pgsql style: add modification for name and address, with tests
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
59416178bd
osm2pgsql style: simplify computation of extra tags
...
Now implemented as a simple filter function which can also be
customized by the user.
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
70e351c528
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.
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
1eed2fa395
do not touch original tags of osm2pgsql OSM object
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
438b8fed35
convert flex-base.lua into a themepark theme
...
This already allows to run Nominatim under themepark, currently
as a topic-less theme.
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
4760e8341b
move lua scripts into a separate directory
2024-12-16 10:26:55 +01:00
Sarah Hoffmann
639630d5fe
Merge pull request #3610 from lonvia/search-preprocessing
...
Add configurable query preprocessing
2024-12-16 10:26:09 +01:00
Sarah Hoffmann
5b40aa579b
add developers documentation for query-side of tokenizer
2024-12-13 17:09:42 +01:00
Sarah Hoffmann
fbb6edfdaf
add documentation for new query preprocessing
2024-12-13 16:53:08 +01:00
Sarah Hoffmann
2b87c016db
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.
2024-12-13 14:31:08 +01:00
Sarah Hoffmann
a894e0f3a4
docs: external osm2pgsql is not longer optional
2024-12-13 10:36:45 +01:00
Sarah Hoffmann
046665f8d9
Merge pull request #3609 from lonvia/reverse-ignore-postcode-areas
...
Ignore postcode areas on reverse
2024-12-13 09:00:26 +01:00
Sarah Hoffmann
d9b4d1591d
ignore postcode areas on reverse
...
Postcode lookups are best done by doing reverse at a higher
level and then extracting the postcode.
2024-12-12 19:02:00 +01:00
Sarah Hoffmann
0862671104
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
2024-12-12 18:51:18 +01:00
Sarah Hoffmann
416e70b97e
have reverse fall back to country table when no country is found
2024-12-12 17:14:02 +01:00
Sarah Hoffmann
494640c535
docs: complete requirements list for dev env
2024-12-10 08:54:29 +01:00
Sarah Hoffmann
abe9737229
docs: more prominent mention of pip install
2024-11-25 14:31:44 +01:00
Sarah Hoffmann
5d237a06ea
Merge pull request #3600 from clavisound/master
...
uvicorn.org vs www.uvicorn.org
2024-11-24 09:09:59 +01:00
clavisound
d5bfab02c2
uvicorn.org vs www.uvicorn.org
...
correct link
2024-11-24 08:53:12 +02:00
Sarah Hoffmann
79836e51d6
Merge pull request #3593 from lonvia/order-by-bbox
...
Use bbox size for secondary order of results
2024-11-19 11:50:55 +01:00
Sarah Hoffmann
0770eaa5d0
use bbox size for secondary order of results
...
Helps to return the largest object when deduplicating results.
2024-11-19 10:38:50 +01:00
Sarah Hoffmann
c172ca8c6c
Merge pull request #3592 from lonvia/remove-cmake
...
Remove cmake building and bundled osm2pgsql
2024-11-19 10:02:53 +01:00
Sarah Hoffmann
4e59efa178
update instructions for Vagrant
2024-11-19 09:26:59 +01:00
Sarah Hoffmann
9cf5970e22
update release instructions
2024-11-19 09:17:50 +01:00
Sarah Hoffmann
4cce681ead
switch actions to pip-based install
2024-11-18 18:52:26 +01:00
Sarah Hoffmann
c4a726c96b
update Ubuntu22 install script for pip install
2024-11-18 18:51:54 +01:00
Sarah Hoffmann
a408da4ccc
remove cmake and related installation instructions
2024-11-18 18:51:03 +01:00
Sarah Hoffmann
e0318344f6
remove vendored osm2pgsql
2024-11-18 13:38:03 +01:00