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 details)

Uploaded Python 3

File details

Details for the file fasva_osmserver-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: fasva_osmserver-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for fasva_osmserver-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6a69be63577359ea4e2d9fe2578af74dfdd4eeb70010b2a1a54588f6ddb31a69
MD5 44c1be20ea8440ba26d947b8df171d50
BLAKE2b-256 c21c7ff7347071dff006ec8005ace93370250704f5f96bb373ce3358b938ca1f

See more details on using hashes here.

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