Server to query the OpenStreetMap service.
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.
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.
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
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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|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|
Hashes for fasva_osmserver-0.1.6-py3-none-any.whl