Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the most efficient way to create routes on google maps from gps files?

I want to display my bicycle routes on Google maps. All the coordinates are recorded by my GPS and stored in .gpx file format.

I'd like to know what's the best approach/file formats/storage/loading the coordinates on Google Maps.

This is a good example but it doesn't seem to be working.

like image 624
Eeyore Avatar asked May 26 '10 15:05

Eeyore


1 Answers

You may be interested in checking out the following article, fresh from the Google Geo Developers Blog:

  • Map your data with the Maps API and Fusion Tables

Quoting the introduction:

If you have ever tried to plot a very large number of overlays on an API map you have probably reached a point at which the performance of your application begins to suffer. With one hundred or so markers, most browsers cope just fine, and clustering solutions like Fluster can help support more. But if you have thousands of overlays that you wish to show, rendering them individually can be problematic.

The Maps API v3 now offers two solutions to this problem. If you have a large volume of geospatial data that can be served as KML, the KmlLayer class can render up to 50,000 features as an overlay that does not impact performance on any browser. To support data sets that are structured as tables, such as a database or spreadsheet, we have also now added the FusionTablesLayer class for rendering data stored in Google Fusion Tables.

They have a very interesting example visualizing mountain bike trails uploaded to Fusion Tables.

like image 189
Daniel Vassallo Avatar answered Oct 13 '22 19:10

Daniel Vassallo