Commit Graph

4715 Commits

Author SHA1 Message Date
Sarah Hoffmann
ad95ff1d06
Merge pull request #3424 from lonvia/importance-csc-import
Implement a lighter format for wikipedia importance tables
2024-05-29 18:06:53 +02:00
Sarah Hoffmann
90eea6b909 adapt database test for wikipedia importance to new tables 2024-05-16 15:23:54 +02:00
Sarah Hoffmann
5b02cd22b9 add tests for new importance CSV import 2024-05-16 15:23:54 +02:00
Sarah Hoffmann
60b03d506f add CSV format for importance import 2024-05-16 15:23:54 +02:00
Sarah Hoffmann
5c7073901e
Merge pull request #3423 from mudnug/patch-1
Update Output place_id documentation to match implementation
2024-05-15 11:26:01 +02:00
Matthew
b33afee468
Update Output place_id documentation to match implementation 2024-05-14 12:00:17 -06:00
Sarah Hoffmann
6a748204ff
Merge pull request #3422 from lonvia/drop-non-parented-interpolations
Drop address interpolations when no parent can be found
2024-05-14 16:40:28 +02:00
Sarah Hoffmann
9889c72c55 work around new pylint warnings 2024-05-14 14:50:37 +02:00
Sarah Hoffmann
01f0f453dd drop interpolations when no parent can be found
A housenumber without the place it refers to is of only limited use.
2024-05-14 11:35:14 +02:00
Sarah Hoffmann
7f0d969d71
Merge pull request #3413 from osm-search/mtmail-patch-1
Special-Phrases.md - correct typo
2024-05-06 09:18:09 +02:00
mtmail
a47fa07558
Special-Phrases.md - correct typo 2024-05-05 22:46:21 +02:00
Sarah Hoffmann
2b3ea0abb7
Merge pull request #3411 from lonvia/fix-address-style
Address and street style: switch to explicit choice of highway values
2024-05-05 13:01:20 +02:00
Sarah Hoffmann
755ae0ef94 address and street style: switch to explicit choice of highway values
The non-street values for the highway tag are proliferating.
Switch the style to only include values explicitly choosen.
2024-05-05 11:21:48 +02:00
Sarah Hoffmann
ccb5cf155d
Merge pull request #3410 from lonvia/docs-special-phrases
Add documentation of the format for special phrases CSV
2024-05-05 11:14:22 +02:00
Sarah Hoffmann
7080a13c54 fix typo 2024-05-05 09:59:46 +02:00
Sarah Hoffmann
cf2697f8f4 add documentation of special phrases CSV format 2024-05-05 09:59:32 +02:00
Sarah Hoffmann
a6b829e4a0
Merge pull request #3409 from lonvia/docs-secondary-importance
Add documentation for installing a secondary importance file
2024-05-04 15:11:19 +02:00
Sarah Hoffmann
f92e580293
Merge pull request #3408 from lonvia/update-postcode-parents
Reindex postcodes when their parent is deleted
2024-05-04 15:11:05 +02:00
Sarah Hoffmann
bc84db6460 add links to official secondary importance file 2024-05-04 13:13:00 +02:00
Sarah Hoffmann
77631f90fd reindex postcodes that loose their parents
When the parent place of a postcode is deleted, it needs to
be reindexed to get a new parent. Otherwise displaying of
results is broken.
2024-05-04 12:33:26 +02:00
Sarah Hoffmann
332de72045
Merge pull request #3403 from mtmail/project-directory-name
docs: use nominatim-project everywhere
2024-05-02 13:46:43 +02:00
Sarah Hoffmann
a2cf6db61b
Merge pull request #3397 from lonvia/improve-handling-unlisted-places
Improve handling addr:place without a place node
2024-05-02 13:46:18 +02:00
marc tobias
82a98f3780 docs: use nominatim-project everywhere 2024-05-02 11:48:06 +02:00
Sarah Hoffmann
7fb3ef4633 add test for preference of full matches on unlisted places 2024-05-02 11:47:35 +02:00
Sarah Hoffmann
8f3845660f add full tokens to addresses
This is now needed to weigh results.
2024-05-02 11:47:35 +02:00
Sarah Hoffmann
d2bf986eae unlisted place names need to go into the address
Housenumbers with unlisted place names should be handled like
any ither housenumbers with missing address terms.
2024-05-02 11:47:35 +02:00
Sarah Hoffmann
9410263485 actions: use newest pytest-asyncio for ubuntu 20 2024-05-02 11:06:45 +02:00
Sarah Hoffmann
82970e2b4f
Merge pull request #3390 from lonvia/poi-in-poi
Handle POIs in POIs during reverse lookup
2024-04-11 17:32:01 +02:00
Sarah Hoffmann
f923304eea add slight preference for locating point POIs over POI areas 2024-04-11 10:21:31 +02:00
Sarah Hoffmann
1a0f851d0d
Merge pull request #3389 from mtmail/cli-autodiscover-valid-formats
CLI: get valid --format values via autodiscover
2024-04-09 14:58:53 +02:00
marc tobias
28444d9435 CLI: get valid --format values via autodiscover 2024-04-09 14:03:23 +02:00
Sarah Hoffmann
8c54f9d704
Merge pull request #3385 from mtmail/docs-reverse-only
Import documentation: reverse-only only a little faster import
2024-04-03 14:33:54 +02:00
marc tobias
c24dc56c65 Import documentation: reverse-only only a little faster import [skip ci] 2024-04-03 12:07:22 +02:00
Sarah Hoffmann
5c4c98d17e
Merge pull request #3384 from mtmail/geocodejson-admin-levels-only-boundaries
geocodejson: admin level output should only print boundaries
2024-04-03 11:52:08 +02:00
Sarah Hoffmann
657aae5f1b
Merge pull request #3383 from lonvia/window-searches
Reorganize SQL for place search using window functions
2024-04-03 10:55:10 +02:00
Sarah Hoffmann
38798bba13 increase search area when filtering by postcode 2024-04-02 19:36:16 +02:00
marc tobias
05eb1d5f42 geocodejson: admin level output should only print boundaries 2024-04-02 18:58:09 +02:00
Sarah Hoffmann
fe873ad0e2 adapt tests for windowing SQL
Results with high penalty are now thrown out earlier.
2024-04-02 16:32:49 +02:00
Sarah Hoffmann
bdded69ab6 housenumber position should hint on direction
rather than increasing penalty.
2024-04-02 16:30:50 +02:00
Sarah Hoffmann
9f42c3f3b8 remove restriction on frequent one word names
This is now solved by reducing results with the windowing SQL
during search.
2024-04-02 16:28:17 +02:00
Sarah Hoffmann
424ebd7fe9 split search SQL in windowed search_name lookup and constraint search 2024-04-02 16:28:12 +02:00
Sarah Hoffmann
78c19bc006 minimum counts for tokens should always be 1
to avoid accidental devision by 0.
2024-04-01 14:25:51 +02:00
Sarah Hoffmann
e53eb79923
Merge pull request #3375 from matkoniecz/patch-1
add missing space in taginfo listing
2024-03-27 10:03:45 +01:00
Sarah Hoffmann
c39fc5d180 don't even try heavily penalized searches 2024-03-26 22:00:25 +01:00
Sarah Hoffmann
a96b6a1289 reintroduce cutoffs when searching for very frequent words 2024-03-26 21:46:37 +01:00
Mateusz Konieczny
8f6f113e1c
add missing space in taginfo listing
say https://taginfo.openstreetmap.org/tags/shop=guns#projects was listing description

`POI/feature in the search database(except for values: no).`
2024-03-26 15:43:00 +01:00
Sarah Hoffmann
436aff2fd3
Merge pull request #3373 from lonvia/restrict-man-made
Style tweaks: restrict man_made features to be imported
2024-03-25 15:20:47 +01:00
Sarah Hoffmann
44922af20e style: restrict man_made main tag to selected values 2024-03-25 11:46:39 +01:00
Sarah Hoffmann
4315debff5
Merge pull request #3367 from lonvia/address-word-counts
Introduce word usage statistics for addresses
2024-03-18 14:32:26 +01:00
Sarah Hoffmann
ace84ed0e3 use address counts for improving index lookup 2024-03-18 11:25:48 +01:00