X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a93ec099321284739953c8c494cf12584e1250e3..157c3cccd1dd6b8d1e3dc3751e8324497c25c616:/packaging/nominatim-db/README.md diff --git a/packaging/nominatim-db/README.md b/packaging/nominatim-db/README.md index dad12886..a8ffd09a 100644 --- a/packaging/nominatim-db/README.md +++ b/packaging/nominatim-db/README.md @@ -12,9 +12,9 @@ command-line tool for importing and maintaining the database. ### Prerequisites Nominatim requires [osm2pgsql](https://osm2pgsql.org/) (>=1.8) for reading -OSM data and [PostgreSQL](https://www.postgresql.org/) to store the data. +OSM data and [PostgreSQL](https://www.postgresql.org/) (>=9.6) to store the data. -On Ubuntu (>=23.04) and Debian (using backports), you can install them with: +On Ubuntu (>=23.04) and Debian (when using backports), you can install them with: sudo apt-get install osm2pgsql postgresql-postgis @@ -30,21 +30,24 @@ To install Nominatim from pypi, run: First create a project directory for your new Nominatim database, which is the space for additional configuration and customization: - mkdir planet-project + mkdir nominatim-project + +Make sure you run all nominatim commands from within the project directory: + + cd nominatim-project Download an appropriate data extract, for example from [Geofabrik](https://download.geofabrik.de/) and import the file: nominatim import --osm-file -You will need to install the 'nominatim-api' package to query the -database. +You will need to install the [`nominatim-api`](https://pypi.org/project/nominatim-api/) +package to query the database. ## Documentation -The documentation of the latest development version is in the -`docs/` subdirectory. A HTML version can be found at -https://nominatim.org/release-docs/develop/ . +A HTML version of the documentation can be found at +https://nominatim.org/release-docs/latest/ . ## License