Talk:Gpx2png

From OpenStreetMap Wiki
Jump to: navigation, search

Good work

Nice work i like it ... I am trying to get it run on my server and will create a PHP script for calling it. However where will the ready to used map be saved? What about the perl modules? You know how to get them using debian's apt-get? --Deltabrasil 17:19, 16 October 2010 (BST)

The generate map will be saved in "map.png" in the current directory. Use the -o switch to choose your own file name. For the required Perl modules, see the use statements near the script's start. Currently, the modules are Math::Trig, Image::Magick, LWP::UserAgent, and Getopt::Long. Debian stable has an outdated Image::Magick package which introduces artifacts, but any recent distribution should have up-to-date packages ready. The module's package name depends on your distribution, and I cannot help you for Debian as I am a happy Gentoo Linux user ... Fischer 22:22, 25 October 2010 (BST)