[ gpsdrive ] More compile errors
Alex Cruz
elmonogrande at gmail.com
Sat Oct 13 11:59:59 AKDT 2007
On Saturday 13 October 2007, Joerg Ostertag (gpsdrive Munich/Germany) wrote:
> ...
>
> > > http://svn.openstreetmap.org/applications/rendering/mapnik/update-mapni
> > >k- fr om-planet.sh This will create the necessary users, download most
> > > of the mapnik stuff and import it into the database.
> > > If this part is done you simply should be able to switch mapnik mode to
> > > on an you should have your osm map visible.
> >
> > Ok, looking through the code of that script, it appears that it's using
> > PostgreSQL for the DB. Does that mean that I need to have postgresql
> > running in order to use the mapnik mode in gpsdrive?
>
> Yes, we're changing the main DB to PostgreSQL, because this makes some
> things a lot easier for us. But in the meantime you might have to have
> mySQL AND PostgreSQL. Sorry for the inconvenience.
>
No big deal running 2 sql servers....just wanted to make sure I wasn't
hallucinating (again). Anyway, so after modifying the mapnik-osm-updater.sh
script to work on my Gentoo install, I am getting this error when importing
the planet file:
--------- Unpack and import /home/osm/osm/planet/planet.osm.bz2
osm2pgsql SVN version 0.50-20071013 $Rev: 4895 $
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Reading in file: /home/osm/osm/planet/planet.osm.bz2
Processing: Node(41758k) Way(4549k) Relation(2k)
Writing rel(2k)
Writing way(66k)mapnik-osm-updater.sh: line 318: 677 Segmentation fault
sudo -u "$osm_username" osm2pgsql --database "$database_name" $planet_file
Any thoughts as to why this is happening?
-alex
More information about the GPSdrive
mailing list