usage: modrana.py [-h] [-d device ID] [-u GUI ID] [--local-search search query] [--local-search-location an address or geographic coordinates] [--address-search an address] [--wikipedia-search search query] [--return-static-map-url] [--center-on-position] [--set-zl zoom level number] [--center-on-position-on-zl zoom level number] [--focus-on-coordinates geographic coordinates with the geo: prefix] A flexible GPS navigation system. optional arguments: -h, --help show this help message and exit -d device ID specify device type -u GUI ID specify user interface type (GTK or QML) --local-search search query specify a local search query EXAMPLE: "pizza" --local-search-location an address or geographic coordinates specify a geographic location for a local search query (current location is used by default), both addresses and geographic coordinates with the geo: prefix are supported; use "LAST_KNOWN_POSITION" to use last known position EXAMPLE: "London" or "geo:50.083333,14.416667" or LAST_KNOWN_POSITION" --address-search an address specify an address search query EXAMPLE: "Baker Street 221b, London" --wikipedia-search search query specify a local search query EXAMPLE: "Prague castle" --return-static-map-url return static map URL for a CLI query (works for local search, address and Wikipedia search) --center-on-position focus on the current position & enable centering --set-zl zoom level number set a zoom level EXAMPLE: 15 --center-on-position-on-zl zoom level number focus on current position on a given zoom level EXAMPLE: 15 --focus-on-coordinates geographic coordinates with the geo: prefix focus on given coordinates, NOTE you can use --set-zl to set zoom level, EXAMPLE: "geo:50.083333,14.416667"
SYNTAX_ERROR = 2 SEARCH_NO_RESULTS_FOUND = 3 SEARCH_PROVIDER_TIMEOUT_ERROR = 4 SEARCH_PROVIDER_ERROR = 5 LOCAL_SEARCH_CURRENT_POSITION_UNKNOWN_ERROR = 6
python /opt/modrana/modrana.py -d n900 -u GTK --address-search "Prague" --set-zl 10
python /opt/modrana/modrana.py --local-search "pizza" --return-static-map-url