Skip to content

Commit

Permalink
upgrade to nominatim 4.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
philipkozeny committed Aug 28, 2024
1 parent 429cf9e commit 45b76b8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 4.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NOMINATIM_VERSION=4.4.0
ARG NOMINATIM_VERSION=4.4.1
ARG USER_AGENT=mediagis/nominatim-docker:${NOMINATIM_VERSION}

FROM ubuntu:jammy AS build
Expand Down
12 changes: 6 additions & 6 deletions 4.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Other places at Geofabrik follow the pattern `https://download.geofabrik.de/$CON

- `REPLICATION_UPDATE_INTERVAL`: How often upstream publishes diffs (in seconds, default: `86400`). _Requires `REPLICATION_URL` to be set._
- `REPLICATION_RECHECK_INTERVAL`: How long to sleep if no update found yet (in seconds, default: `900`). _Requires `REPLICATION_URL` to be set._
- `UPDATE_MODE`: How to run replication to [update nominatim data](https://nominatim.org/release-docs/4.4.0/admin/Update/#updating-nominatim). Options: `continuous`/`once`/`catch-up`/`none` (default: `none`)
- `UPDATE_MODE`: How to run replication to [update nominatim data](https://nominatim.org/release-docs/4.4.1/admin/Update/#updating-nominatim). Options: `continuous`/`once`/`catch-up`/`none` (default: `none`)
- `FREEZE`: Freeze database and disable dynamic updates to save space. (default: `false`)
- `REVERSE_ONLY`: If you only want to use the Nominatim database for reverse lookups. (default: `false`)
- `IMPORT_WIKIPEDIA`: Whether to download and import the Wikipedia importance dumps (`true`) or path to importance dump in the container. Importance dumps improve the scoring of results. On a beefy 10 core server, this takes around 5 minutes. (default: `false`)
Expand Down Expand Up @@ -82,7 +82,7 @@ The following environment variables are available to tune PostgreSQL:
- `POSTGRES_CHECKPOINT_TIMEOUT` (default: `10min`)
- `POSTGRES_CHECKPOINT_COMPLETION_TARGET` (default: `0.9`)

See https://nominatim.org/release-docs/4.4.0/admin/Installation/#tuning-the-postgresql-database for more details on those settings.
See https://nominatim.org/release-docs/4.4.1/admin/Installation/#tuning-the-postgresql-database for more details on those settings.

### Import Style

Expand All @@ -98,11 +98,11 @@ Available options are :
- `full`: Default style that also includes points of interest.
- `extratags`: Like the full style but also adds most of the OSM tags into the extratags column.

See https://nominatim.org/release-docs/4.4.0/admin/Import/#filtering-imported-data for more details on those styles.
See https://nominatim.org/release-docs/4.4.1/admin/Import/#filtering-imported-data for more details on those styles.

### Flatnode files

In addition you can also mount a volume / bind-mount on `/nominatim/flatnode` (see: Persistent container data) to use flatnode storage. This is advised for bigger imports (Europe, North America etc.), see: https://nominatim.org/release-docs/4.4.0/admin/Import/#flatnode-files. If the mount is available for the container, the flatnode configuration is automatically set and used.
In addition you can also mount a volume / bind-mount on `/nominatim/flatnode` (see: Persistent container data) to use flatnode storage. This is advised for bigger imports (Europe, North America etc.), see: https://nominatim.org/release-docs/4.4.1/admin/Import/#flatnode-files. If the mount is available for the container, the flatnode configuration is automatically set and used.

```sh
docker run -it \
Expand Down Expand Up @@ -167,7 +167,7 @@ where the _/osm-maps/data/_ directory contains _monaco-latest.osm.pbf_ file that

## Updating the database

Full documentation for Nominatim update available [here](https://nominatim.org/release-docs/4.4.0/admin/Update/). For a list of other methods see the output of:
Full documentation for Nominatim update available [here](https://nominatim.org/release-docs/4.4.1/admin/Update/). For a list of other methods see the output of:

```sh
docker exec -it nominatim sudo -u nominatim nominatim replication --help
Expand Down Expand Up @@ -212,7 +212,7 @@ docker run -it \

Where the path to the importance dump is given relative to the container. (The file does not need to be named `wikimedia-importance.sql.gz`.) The same works for `IMPORT_US_POSTCODES` and `IMPORT_GB_POSTCODES`.

For more information about the Tiger address file, see [Installing TIGER housenumber data for the US](https://nominatim.org/release-docs/4.4.0/customize/Tiger/).
For more information about the Tiger address file, see [Installing TIGER housenumber data for the US](https://nominatim.org/release-docs/4.4.1/customize/Tiger/).

## Development

Expand Down
2 changes: 1 addition & 1 deletion 4.4/conf.d/postgres-tuning.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See https://nominatim.org/release-docs/4.4.0/admin/Installation/#tuning-the-postgresql-database
# See https://nominatim.org/release-docs/4.4.1/admin/Installation/#tuning-the-postgresql-database
shared_buffers = 2GB
maintenance_work_mem = 10GB
autovacuum_work_mem = 2GB
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See relevant installation and usage instructions for each version in the ```<ver

# Supported Nominatim versions #

- [`4.4.0`, `4.4`](https://github.com/mediagis/nominatim-docker/tree/master/4.4)
- [`4.4.1`, `4.4`](https://github.com/mediagis/nominatim-docker/tree/master/4.4)
- [`4.3.2`, `4.3`](https://github.com/mediagis/nominatim-docker/tree/master/4.3)

# Deprecated Nominatim versions #
Expand Down

0 comments on commit 45b76b8

Please sign in to comment.