On Tue, Jun 3, 2008 at 3:34 AM, Ross Scanlon <<a href="mailto:info@4x4falcon.com">info@4x4falcon.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, 2 Jun 2008 20:20:15 +0300<br>
"Jan-Erik Skata" <<a href="mailto:jeskata@gmail.com">jeskata@gmail.com</a>> wrote:<br>
<br>
> I was about to post a similar question. I have now set up a<br>
> postgresql/postgis database and fed it the Finnish map using osm2pgsql.<br>
> GPSDrive does not seem to know to use Mapnik to render with data from the<br>
> map.<br>
> Have set mapnik=1 in gpsdriverc but it is set back to zero after a start.<br>
<br>
</div>This will always occur when gpsdrive can not initialize mapnik.<br>
<br>
There is a problem with some locations of mapnik data and a couple of simlinks will sort it but are not an ideal fix. It will be in the howto once I write it up. Probably tomorrow.<br>
<div class="Ih2E3d"><br>
<br>
> gpsfetchmap.pl says this, do I need to install imagemagick?<br>
><br>
> Can't locate Image/Magick.pm in @INC (@INC contains: /opt/gpsdrive<br>
> /opt/gpsdrive/share/perl5 ../scripts/perl_lib ./scripts/perl_lib ./perl_lib<br>
> /usr/local//perl_lib /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux<br>
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl<br>
> /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8<br>
> /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux<br>
> /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at<br>
> /usr/local/bin/gpsfetchmap.pl line 74.<br>
> BEGIN failed--compilation aborted at /usr/local/bin/gpsfetchmap.pl line 74.<br>
<br>
</div>This has nothing to do with mapnik but if you want to generate maps via gpsfetchmap.pl then you need to install Imagemagick and the perl Image/Magick modules via cpan.<br>
<div class="Ih2E3d"><br>
--<br>
<br>
<br>
Regards<br>
Ross<br>
<a href="mailto:ross@theinternethost.com.au">ross@theinternethost.com.au</a><br>
<br></div></blockquote></div><br>I could also write a howto for Gentoo, as soon as I get all working.<br>