开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜