like zenity for getting coordinates from a map
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Kuba Orlik ae21c0fc0f Add args 4 years ago
assets Switch to OSM classic style - as mapbox was not detailed enough 4 years ago
.gitignore Initial commit 4 years ago
Makefile Initial commit 4 years ago
README.md Add args 4 years ago
main.py Add args 4 years ago
main.pyproject Load coordinates from cli args 4 years ago
main.pyproject.user Switch to OSM classic style - as mapbox was not detailed enough 4 years ago
qt-map-py.spec Initial commit 4 years ago
screenshot.png Add screenshot 4 years ago

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)