marc tobias
71fceb6854
Slight wording changes for Import-Styles.md
2024-12-18 01:02:46 +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
Sarah Hoffmann
02364ce6c8
Merge pull request #3591 from lonvia/increase-required-postgresql
...
Increase version requirements for PostgreSQL and PostGIS
2024-11-18 13:37:03 +01:00
Sarah Hoffmann
bf683d434b
adapt BDD tests to changed simplification
2024-11-18 13:02:35 +01:00
Sarah Hoffmann
f1ba285319
actions: update to latest supported versions
2024-11-18 13:02:35 +01:00
Sarah Hoffmann
98c1b923fc
remove code only needed for older PostgreSQL/PostGIS versions
2024-11-18 10:11:09 +01:00
Sarah Hoffmann
fd1f2bc719
increase minimum versions for PostgreSQL and PostGIS
2024-11-18 09:28:06 +01:00
Sarah Hoffmann
689bcbd6ea
Merge pull request #3590 from lonvia/lookup-per-osm-type
...
Look up different OSM types in placex separately
2024-11-15 09:44:16 +01:00
Sarah Hoffmann
3acd7df5c4
Merge pull request #3588 from lonvia/optional-reverse-api
...
Add support for adding endpoints to server conditionally
2024-11-14 19:33:57 +01:00
Sarah Hoffmann
7d418da564
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.
2024-11-14 17:47:01 +01:00
Sarah Hoffmann
04d5f674eb
fix grammar in issue template
2024-11-14 17:24:19 +01:00