[ gpsdrive ] [gpsdrive] Problems with mapnik integration
enigma2176
enigma at thedonnerparty.com
Tue Mar 25 09:31:29 AKDT 2008
After many tries and much dependency hunting, I have finally successfully
compiled mapnik 0.5.0 and gpsdrive 2.10svn18907042 in Ubuntu Gutsy. I
loaded an OSM file for my state into mapnik using the technique described at
http://www.nabble.com/gpsdrive---openstreetmap-howto-td15193344.html without
any obvious errors. I have run the sample programs in the mapnik demo
directory successfully. However, when I start gpsdrive I don't get the
mapnik maps and get errors from gpsdrive. Here is a sample session:
$ gpsdrive
DB: Using waypoints from local user file.
Error: Could not find provider PostgreSQL in the current setup
** (GpsDrive:7923): CRITICAL **: gda_connection_add_event: assertion
`GDA_IS_CONNECTION (cnc)' failed
Read 561 POI-Types from geoinfo.db
### WARNING: Failed to load image file 'c:/mapnik/symbols/rail_tunnel.png':
cannot open image file c:/mapnik/symbols/rail_tunnel.png
### WARNING: Failed to load image file 'c:/mapnik/symbols/rail.png': cannot
open image file c:/mapnik/symbols/rail.png
### WARNING: Failed to load image file 'c:/mapnik/symbols/rail.png': cannot
open image file c:/mapnik/symbols/rail.png
### WARNING: Failed to load image file 'c:/mapnik/symbols/rail_tunnel.png':
cannot open image file c:/mapnik/symbols/rail_tunnel.png
### WARNING: Failed to load image file 'c:/mapnik/symbols/rail_bridge.png':
cannot open image file c:/mapnik/symbols/rail_bridge.png
Cannot init mapnik. Mapnik support DISABLED: Could not create datasource. No
plugin found for type 'shape' in layer 'world-1'
I don't know why it has windows style paths for the symbols, my symbols
should be in /usr/local/share/mapnik/symbols. However, the more crucial
errors seem to be the "could not find provider postgresql" and "No plugin
found for type 'shape' in layer 'world-1'". Has anyone seen this problem
before? Is it just a configuration issue or did I miss compiling in support
for some crucial library? Any help is greatly appreciated.
--
View this message in context: http://www.nabble.com/Problems-with-mapnik-integration-tp16246238p16246238.html
Sent from the GpsDrive mailing list archive at Nabble.com.
More information about the GPSdrive
mailing list