: I have 300+ GPX files of bike rides that I'd like to be able to link to somehow over a
. This is related to my
about cycling every road in a town; I need to visualize what roads I have/haven't ridden, and link that progress to a blog. Would like it to be as low-weight as possible; the 300 (uncompressed) GPX files amount to 100+mb currently (route+track+waypoints) and is only getting larger -- vanilla GMaps doesn't play nice with that many files. Much more information inside...
[If there's a smarter way to approach any of this, I'm all ears. I have very little idea what it is I'm doing here, and if you can correct any wrong assumptions/bad concepts on my part you'd be doing me a huge kindness; so fire away.]
So there used to be a site ('Multi-Ride Mapper
') that worked with the Strava
API that would display all of a user's rides. It was made by a guy named Jonathan O'Keefe, and it would produce a map that looked like this
(while retaining the full GMaps functionality). It was low-weight and loaded quickly, and pulled the data off of the Strava
API. Here's the HTML source
for the site in question
But Strava changed (and then re-changed) its API. Now I can't link to a map of my rides to someone who isn't a Strava
signed in. This sucks, and I'd like to recreate that functionality.
SO, I have the GPX files (and, also, the Garmin FIT files, if it makes a difference). They're heavy; in total the 300 rides in GPX are around 100mb. They're hosted on my server; here's a link to the zip file of all rides
(5mb, ZIP file) if it's of any use.
I'm a babe in the woods, and I'm not sure what I need to do to do this; but what I think I'd like done approximates:
- Pointing google maps to a sub-directory on my website where all the GPXs live (eg .../strava/gpxs/)
- Not sure what happens this step; possibly magic
- Ride overlays of, say, 2px in an opaque color are overlayed on a Google Map base layer (visually approximating this)
Does this require use of the Google Maps API? What's the most hand-holdingest way to walk me through setting such a thing up? I've researched this for several hours now and actually feel dumber
about this than when I started.
Other stray questions (I'm sure I'll have more):
- How do I (and: 'do I need to') reduce the size of the (100+mb, total) GPX rides, and what data can be stripped while preserving the visualization? How is this best done?
How would I create a 0.4km "halo" of anonymity around my house
- I know I don't need 'heart rate' or 'cadence' info, but I'm not sure if I can strip one or more of the following: route, track, waypoints. Not sure which would be most useful to strip, size-wise, or indeed how this would even be done.
Again, J. O'Keefe's (amazing) Multiple Ride Mapper
used to do this great. Through no fault of his, the Strava API neutered the functionality -- I can't link to non-strava members. His site gets/got the data from the Strava API. Looking to cut Strava out of the loop here, and use my data how I'd like.
I'm very sure I don't know enough about what I'm asking to have included all the pertinent information, and I welcome the chance to clarify anything I've left unclear. Many, many thanks for your time and your expertise.