[ gpsdrive ] [gpsdrive] is there a way to build gpsdrive and/with mapnik on ubuntu? and segmentation fault on x64?

haylocki haylocki at yahoo.co.uk
Tue Jan 15 22:02:11 AKST 2008


Hi,


doits wrote:
> 
> hello there,
> 
> i'm looking for a way to build gpsdrive (svn) with mapnik (svn or 0.4.0) 
> and a howto how to use mapnik with gpsdirve (i.e. how to import a map 
> into that postreesql-database or so). is there somewhere a tutorial 
> maybe i cannot find?
> 


   I had the mapnik maps working with Ubuntu Feisty, and they are really
impressive. I tried for a long time to get GPSdrive and mapnik to work in
Ubuntu Gutsy, but have finally given up. I may have messed up something on
my system, so I will wait until I have to wipe and install the next version
of Ubuntu, and then try again.

If you are going to try this you need to download the svn of GPSdrive.
Once you have done this you will have a file called
"install-mapnik-osm.txt". This file is out of date now, but does have a list
of dependencies, that you need to install. I believe you can follow the
instructions all the way down to :

# ----------- Create Database and Import the dump from
http://planet.openstreetmap.de/

Skip the line :

wget -v --mirror http://planet.openstreetmap.de/planet.osm.sql.bz2 \
            --no-directories
--directory-prefix=/home/${user_name}/osm/planet/

As you will download and install the planet file with the next command

svn.openstreetmap.org/utils/export/osm2pgsql/mapnik-osm-updater.sh
--all-planet

I also installed the svn for mapnik, as I could not get version 0.4.0 to
work at all with GPSdrive.

I think I installed mapnik thus :

cd ~
svn co svn://svn.mapnik.org/trunk mapnik
cd mapnik
sudo python scons/scons.py install PYTHON=/usr/bin/python
PGSQL_INCLUDES=/usr/include/postgresql PGSQL_LIBS=/usr/lib/postgresql
BOOST_INCLUDES=/usr/include/boost BOOST_LIBS=/usr/lib

If You do try to get gpsdrive and mapnik working together, could you please
document everything you had to do. As I would also like a nice clear guide.
I have had so many problems trying this that I no longer know which things I
did that worked / were required, and those which made things worse / weren't
needed.

P.S.

If you want an easier route to using osm data, I would suggest a program
called navit. It is very fast in 2D mode, and also supports a 3Dview like
normal car gps navigators. Not as pretty as GPSdrive and mapnik though.

It also has 3 things which I would like to see in GPSdrive using mapnik

1) It can flip the map so you are always headed upwards
2) routing
3) It snaps to the nearest road, so even if the data in osm is a few meters
out, you still appear on the road, on the map.


Cheers, Ian
-- 
View this message in context: http://www.nabble.com/is-there-a-way-to-build-gpsdrive-and-with-mapnik-on-ubuntu--and-segmentation-fault-on-x64--tp14850207p14870807.html
Sent from the GpsDrive mailing list archive at Nabble.com.



More information about the GPSdrive mailing list