[ gpsdrive ] GPSDrive with Mapnik and OSM: claims "No map available for this position"
Jan-Erik Skata
jeskata at gmail.com
Sun Jun 15 09:10:33 AKDT 2008
On Sun, Jun 15, 2008 at 6:43 PM, Jan-Erik Skata <jeskata at gmail.com> wrote:
> Here is the output from GPSDrive:
>
> DB: Using waypoints from local user file.
> DB: Using waypoints from OpenStreetMap database.
> Read 576 POI-Types from geoinfo.db
> registered datasource : postgis
> registered datasource : raster
> registered datasource : shape
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=2
> bit_depth=8 color_type=2
> bit_depth=8 color_type=6
> ### WARNING: Failed to load image file
> '/usr/local/share/icons/map-icons/classic.small/misc/landmark/forest.png':
> cannot open image file
> /usr/local/share/icons/map-icons/classic.small/misc/landmark/forest.png
> bit_depth=8 color_type=2
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> bit_depth=8 color_type=6
> size = 2
> file=/usr/local/share/mapnik/world_boundaries/world_boundaries_m
> type=shape
> Envelope(-20037400,-19929239.11,20037400,18375854.70964293)
> file_length=3334676
> shape_type=5
> datasource=0x99f5988 type=1
> size = 2
> file=/usr/local/share/mapnik/world_boundaries/world_bnd_m
> type=shape
>
> Envelope(-20037497.21084017,-19929239.11337915,20037497.21084017,18379686.99645032)
> file_length=24247658
> shape_type=5
> datasource=0x99f2a18 type=1
> size = 2
> file=/usr/local/share/mapnik/world_boundaries/processed_p
> type=shape
> Envelope(-20037508,-7554415.190025273,20037508,15271501.44953631)
> file_length=179724236
> shape_type=5
> datasource=0x99ed428 type=1
> size = 2
> file=/usr/local/share/mapnik/world_boundaries/builtup_area
> type=shape
>
> Envelope(-19940616.76573496,-6979803.136120869,19864212.01086172,11359336.05685957)
> file_length=6689146
> shape_type=5
> datasource=0x99ef340 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=(select * from planet_osm_polygon order by z_order,way_area desc) as
> leisure
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99f2bb8 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=(select * from planet_osm_polygon where landuse='reservoir' or
> landuse='water' or "natural"='lake' or "natural"='water' or
> "natural"='land' order by z_order) as water
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99efac0 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=(select * from planet_osm_line where waterway IS NOT NULL or
> landuse='reservoir' or landuse='water' or "natural"='lake' or
> "natural"='water' order by z_order) as water
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99e4f10 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=
> (select * from planet_osm_line order by z_order) as roads
>
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99eedf0 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=
> (select * from planet_osm_line order by z_order) as roads
>
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99d9020 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=
> (select * from planet_osm_roads order by z_order) as roads
>
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99e1eb0 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=(select * from planet_osm_line where waterway IS NOT NULL or
> landuse='reservoir' or landuse='water' or "natural"='lake' or
> "natural"='water' order by z_order) as water
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99c7168 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=
> (select * from planet_osm_line order by z_order) as roads
>
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99d7d30 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=(select * from planet_osm_point where amenity IS NOT NULL or railway
> is NOT NULL or "natural" is NOT NULL or man_made is NOT NULL or highway is
> NOT NULL or aeroway is NOT NULL) as amenity
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99f1fb0 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=(select * from planet_osm_line where "power"='line' order by z_order)
> as power
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99f4080 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=(select * from planet_osm_point where power is NOT NULL) as
> power_towers
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99e85c8 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=
> (select
> way,highway,landuse,"natural",man_made,waterway,tourism,learning,amenity,place,name,ref,oneway,char_length(ref)
> as length from planet_osm_line where waterway IS NULL and leisure IS NULL
> and landuse IS NULL) as roads
>
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99f3140 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=(select * from planet_osm_polygon order by z_order,way_area desc) as
> leisure
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99ffcb8 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=planet_osm_point
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x9951b08 type=1
> size = 6
> dbname=gis
> estimate_extent=false
> extent=-20037508,-19929239,20037508,19929239
> host=/var/run/postgresql
> table=
> (select * from planet_osm_line where "boundary"='administrative'
> order by z_order) as admin
> type=postgis
> borrow 0x99d84e8
> unknown type_oid=29721
> return 0x99d84e8
> datasource=0x99dfb08 type=1
> size = 2
> file=/usr/local/share/mapnik/world_boundaries/places
> type=shape
>
> Envelope(-175.2365875244141,-41.21039581298828,179.2218933105469,66.14411926269531)
> file_length=3564
> shape_type=1
> datasource=0x9a01708 type=1
>
>
Now I have tried completely reinstalling the databases (postgres and
postgis) and installing map data again using osm2pgsql, without further
success.
Is there any way I can check where the problem might be, in GPSDrive, Mapnik
or perhaps osm2pgsql? But still, Mapnik seems to be rendering correctly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080615/d7f96e15/attachment.html>
More information about the GPSdrive
mailing list