Using Perl to Display GPX File on Google Map
I have a bunch of GPX files on our server and would like to overlay them on top of a Google Map to display them on our website. We use Perl for all our site scripts however we're having a h开发者_运维百科ard time figuring out how to format the data correctly to display it in Google Maps.
I'm hoping that some GPX expert out there can explain at a high level how we can best accomplish this and provide some sample perl code to correctly process the GPX file and print out the necessary HTML to display it on a Google Map.
Thanks in advance for your help!!!
The tool you really want to use is GPSBabel. If you want a somewhat perlish interface to it, rather than just driving it from the commandline, there's also a GPS::Babel module.
精彩评论