rev. 409 GPL (GNU General Public License)    
  not rated
Reads a gps track in GPX format




gpx2map reads a gps track in GPX format (as produced by e.g. gpsbabel) and writes out an Google Map, a Yahoo Map or OpenStreetMaps mash-up containing the route and a height profile.

gpx2map comes very handy when you e.g. own an Garmin eTrex and want to know where you wandered around last time. Then you just use gpsbabel to fetch your tracks in GPX format and let gpx2map write out an map overlay for you.


Just copy (or link) the file gpx2map into your path or any place you like.
Put the mash-up template files, gpx2map.osm.template and where you put gpx2map itself (not to the link, in case you linked it).

When you don't have the CPAN module Geo::Distance installed then you also need to place the sub-directory cpan/ below the location you put gpx2map into. See also section Requirements.

Finally, you need to configure gpx2map to use your own Yahoo Maps API key in case you really want to use the Yahoo Maps Interface (which is currently broken anyway). Otherwise you won't be able to see your route pages online.

Program Options:

gpx2map [--help|-h] [--version|-V] [--route|-r route] [--merge]
[--title|-t title] [--osm|-o] [--yahoo|-y] [--[no]height] inputfile
--help, -h Help screen
--version, -V Version
--osm, -o Create OpenStreetMaps Mash-Up
--yahoo, -y Create Yahoo Mash-Up (currently broken)
 Default is Google Mash-Up
--title, -t < title > Title of web page, when not specified use route name (or leave empty)
--route, -r < route > Route to read
--merge Use all points from all routes in gpx file
--height|--noheight Enable (Default) or Disable height profile
inputfile GPX file to read

Output format is Google maps, unless --osm or --yahoo is given.
When neither --route nor --merge are specified, create individual web pages for each route.

Output is written to [.< route >].html
Last updated on March 19th, 2012
gpx2map - Usage message

0 User reviews so far.