like zenity for getting coordinates from a map
 
 
 
Go to file
Kuba Orlik ae21c0fc0f Add args
assets Switch to OSM classic style - as mapbox was not detailed enough
.gitignore Initial commit
Makefile Initial commit
README.md Add args
main.py Add args
main.pyproject Load coordinates from cli args
main.pyproject.user Switch to OSM classic style - as mapbox was not detailed enough
qt-map-py.spec Initial commit
screenshot.png Add screenshot

README.md

qt-map-py

A simple widget written in QML in python that lets you ask for a psecific point on a map from commandline (cli), like zenity does. It displays a map, and double clicking on the map causes the window to close and the coordinates to be printed on stdout;

Usage

Build the app:

make build

Run it:

./dist/qt-map-py/qt-map-py # start centered in Poznań
./dist/qt-map-py/qt-map-py 33.66195 -95.55362 # start centered at given lat / lon
./dist/qt-map-py/qt-map-py 33.66195 -95.55362 --die # start centered at given lat / lon and close the window once the location is selected (otherwise each location is printed in a new line to stdout)