Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Server to query the OpenStreetMap service.

Project description

FASva OSM-Server

This is a server to forward requests to the Overpass server hosted on the HRZ. Thus, this tool should also run on HRZ but the port of the server has to be forwarded to the MUX to access the server via the Apache server of MUX. For more information about port forwarding using SSH see SSH port-forwarding.

Installation

You can find the latest version on PyPI.

$ pip install fasva-osmserver

After the installation, a configuration file osmserver.cfg is installed into the <venv>/share directory. Adapt the options to your needs.

Usage

Either specify the --config flag to explicitly point to a configuration file or let the server use the installed configuration file.

$ osmserver --config <directory>/osmserver.cfg

System service

Instead of calling osmserver directly, you can install it as a system service to automatically start it on system startup.

Therefore, a file osmserver.service can be found in <venv>/share/ next to the configuration file. Before installing the service, you may have to adapt the path to osmserver. Then, copy the service file to /etc/systemd/system with

$ cp <venv>/share/osmserver.service /etc/systemd/service

and enable the service with

$ systemctl enable osmservice.service

Authors

Lars Klitzke (HSEL, GitHub, XING, LinkedIn, PyPI, Docker Hub)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fasva-osmserver, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size fasva_osmserver-0.1.6-py3-none-any.whl (21.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page