Enhanced the implementation of OSM views GeoTIFF import functionality

This commit is contained in:
Tareq Al-Ahdal
2022-07-24 19:04:23 +08:00
committed by Sarah Hoffmann
parent c85b74497b
commit ac467c7a2d
11 changed files with 69 additions and 61 deletions

View File

@@ -78,11 +78,28 @@ This data is available as a binary download. Put it into your project directory:
The file is about 400MB and adds around 4GB to the Nominatim database.
### OSM views
OSM publishes aggregate map access numbers that are generated based on the users
behavior when viewing locations on the map. This data is also optional and
it complements wikipedia/wikidata rankings to further enhance the search results
if added.
OSM views data is avalaible as a GeoTIFF file. Put it into your project directory:
cd $PROJECT_DIR
wget https://qrank.wmcloud.org/download/osmviews.tiff
The file is about 380MB and adds around 4GB to the Nominatim database. Importing
OSM views into Nominatim takes a little over 3 hours.
!!! warning
Importing OSM views is currently an experimental feature. OSM views data are
not yet included in the importance values calculations.
!!! tip
If you forgot to download the wikipedia rankings, you can also add
importances after the import. Download the files, then run
`nominatim refresh --wiki-data --importance`. Updating importances for
a planet can take a couple of hours.
If you forgot to download the wikipedia rankings or OSM views, then you can
also add importances after the import. To add both, download their files, then
run `nominatim refresh --wiki-data --osm-views --importance`. Updating
importances for a planet will take a couple of hours.
### External postcodes
@@ -139,7 +156,7 @@ import. So this option is particularly interesting if you plan to transfer the
database or reuse the space later.
!!! warning
The datastructure for updates are also required when adding additional data
The data structure for updates are also required when adding additional data
after the import, for example [TIGER housenumber data](../customize/Tiger.md).
If you plan to use those, you must not use the `--no-updates` parameter.
Do a normal import, add the external data and once you are done with