All Projects → merlinnot → Nominatim Docker

merlinnot / Nominatim Docker

Licence: mit
Fully-featured container for geocoding, reverse geocoding and address lookup based on Nominatim and Open Street Map data.

Projects that are alternatives of or similar to Nominatim Docker

Atlasr
Atlasr is a truly open-source and free map browser.
Stars: ✭ 196 (+276.92%)
Mutual labels:  geocoding, openstreetmap
Mimirsbrunn
Geocoding and reverse-geocoding (with OSM data)
Stars: ✭ 165 (+217.31%)
Mutual labels:  geocoding, openstreetmap
Photon
an open source geocoder for openstreetmap data
Stars: ✭ 1,177 (+2163.46%)
Mutual labels:  geocoding, openstreetmap
nominatim-docker
Docker image for Nominatim
Stars: ✭ 33 (-36.54%)
Mutual labels:  geocoding, docker-image
Osmunda
An offline geocode library for android, powered by SQLite, using osm data. 离线地理编码Android库,基于SQLite,使用开放街道地图数据。
Stars: ✭ 37 (-28.85%)
Mutual labels:  geocoding, openstreetmap
qgis-maptiler-plugin
QGIS MapTiler Plugin: vector tiles, basemaps, geocoding, OSM, QuickMapServices
Stars: ✭ 73 (+40.38%)
Mutual labels:  geocoding, openstreetmap
Nominatim
Open Source search based on OpenStreetMap data
Stars: ✭ 1,896 (+3546.15%)
Mutual labels:  geocoding, openstreetmap
OpenNameSearch
Script for Building a Basic Nominatim Server
Stars: ✭ 14 (-73.08%)
Mutual labels:  geocoding, openstreetmap
NominatimGeocoderBackend
UnifiedNlp geocoder backend that uses the OSM Nominatim service
Stars: ✭ 49 (-5.77%)
Mutual labels:  geocoding, openstreetmap
Geo Golang
Go library to access geocoding and reverse geocoding APIs
Stars: ✭ 394 (+657.69%)
Mutual labels:  geocoding, openstreetmap
Osm Meta Util
Utility for downloading and processing OSM metadata
Stars: ✭ 42 (-19.23%)
Mutual labels:  openstreetmap
Ros docker
Docker images for ROS master, bridge and nodes
Stars: ✭ 43 (-17.31%)
Mutual labels:  docker-image
Docker Redmine
Docker Image for Redmine
Stars: ✭ 1,044 (+1907.69%)
Mutual labels:  docker-image
Docker Bind
Bind caching DNS server on Debian with wild-card domain support
Stars: ✭ 50 (-3.85%)
Mutual labels:  docker-image
Chatwoot
Open-source customer engagement suite, an alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬
Stars: ✭ 11,554 (+22119.23%)
Mutual labels:  docker-image
Docker registry cli
Docker Registry CLI - Provides search functionality for Docker Registry (UI and CLI)
Stars: ✭ 48 (-7.69%)
Mutual labels:  docker-image
Docker Liferay Portal
Stars: ✭ 41 (-21.15%)
Mutual labels:  docker-image
Weblogic Image Tool
Oracle WebLogic Image Tool
Stars: ✭ 41 (-21.15%)
Mutual labels:  docker-image
Docker Sphinxsearch
Docker image for Sphinx search engine
Stars: ✭ 40 (-23.08%)
Mutual labels:  docker-image
Utils
Docker image with tools like curl, wget, ping, nslookup, dig, psql etc.
Stars: ✭ 49 (-5.77%)
Mutual labels:  docker-image

Nominatim Docker container

Fully-featured container for geocoding, reverse geocoding and address lookup based on Nominatim and Open Street Map data.

Table of content

Build

The build process is fairly straightforward, but requires lots of computer resources and can take days to complete.

To build, install Docker and run following command:

docker build github.com/merlinnot/nominatim-docker \
  -t nominatim \
  --build-arg BUILD_THREADS=16 \
  --build-arg BUILD_MEMORY=32GB \
  --build-arg OSM2PGSQL_CACHE=28000 \
  --build-arg RUNTIME_THREADS=2 \
  --build-arg RUNTIME_MEMORY=8GB

Full list of build arguments:

Name Default Description
BUILD_THREADS 16 Number of threads used during build process.
BUILD_MEMORY 32GB Memory dedicated to postgresql during build process.
PGSQL_VERSION 9.6 PostgreSQL version.
POSTGIS_VERSION 2.4 PostGIS version.
OSM2PGSQL_CACHE 24000 osm2pgsql cache size in MB, should be set to about 75% of memory available during build process, to a maximum of about 30000. Additional RAM will not be used.
PBF_URL planet URL to OpenStreetMap data in PBF format. See geofabrik.de for extracts.
REPLICATION_URL planet URL to directory with periodic updates. I recommend using geofabrik.de (see raw directory index and lookup updates).
IMPORT_ADMINISTRATIVE false Data provided in PBF_FILE might be used to import only administrative boundaries. Importing only administrative boundaries is much faster and is useful for tasks like country code reverse geocoding.
RUNTIME_THREADS 2 Estimated number of threads available to the running container.
RUNTIME_MEMORY 8GB Estimated memory size available to the running container.

Run

To run container built in the previous step use

docker run --restart=always -d -p 80:80 merlinnot/nominatim-docker

API will be available at port 80 under /nominatim/ directory.

Develop

This project uses Devver, but feel free to use any of your favorite editors.

For development purposes I strongly encourage to start a build process using URLs for Monacco, it makes the process much faster:

docker build github.com/merlinnot/nominatim-docker \
  -t nominatim \
  --build-arg BUILD_THREADS=2 \
  --build-arg BUILD_MEMORY=8GB \
  --build-arg OSM2PGSQL_CACHE=2000 \
  --build-arg RUNTIME_THREADS=2 \
  --build-arg RUNTIME_MEMORY=8GB \
  --build-arg PBF_URL=http://download.geofabrik.de/europe/monaco-latest.osm.pbf \
  --build-arg REPLICATION_URL=http://download.geofabrik.de/monaco-updates
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].