Skip to main content

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fasva_osmserver-0.1.6-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page