项目作者: AcuGIS

项目描述 :
Script for Building a Basic Nominatim Server
高级语言: Shell
项目地址: git://github.com/AcuGIS/OpenNameSearch.git
创建时间: 2017-06-11T21:11:05Z
项目社区:https://github.com/AcuGIS/OpenNameSearch

开源协议:

下载


Nominatim Server

OpenNameSearch

Documentation Status

This script is for building a Nominatim server with OpenStreetMap data.

Only for use on a clean Ubuntu 22 and 24!

Step 1: Get the Nominatim-Server.sh script from GitHub

  1. wget https://raw.githubusercontent.com/AcuGIS/Nominatim-Server/master/Nominatim-Server-22.sh

Step 2: Make it executable:

  1. chmod 755 Nominatim-Server-22.sh

Step 3: Run the script

Script usage:

The script accepts a PBF url:

  1. ./Nominatim-Server-22.sh pbf_url

The pbf_url is the complete PBF url from GeoFarbrik

Examples:

Load Andorra data from GeoFabrik (one of the smallest data sets, good for testing):

  1. ./Nominatim-Server-22.sh https://download.geofabrik.de/europe/andorra-latest.osm.pbf

Welcome Page

Once installation completes, navigate to the IP or hostname on your server.

You should see a page as below:

OpenNameSearch

Click the Search function (or go to domain.com/search.html)

You should see a page as below:

OpenNameSearch

To test functionality, enter below into the Search box::

  1. AD500 Andorra la Vella, Andorra

Confirm that results are returned

OpenNameSearch

Loading Additional PBFs, Multiplie PBFs, or Replacing Existing PBFs:

You can use our reload-Nominatim-Server.sh script via GitHUB script.

Usage is:

./reload-Nominatim-Server.sh [PBF_URL1] …

Enable Automatic Updates

The script creates an updater service. In order to enable updates:


systemctl enable nominatim-updates.service
systemctl start nominatim-updates.service

Credits

Produced by AcuGIS. We Make GIS Simple

Cited, Inc. Wilmington, Delaware