Skip to main content

Server to forward requests to the overpass server.

Project description

FASva-OSMServer

This is a server to forward requests to the local Overpass server.

Installation

You can find the latest version on PyPi. So simply use pip with

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

Start the server with and 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

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.1-py3-none-any.whl (20.5 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