GPS, maps && apps (uNav)
Some hints about maps / GPS apps
foxtrotGPS:
Unresolved; foxtrotGPS is not ported, and the existings apps are somewhat crappy;
OSMTouch:
The app OSMTouch stores (uses?) the data from this dir (example file):
/home/phablet/.cache/me.yohanboniface.osmtouch/osm_100-1-9-260-172.pngThe default location is hardcoded at https://bazaar.launchpad.net/~yohanboniface/osmtouch/trunk/view/head:/OSMTouch.qml#L100
but this seems for another version; in r22 I have found them here and changed the default values for the location I'm in: Havana, Taufkirchen
# ls -l /userdata/system-data/opt/click.ubuntu.com/me.yohanboniface.osmtouch/0.2.1/components/MapPa*
-rw-r--r-- 1 clickpkg clickpkg 12415 jun 13 12:09 MapPage.qml
-rw-r--r-- 1 clickpkg clickpkg 12416 jun 13 12:05 MapPage.qml.Havana
-rw-r--r-- 1 clickpkg clickpkg 12408 dic 7 2014 MapPage.qml.orig
-rw-r--r-- 1 clickpkg clickpkg 12415 jun 13 12:09 MapPage.qml.TaufkirchenOffline maps:
I have in my FreeBSD netbook ~120.000 tiles of the locations Munich and Havana to make use of the maps even without Internet. I fetch them from time to time for the OpenStreetMap servers. Here are some technical notes about:
The OSM wiki at http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames explains the name structure of the tiles and the different styles. The names are like this 'zoom/x/y.png' and tiles gets delivered in different styles:
Standard:
http://a.tile.openstreetmap.org/9/266/170.png
^----- [abc]
MapQuest:
http://otile1.mqcdn.com/tiles/1.0.0/osm/9/266/170.png
^----- [1234]
http://otile1.mqcdn.com/tiles/1.0.0/osm/9/266/170.jpg
^----- [1234]
OpenCycleMap Transport (experimental):
http://a.tile2.opencyclemap.org/transport/9/266/170.png
^----- [abc]OSMTouch is normaly using 'MapQuest' style, I'm used to use 'Standard' style.
uNav:
The best OSM app IMHO is at the moment uNav. Since version 0.60 it supports even so called offline (prefetched) tiles. Due to the space limitation I store them on the microSD and use an internal webserver which let uNav access them there. The details are here:
For more information about offline maps in uNav see also: https://unav-go.github.io/offline/
GPS in general:
Things one can do to check the state of GPS:
Make sure all switches for the GPS are on: 1. system settings -> security and privacy -> location access 2. system settings -> battery -> GPS 3. pull down top bar -> location -> location detection and GPS.
Check for GPS in the messages:
so you know the state of the GPS.
to list the space vehicles:
Satellites with a snr > 0 are visible;
to run a test:
The test will try to acquire a fix from GPS only 3 times from cold start, and print out diagnostics together with a summary containing the mean/std.dev. of time to first fix.
to activate more / better logging: the logs are in this dir: /var/log/ubuntu-location-service/
they would help in tracking down any potential issues; alter the config file:
/etc/init/ubuntu-location-service.override
and add the following two lines before the exec line:
and reboot the phone. After having tried to acquire a position, the same log files as mentioned before contain very verbose information about the GPS operation.
Using the dbus-monitor:
But you need to switch on system settings -> security and privacy -> location access -> ..anonymized wifi... i believe
Last updated: Mon Feb 5 12:13:38 CET 2018
Last updated
Was this helpful?