A list of some location trackers from December 2025. Mostly sourced from ChatGPT. This is for passive trackers that record where I’ve been, not focussed GPS track recorders you turn on for a hike.
For years I’ve been recording my location and experimenting with various analyses of the data. It’s interesting knowing where I’ve been! I even built a product with my friend Brad to track and visualize. But I haven’t used it in years. Truthfully if I want to actually see where I’ve been before I use Google Timeline, as diminished as it is now.
Anyway I’m still tracking. I use Mendhak’s GPSLogger to record things on the phone. It’s only available via the F-Droid because the Google Play store has gotten increasingly hostile to things that run all the time and track location. (Even though all the commerical spyware persists, starting with Google’s own). The other hassle is I never got clean data export. I have it writing files to the Android filesystem and syncing via SyncThing and it works but is awkward. GPSLogger has other export options.
GnssLogger by Google is aimed at debugging location sensors. It looks very cool but is not what I need.
GPS Time Tracker aims at helping you make a logbook, like for business travel. It’s been around for years, 100K+ download, 4.5 rating. Looks promising. There’s a paid version for 10 EUR. The docs sound like it has some significant background operation issues. And while there’s some English localization it’s not complete and it’s pretty shaky. I gave this app a quick try and decided it was not for me.
GPS Timeline :Location History has screenshots that look a little like Google Maps timeline. It only has 500 installs and no ratings. It has ads that are a little intrusive and the UI is buggy. I didn’t see any data export option. Not for me.
I think Mendhak’s GPS Logger may still be the tool for me.
Google Timeline is one of my favorite lesser-known products, a detailed place by place diary of everywhere I’ve been with my phone for the last eight years. Unfortunately they are shutting down the web product and replacing it with a mobile-only product. The deadline is December 8, in five days. I’ve been putting off figuring it out until now. These docs were helpful as was this article and this one.
Update: after some evaluation, the new mobile product is fairly nice. It’s a comprehensive thing inside Maps, it’s not an afterthought. It does have reasonable data export. When I first wrote this post I was cranky at the change and my view has softened some since.
Migrating to new Timeline mobile
The first thing I did was use Google Takeout to download all my old timeline data from the web application. A timeline-only archive was fast, just a few minutes, and a 50MB download. It contains a lot of data but what I wanted most was the single JSON file with my GPS history in it. (The rest of it are the semantically analyzed files: very useful but not as cool).
The other thing I did was to migrate to Google Timeline on my phone. That’s the only option now, and it’s not as good as the old web application. But it’s what they have.
The migration was relatively simple. Once I disabled my Private DNS ad blocker, that is, with it enabled the app would not get past one stage of the signup process. No error, just a refresh.
To set up mobile Timeline you have to launch Google Maps on your primary phone, find your way to the Timeline part of the app, and run through a setup wizard. It asks some questions about your preferences. Then it says it will download all your data and it’s done. (This is the part that Private DNS was breaking.) Afterwards it gives a summary of the options you picked, here’s mine:
I’m unclear on whether it really copied all my data over. It said it’d only download a couple MB, not the 50MB+ compressed the takeout had in it. I do see old trips of mine over the years so some data copied over. My guess is it only kept the semantic tracks, not the detailed point by point logs.
The new Timeline mobile product looks pretty nice in general. It’s got an easily browsable list of old trips, just like the webapp had. Too bad it’s confined to my tiny phone.
Once I finished the migration the web application no longer works for me.
Exporting data
I cannot find any data export option in the new mobile Timeline product. I’ve asked a question on the help forums. I fear Google may have removed this feature. If so, I am very unhappy about that.
To export your mobile Timeline data, in Android Settings (not Maps) go to Settings > Location > Location Services > Timeline > Export timeline data. This option was not available for me at first after setting up mobile Timeline, I had to reboot my phone and then it appeared.
The export is a single file named Timeline.json. Mine is about 15MB (compare 800MB for the Google Takeout). The data does seem complete, it goes back 8+ years just like my old web Timeline data did. It’s a different format though. The meat of it is in a section called semanticSegments, see some examples here. It looks to be a hybrid of analyzed data with place IDs etc and then some raw GPS coordinates. I think it’s not as fine grained as the old web Timeline export but am not sure.
There is also a backup system for timeline data that operates separately from the rest of Android backups. You have to enable it separately within the Maps app under Timeline. But I think those backups can only be used to restore a phone, there’s no way to get at the data in them.
Thoughts on location tracking
I love location tracking. I have a continuous record of where I’ve been for some 12 years. I built a whole location tracking product. It’s so powerful having an automatic diary and travelogue! And Google Timeline’s semantic analysis is great, they do an excellent job turning a random string of lat/lon pairs into a story like “you went to Venice, went to this museum, spent two hours at this restaurant”. I love being able to review my history like that.
Google didn’t build this timeline product out of the kindness of their own heart. They did it to justify their advertising surveillance of users. Because as nice as it is for me to remember where I went shopping three years ago in Dublin, it’s way more valuable to Google to know that for many of their users. The bargain was they’d also make that data available to us, the users, as a form of transparency and quid pro quo. It felt reasonable to me.
Now the bargain has enshittified. Google is still doing just as much surveillance as always, moreso now that ad networks have sprawled and grown. There’s probably 20 location vendors who know where I am most of the time thanks to trackers in Chrome, the Android ecosystem, and its various apps. It’s not great but we’ve been living this way a few years now with some abuses but also some advantages. But now Google has weakened one of the best of those advantages, the Timeline web application. Update: not entirely fair, the new mobile app does seem like a serious product.
I use Mendhak’s GPSLogger to track my position. It’s a great tool but a little low level, and in particular its files access is a bit confusing because the docs are written in terms of a basic Unix model but Android has virtualized and secured file storage so many times it is hard to find things. (I hate this about Android; it still lets you use files, but it’s very confusing and no longer a visible part of the consumer product.)
My issue now is I want to back up my settings, reinstall the app, then restore the settings. GPSLogger allows for that! It’s a feature called profiles. Basically you get it to write all your settings to a .properties file, then you can restore them later. The question is, where is that file written?
I found the file by mounting my Pixel 8 as a USB drive, then on Windows going to This PC\Pixel 8\Internal shared storage\Android\data\com.mendhak.gpslogger\files. (Actually I found it using Windows file search, which took several minutes). There’s a Default Profile.properties there. Also a temp.properties I explicitly created. You may have to tell GPSLogger to save the profile first.
I can’t find the properties files using the Files app on the Android device itself. Nor Solid Explorer. Presumably these are being hidden or sandboxed by the OS?
The properties file itself is a simple text file with lines like startonbootup=true in it.
This whole path was deleted when I uninstalled the app. (No surprise! Android wipes apps’ saved files in most cases.)
Once I reinstalled the app and saved a profile once the folder was back. Just dropping Default Profile.properties back in the folder didn’t seem to work; the app may not reread that file? I created a new nelson.properties (editing the file first, the profile name is in the properties file). That let me switch to a new Nelson profile with my preferences loaded. There are a variety of other ways documented in the FAQ to load a profile’s file.
Everything seems to work on reboot. GPSLogger starts with the new Nelson profile.
I have GPSLogger storing my GPS tracks to /storage/emulated/0/Documents/GPSLogger. I can see that in Solid Explorer by looking at Internal Storage > Documents > GPSLogger. Syncthing also sees that folder and is syncing it for me. When I reinstalled the app it could no longer write to files there (an error in Log View). I had to re-enable “write all files” permission (GPSLogger prompts you to do this if you change the folder it writes to).
I verified everything’s working after the reinstall, all the way to my syncthing server the data that archives my data.
Summary: after 9 months, the GPS data being logged by GPSLogger on Android looks good to me. At least good enough for Wanderings’ location tracking and heatmap.
One casualty of my switch from iPhone to Android is my own Wanderings app, a lightweight GPS tracker that Brad and I worked on together. There’s an iPhone app that tracks your movements and records data and a webapp that displays the data. But we don’t have an Android version of our tracker and I’ve been unmotivated to learn enough Android to write one.
I have been running Mendahk’s excellent GPSLogger though and it is faithfully recording my location every day to GeoJSON and CSV files in Google Drive. I finally got around to collecting all that data and visualizing it with our web app. Qualitatively it looks the same as the data collected a year ago by the Wanderings tracker. That’s good! See screenshots below.
I haven’t done a deep quantitative comparison. But GPSLogger recorded 218,451 points over 284 days, of which 90,877 points were more than one minute apart from each other (a cutoff we use). By comparison our own tracker only stored 6248 locations for me over 574 days. That’s 319 points a day compared to 11! GPSLogger calmed down a whole lot though starting in September, down to about 70 points a day. I suspect that’s when I disabled passive location tracking, resulting in many fewer points logged.
Still GPSLogger is recording 7x as many points as Wanderings. The extra points are harmless to the visualization output but they do incur some storage and processing overhead. The Wanderings tracker is using the iOS Significant Location Change service and only seems to record points when you’re really moving. GPSLogger is configurable in recording granularity. I have it being somewhat aggressive: GPS/GNSS locations, network locations, and a 60 second logging interval with a 10 meter distance filter to log a new point.
I went ahead and looked at distances between points in the GPSLogger output using geopy’s calculation. A whole lot of pairs of points are less than 20 meters apart. I don’t really know what’s correct here, since you do want to capture data with fidelity when the subject is moving. Probably overthinking it. Here’s a quick and dirty histogram of distances for all pairs less than 100 meters apart.
And here’s the promised gallery of app screenshots. Two similar time periods, one year apart. The older is the iPhone tracker and the newer is GPSLogger on Android. They really do look similar.
I’ve been running Mendhak’s GPS Logger for a few weeks now on Android. It’s good! Some details on precisely what it’s logging. I’m using this as notes for building my own GPS tracker for Wanderings. GPS Logger is good but I think it’s better to have a custom one for us.
Bottom line: the CSV format is most complete, GeoJSON has most of what you’d want in a GIS-friendly format. It logs points once a minute by itself in a mix of network and GPS modes. When a location tracking app like Google Maps is also running, GPS logger will logs points as often as once a second. Now the details...
Some of this is configuration dependent; I have it set to Log all 3 sources: GPS/GNSS, network (cell/wifi), and also passive (other apps). Logging once a minute, GPS not turned on between fixes, no distance filter. Accuracy filter dialed down to 200 meters. 60 seconds to get an accurate fix, 120 second timeout on the GPS fix. I’m logging simultaneously to GPX 1.0, CSV, and GeoJSON.
Most of this data comes from 2017-05-26, when I started in Hickory, NC and flew home to San Francisco, CA. Most of these observations are based on the CSV file which the author has said is the most comprehensive.
The data files are one-per-day. They seem to contain data from local midnight to local midnight. There are sometimes gaps of several hours, I believe related to low power / sleep modes in the phone. Particularly common in the middle of the night when I’m not moving.
On 2017-05-26 the CSV file has 6975 data points.
When I’m sitting idle in my hotel most of the fixes are of type “network”. There’s typically one entry per minute (with frequently two duplicated rows). The CSV file for those populates time, lat, lon, elevation, accuracy (typically around 20), and battery. Occasionally a fix of type “gps” also shows up; those have an accuracy of about 10. They also add bearing and speed, although when not moving those are presumably nonsense. Also HDOP VDOP PDOP and GeoidHeight, GPS-specific measurements. There’s a field for ‘satellites’ but it always seems to be 0.
Once I start driving around 14:50Z I also turned on Google Maps for routing. At that point all the fixes switch to GPS and I’m getting one a second. Accuracy is around 3 and satellites still 0; no HDOP/VDOP etc though. Plausible bearing and speed data. I’m guessing these are points GPS Logger got passively? This pattern is repeated a second time on a longer drive. Google Maps for navigation again then although I’d made an effort to turn the screen off for part of the drive.
During my flight from CLT to SFO I had the phone in airplane mode and in various pockets, etc with varying ability to see the sky. GPS Logger seems to be trying to record 1 point a minute. When it succeeds there’s two duplcate rows in the CSV, one with HDOP/VDOP data and one without. Altitude, speed, and bearing all look plausible. I mostly have no data from when I had the phone in my pants’ pocket; shirt pocket is better for obvious reasons.
Last bit of the day was me in an Uber, no Google Maps running. Odd mix of GPS and Network fixes about once a minute. It’s possible the Uber app was doing location tracking in the background, I’m not sure.
The 2019-07-26 GeoJSON file also has 6975 data samples in it. Every point has lat, lon, time, time_long, provider, accuracy. Almost every point has altitude (6759), 5032 have speed, 4094 have bearing.
The GPX 1.0 file also has 6975 data samples in it. lat, lon, elevation, time, and provider for almost all points. course and speed for GPS points also. There is no accuracy logged.
A special note on elevation: these seem to be WGS84 altitudes, before the geoid correction. (I have Use MSL instead turned off in the app.) That’s putting me underwater frequently in San Francisco, even the points from network sources. Need to think more carefully about geoid correction if I want to use this data.
I’ve made the switch from iOS to Android. One thing that means is I need a new GPS tracker; my own Wanderings app is iOS only. I may end up writing an Android custom app myself to do that.
For now I’m using the excellent GPS Logger app. It’s a very flexible passive location tracker, open source, lots of control over exactly what kind of data to log and where to upload it to.
It has three sources of location updates:
GPS/GNSS locations. Honest to goodness satellite fixes
Network locations. Info based on wifi and cell tower fixes
Passive locations. Any time any other app gets a location, GPS Logger gets a copy
I currently have #2 only turned on and it seems very low battery impact, certainly OK to leave on for 24 hours. Once a minute it wakes up, asks the phone where it is, records the data into an internal log file, then goes to sleep. The location data seems pretty inaccurate though, I need to look closer.
I tried #1 for awhile and it seems higher power impact; not sure you can leave it running for 24 hours. (Update: it’s not nearly as bad as I first thought, and might be fine for daily use. Even once a minute.) Data is quite accurate but demanding. It wakes up the GPS chip, waits for 1-2 minutes for a good fix, then records the location. You can also tell it to leave the GPS chip on always, but there’s a warning about “dramatically decrease the battery life”.
#3 seems like a freebie, of course you should use it. I only have it turned off because I’m trying to keep it simple so I understand what GPS Logger is doing itself.
They also have abilities to filter points based on reported accuracy of the fix, and how far you moved. And there’s a way to tell it only to log if the accelerometer detects the phone is moving.
What I haven’t found in GPS Logger is anything like the “significant location changes” API that Wanderings uses in iOS. Nor anything like geofences / regions. Those may be in the Android API and just not in this app.
Update: after a few days playing around with GPS Logger I have some extra notes.
I’ve been running the GPS Logger app on Android in full logging mode for a few days now and its impact on battery life is neglible. My whole phone only uses ~40-50% of its battery in 24 hours. 0.1% of that is attributed to GPS Logger itself. 42% is the wifi radio, 25% if the screen, 10% is the OS.
GPS Logger is currently logging my position once a minute. I’ve told it to use both GPS and “network locations” (wifi/cell). It seems to request both types of position at once and almost always the network location answers first, so it never logs the GPS. I’ve run it in GPS-only mode too to get real GPS fixes, those often take 20+ seconds and don’t work great indoors.
The most problematic thing is that GPS Logger doesn’t log points at all for hours. AFAICT this is a significant problem in Android phones in general, that background apps often don’t run when the phone is in “doze mode”. It mostly happens in the middle of the night where I’m definitely not using the phone so it might be the “right thing” but it’s a problem. I’ve read various hacks and workarounds, see the GPS Logger FAQ. GPS Logger has a gimmick where it constantly has a notification on screen to try to stay more lively.
Funny thing; some apps I don’t even actually use are consuming more battery than GPS Logger. Like Maps.Me was using 2% a day until I went in and told it to be “very low power”; I haven’t even launched it! Google Fi also uses 1% even though I’m not using it.
I finally closed the loop on a long-standing problem we have had with our Wanderings location tracker. We wrote our code to be very low impact; it uses the Significant Location Changes API on iOS to track your movements in a very passive way. But our app was causing the phone to use as much as 100 MBytes/day when running in the background! All that bandwidth was accounted to “Time & Location” in iOS itself, not our app.
Much sleuthing later we narrowed the problem down to Mapbox Metrics, their telemetry service. You can see some discussion in this bug report, but the behavior is expected, not a bug. And somewhat unique to our app. If we turn off telemetry our usage goes down to < 1MB / day of data.
By default telemetry is turned on if you use Mapbox native in your app. And it listens to location updates your app gets. If your app gets a notification the person has moved, Mapbox then requests fine grained location updates for a short period of time. (5 meter movements for 5 minutes, I believe.)
There’s nothing nefarious or dumb here. The location telemetry is a disclosed part of the product and the code is open source. They have appropriate privacy protections. And it’s a reasonable form of telemetry for most apps. I imagine most Mapbox apps have the map front and center as part of the UI with location tracking already enabled, so Mapbox’s telemetry requests don’t really generate any more traffic. Unfortunately our app is just unusual in wanting low impact background updates only, not a good match for the telemetry behavior. Fortunately our users can turn off the telemetry tracking if they want. (In fact, Mapbox requires that apps provide a telemetry opt-out option for users.)
The other confusing piece of this is why does location tracking use so much network bandwidth, and why is it attributed to iOS itself and not our app? Only Apple really knows, but I have some guesses. Phones almost never use an honest GPS signal to track location; mostly location is tracked by reference to nearby Wifi and cellular signals. My guess is every time the phone wants to know its position the iOS location daemon itself makes a TCP/IP request to some Apple server to do a lookup. (I’ve definitely noticed that my location tracking goes way worse when I have cellular data turned off, say when traveling in Europe.) That data usage is significant if you are tracking location in a fine-grained way. And since the request comes from iOS and not the app, the bandwidth is accounted to iOS itself.
While I’m guessing, I think in practice “significant location change” means “moved into range of a new cell tower”. My guess is those location updates come “for free” because the cellular chip already has to do a bunch of work for tower handoffs. Based on observation, moving in range of a new Wifi network is not enough to trigger the location update.
Interesting study summarized over at The Economist. The researchers tracked the movements of 40,000 people as they went about their daily lives. They found the number of places that people go to regularly is about 25. That set of 25 places changes, but when someone adds a new place they tend to stop going to the old place. The result is kind of like a Dunbar’s number but for places, not relationships.
To be honest I didn’t get a lot more out of the paper than the Economist article. The statistical methods are unfamiliar to me and I’m too lazy to figure them out. But some details:
They define a “place” as anywhere someone dwells more than 10 minutes. These are characterized as “places offering commercial activities, metro stations, classrooms and other areas within the University campus”
People discover new places all the time. The fit is exponential, roughly
locations = days ^ 0.7 over a span of ~1000 days.
The probability a new place becomes part of the permanent set is somewhere between 7% and 20%. The Lifelog dataset (their largest) yields 7%; the others are 15-20%.
There’s four separate datasets. Sony Lifelog is the big one; that’s like Google Timeline combined with a fitness tracker. But also several academic datasets. One of those, the Reality Mining Dataset from the MIT Media Lab is publicly available and covers 94 people.
Interesting research. I wonder if it’s really true? It seems plausible enough and matches my personal experience. Particularly since I split time between two cities; I go to fewer places in San Francisco regularly now that I am half time in Grass Valley.
Over on Metafilter I learned about the project Queering the Map. I like it! Simple project to let people share their LGBT experiences on a map. I like the anonymous confessional aspect of it, also the visibility and power of LGBT people sharing our experiences.
I liked it so much I made my own visualization: Queering the Heatmap. I took a static snapshot of their textual data and put it into MapBox GL JS. Mostly I wanted a heatmap of comment density. Also was curious if it’d be faster than the Google Maps site, it definitely is. Just took a couple of hours, thanks in large part to being able to crib map code from my Wanderings project.
Doubt I’ll do anything more with it, at least without permission and cooperation from the folks in Montreal who run Queering the Map. I think without the “add point to the map” feature it’s not really that exciting, and of course I shouldn’t do that without permission from them. Particularly since they had to deal with a troll attack recently.
Screenshot below. Not sure the heatmap setup is quite right, but I got tired of tinkering with gradients.
Edit: this blog post is so self-deprecating! Lol. I like this little project, I’m proud of being able to make something pretty like this in a couple of hours. Wouldn’t mind doing this as a more real thing if the folks running the project like it.
Working on adding data import to my Wanderings project so I can bring in data from other trackers. I have 6 years of data from OpenPaths. And when I imported it the first time I got so much joy out of seeing it again. Particularly trips to India and France.
Our Wanderings project uploads location fixes with the iOS significant location changes APIs. It includes an accuracy number, distance in meters, and occasionally we get points with accuracies > 1000m. We’re about to stop displaying those, but before I do here’s what the data looks like:
That shows most points have an accuracy of 10m, a significant number have an accuracy of 65m, and a few have 1414m. This histogram tool is misleading, there are also 15 points with an accuracy > 1414m. (Shout out to 7094 meters; you did your best, little iPhone).
If I had to guess, I’d say 1414m means “location from a single cell tower” and 65m means “location from a single wifi access point”. But who knows. It’s possible to ask the iPhone to give you more accurate fixes, we’re deliberately only using the most low power location monitoring to conserve battery life.
My friend Brad and I launched Wanderings, a simple location tracker app for iPhone and Web. Put it on your phone and forget about it, come back a few weeks later to have a nice heatmap of where you’ve been. It was inspired by the late lamented OpenPaths. See also Google Timeline, which is much fancier but doesn’t have a heatmap.
I was inspired to start working on this while traveling in Berlin. I just want to know where I’ve been, you know? I don’t know anything about building iPhone apps but fortunately Brad does.
The best part of the app is that we went serverless; we don’t have our own database or server processing location points anywhere. The iPhone app uploads directly to iCloud. Javascript in the web page downloads it directly and renders it. That’s good for privacy and also simplicity. I seem to be building all my web apps this way these days; Logs of Lag, Wind History, etc all work without significant server components. Sure is easy to scale and maintain.
I want a passive location tracker on my phone, something to tell me where I’ve been over the span of years. Google Timeline + Android does this pretty nicely and this blog also has previous notes on Fog of War and other gamified apps. I was using OpenPaths on my iPhone to do something similar, but it was abandoned. The backing server is already gone and the app will die with iOS 11.
So what to do? A friend suggested OwnTracks, an iOS tracker. This isn’t civilian software; there’s no public service. The docs are all about running your own custom server to collect your location data. But the iOS tracker is capable. In particular you can choose battery vs. accuracy. You can either record your position every N seconds / every M meters, which takes about 10% of your battery an hour. Or you can use a more passive “significant movement” mode that is less sensitive but uses very little battery, maybe 1% an hour. I think that’s what OpenPaths did; I ran it for years without a problem. (There’s also a newer iOS API for “Visits” that also looks useful).
OwnTracks publishes data via MQTT, a message queue protocol designed for Internet of Things apps. It seems awfully complicated and a bit fusty, but if they’ve thought through reliable, low power connections for limited devices I’m glad to use it. The OwnTracks docs have some info on running your own MQTT server but that seemed complicated, so I’ve started with CloudMQTT which has a nice free level.
I created a CloudMQTT account and then just plugged in the Instance Info username/password into OwnTracks and set it to logging. CloudMQTT has a “Websocket UI” that shows you the message stream to verify the plumbing is working. OwnTracks reports look like this:
So that all works. Now what about capturing that data for myself? After some false starts I ended up at paho-mqtt, a Python client. The example client on that page more or less works, except you have to modify the on_connect() function to take a fourth flags parameter. (That’s a hint this code is musty.) The example connects to some public MQTT endpoint with a bunch of events flying by so you know it worked. Eventually one sent non-UTF8 and broke the Python code, but at least it was working.
Last step was to reconfigure the sample client to connect to my CloudMQTT instance. To get that working I had to create a new user and set it up with the ACL controls. (Wildcard access, read/write). For some reason the main user/login didn’t work; maybe because it was in use by OwnTracks? I also had to call client.subscribe() to get messages on my specific OwnTracks topic; not sure if that is supposed to be necessary.
Cloud MQTT also has support for forwarding events to Amazon Kinesis. I set this up hoping it was an easy way to get at the data but it just adds complexity and another system for me right now. There’s probably some way to feed the data into a database with AWS plumbing that might be nice. And it’ll scale!
Things to learn more about with MQTT:
Is MQTT a living tech, or is it abandoned?
CloudMQTT user management
paho.mqtt: naked TCP vs TLS vs Websockets
MQTT topics and subscriptions
Is Amazon Kinesis interesting for my application? Would be nice to have less code + servers to manage
Played with Fog of World today, an iPhone app that turns GPS tracking into a game. It records where you go and then paints the map, “lifting the fog of war” in videogame style. It’s heavily gamified; lots of badges and stuff for exploring more of the world. I love the idea of this kind of thing, my previous experiments with mapping walks I took is in the same vein. Also GPS tracks for my private airplane flights.
The engineering is pretty good quality. It has very thoughtful import/export options, including a nice integration with Dropbox. Map rendering is pretty good. Plenty of care applied to battery management.
I’ve been running OpenPaths for years, recording my world travels. It took about 5 minutes to export that data to KML and import it to Fog of World and boom, I’m level 75 with a filled out passport. Unfortunately OpenPaths only records point locations every few minutes, not full paths, so I have a bunch of little speckles of revealed parts of India rather than a clear path on a trip. Fair enough.
I also imported my RunKeeper data from my old walks project. That gives much smoother paths. The display is still kinda janky though, if I were building this app I’d give paths more width and smoothing. That or else try to do some scalable measure, where if I’m looking at a whole country map I see all of the Bay Area filled in, but then I can zoom in for more detail.
Update: this app seems to be killing my battery. The usage monitor in iOS only shows it using 20-30% of my energy, but having it running is the difference between a 5% battery in the morning vs a 60% battery. At least I thinks it is.
I’m trying Strut now, a similar thing, but much more heavily focussed on competition. Also no import / export :-( But it is free. (Update 2: it’s even harder on the battery than Fog of World). Also while researching all this I found a nice comparison of Fog of War v1 vs v2.
For two years I’ve had an Automatic tracker in my car, a gizmo that downloads data off the diagnostic port and uploads it to an iPhone app via Bluetooth. It tracks things like speed, mileage, etc but it turns out the most interesting thing it’s actually tracking is where I drive. But it’s not that interesting, and I’ve always been a bit nervous about the privacy implications of it, and rather than pair it to my new phone’s Bluetooth I’m going to stop using it.
Some summary stats from it:
613 trips since September 2013
11,290 miles in 252 hours. Average speed: 45mph.
25 MPG average, $1600 in fuel
By far most of the hours in the car have been the 150 miles on I-80 between SF and Grass Valley.
The main use case the developers have in mind seems to be a nanny to encourage you to drive better. You get a “Score” that’s dinged down for driving over 60 mph, or braking too hard, or whatever. I found that condescending and useless. The IFTTT integration was sort of nice for creating data in Dropbox, but it wouldn’t export the GPS track. The product got a lot more useful when they added the Dashboard, with some nice Mapbox views of the data. Still I don’t have much use for collecting the data.
Here’s a heatmap they produced of all my driving. You can see all the I-80 trips, plus a long trip down to LA and back. Occasional detours through Stockton or Yuba City.
JeffN was kind enough to point out the new Automatic Dashboard. Automatic is a gizmo that plugs into your car service data port and relays data to an iPhone app. It records fuel usage, speed, GPS track, etc. Neat data, but the presentation has been really limited so far to a mobile-only experience. Well now they have a webapp and it looks great.
trips returns an array; one example element below. I’ve zeroed some of the IDs. The path data is most interesting to me. It looks to be pre-encoded as a polyline, which the javascript renders in SVG. It doesn’t load more detailed data when you zoom in, I think this is it. A bit of a hassle to reverse engineer this to normal lat/lon data, but it’s probably all some standard MapBox data format so should be possible. Update: apparently it’s the Google Maps polyline format.
The graphs are nice. They’re SVG and I see nvd3 is loaded in the page, so I assume that’s what they’re using.
Moved by Bobby Sudekum’s map and this Ask Metafilter question I drew a quick heatmap of all the places I’ve been in the past two years. Primary data source is OpenPaths, 6348 location points. Results in the gallery.
Bay Area livingSan FranciscoVegas to LA roadtripNorthern Germany roadtripBali vacation
Doing this right is hard. OpenPaths samples non-uniformly in time, more points when you’re moving. So the honest thing would be to calculate dwell time from the timestamps. Also the heatmap fakery being done in TileMill is not really accurate, more of an alpha blending hack, but it does look nice. The result is not particularly scale-invariant, you need different settings for different zoom levels and different amounts of source data.
Here’s the steps I followed. Full Carto CSS below. These notes below aren’t a full cookbook, but if you sort of know TileMill already it may get you going.
Start up a TileMill project and import the OpenPaths data. Happily it detects the CSV and lat/long parameters with no trouble. Style it with simple dots and you have a map!
Add some thematic layers for orientation; I used the Natural Earth data for country boundaries, state boundaries, and the small roads file (which is sadly US only). Put the locations dots as the top layer, then I put roads, admin1, and countries below.
Switch to transparent markers. Grab the Mapnik fuzzy dot and drop it in my project directory, use that as a marker-file.
Switch to the fancy heatmap. The magic there is mostly the image-filters:colorize-alpha. Also want to multiply markers, and allow overlap.
Tweak the heatmap. Unfortunately there’s no scale-invariant way to do this, so I settled on making it look good at zoom=8. Both marker-width and marker-opacity are things you can tweak to make it look good depending on your density of location samples, zoom level, etc.
There’s a bunch of passive location trackers out there. Mobile phone clients that watch your location all the time and upload reports of where you are every 15 minutes, hour, whatever. Three I’ve tried are OpenPaths, Google Latitude, and Geoloqi. Of the three I like OpenPaths the best. It’s by Jer Thorp, a very smart information visualization guy. It’s simple and does its thing well and nothing more. And it has the right goals and attitude. Google Latitude is opaque, corporate, and seemingly abandoned; it also has a terrible UI that only lets you get 30 days of data at a time. Geoloqi is nice but the tracker is more of a demo for their very capable platform. So OpenPaths is the one I’ll keep around.
That’s about three months of data, my travels around California. I like how the data shows all the different roads I’ve drive on my trips out of SF, particularly highway 12 across to Lodi. The couple of points east of Concord make me laugh, that’s when I was in Ken’s airplane and forgot to turn off my cell phone.
I’m not sure what I will end up doing with this data, but I intend to keep collecting it.
There’s a bunch of location tracking apps now, all of which basically collect where you are all the time in a casual way. The key thing is that they only sample location occasionally, to save battery life.
I did a 15 minute drive in San Francisco today, then a 40 minute walk home. About 2.5 miles each way. I was running four of these tracking apps at once on my iPhone, to compare how much data they logged.
Google Latitude: 12 points
Geoloqi (Battery saver mode): 4 points
OpenPaths: 6 points
They all sampled roughly the same amount of data, although the extra resolution from Latitude makes a big difference in the final picture. None of them captured any points at all when I was driving. I’d hoped these apps would realize I was moving quickly and start sampling more frequently but, well, no.
I wonder if there’s a direct correlation between sampling rate and battery consumption. Google Latitude does use more battery than Geoloqi, but I’m not sure how much more. Haven’t really tried OpenPaths yet.
Here’s screenshots of the maps each tracker generated, along with a detailed track from iSmoothRun.
When you make a backup of an iPhone, it creates a big directory full of files with random 160 bit filenames. These are named files in the iPhone that iphonels.py can display. My 3 biggest files are named
HomeDomain::Library/Caches/com.apple.WebAppCache/ApplicationCache.db
AppDomain-com.foreflight.ForeFlightMobile::Documents/Procedures.zip
RootDomain::Library/Caches/locationd/consolidated.db
consolidated.db is the file with the location data in it. It’s a sqlite3 database.
The juicy tables are (apparently) CellLocation and WifiLocation. The *Counts tables seem to contain just a row count. Presumably the Boxes tables are some sort of spatial index. I can find no record of how often I was at a specific location other than what’s implicit in the timestamps and density of cell/wifi locations.
I have 32,013 rows in CellLocation, 171,040 rows in WifiLocation
Timestamps are like 309803342: I believe this is NSDate seconds since 1 Jan 2001. Add 978307200 to get it in seconds since Unix 1970 epoch.
HorizontalAccuracy varies from 50-300 for WifiLocation, and up to 80,000 for CellLocation.
Confidence is 0, 50, 60, 65, 68, or 70
Speed and Course are always -1 (no surprise).
Some quicky sqlite3 shell code
.mode csv
.output wifilocation.csv
select Timestamp, Latitude, Longitude from WifiLocation order by Timestamp;
.output CellLocation.csv
select Timestamp, Latitude, Longitude from CellLocation order by Timestamp;
I have some friends who track their positions via ham radio on APRS. Cool stuff. The site http//aprs.fi/ has a really nice map viewer of the data. I’m looking at extracting that data for my flight tracker.
The easy way is to have the user use the data export tool to download a file. It’s a bit awkward and manual but easy to understand. There are multiple format options, CSV seems sufficient. Fields are:
time: full text UTC, “when the target first reported this (current) position”
lasttime: identical to time in my data. “the time when the target last reported this (current) position”
The granularity of track data is up to the APRS sender. I think one fix every 5 seconds is considered fast. My friend’s tracker is smart enough to send more rapid updates when turning, etc. 66 points for a 90 minute flight.
There are other sources of this data. aprs.fi notes you can also get the data directly from APRS-IS via a library like Ham-APRS-FAP. There’s also aprsworld.com; Adam Fast has some nice API code that relies on his having database access to aprsworld.
When comparing my Bad Elf GPS track to my AMOD track, I wanted some mathematical calculation of the difference. I don’t really know even what that’d mean, but matt_c pointed me to some ideas:
Hausdorff Distance (PostGIS, GEOS, explanation). My quick read suggests this will calculate the maximum divergence between the two tracks, not the sum of many little errors.
Fréchet distance. “The Frechet distance is a measure that takes the continuity of shapes into account and, hence, is better suitedthan the Hausdorff distance for curve or surface matching” (source).
No hacking today, went flying instead. Ended up being a passenger the whole 3 hour flight, crappy IFR weather. But as always I captured the flight on my little AMOD GPS tracker and mapped the track through my custom GPS track mapper project. The result is quite surprising; not only is data missing, but the track is wrong! In particular when we left Modesto we did not fly south, we flew more or less west, and the GPS recorded the wrong position. What happened?
My GPS tracker logs NMEA sentences once a second and records all sorts of neat data. Unfortunately I’m not graphing it yet, so I turned instead to GPS visualizer to visualize some auxilliary data: specifically the # of satellites we had for the fix as well as the horizontal dilution of precision, a measure of fix accuracy.
As you can see in the graph, the HDOP spiked really high for about 10 minutes around 23:20, or exactly when my position data was bad and then disappeared. I’d naively assumed the GPS tracker wouldn’t even record data if it didn’t have a good fix. Apparently it does. The Wikipedia article suggests I should be ignoring fixes with HDOP > 10 or so. My tracker also records vertical DOP; in general GPS isn’t as good at vertical position as horizontal, so that data may be even worse.
One other graph: # of satellites as a function of HDOP. My GPS apparently needs to see 5 satellites to give an accurate position. No idea if that’s true for all GPS chipsets (I think 4 is minimal), but this tracker uses the decent SiFR III chipset so I imagine it’s doing about as good as it can.
I’ve got a long list of things to do with my GPS track mapping program. I hope to make it a web site for others to use some day.