From: Kaj-Michael Lang Date: Mon, 21 Apr 2008 08:03:26 +0000 (+0300) Subject: Load all node pairs for the way we are on X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f32fc5339071fd278572582b9ed7ec9beff9ec7a;p=mapper Load all node pairs for the way we are on --- diff --git a/src/osm-db.c b/src/osm-db.c index b4ba5ab..a65ec00 100644 --- a/src/osm-db.c +++ b/src/osm-db.c @@ -836,6 +836,7 @@ if (cw->type==WAY_MOTORWAY || cw->type==WAY_TRUNK || cw->type==WAY_PRIMARY || cw->type==WAY_SECONDARY || cw->type==WAY_TERTIARY) { osm_way_get_ref(cw); } +osm_way_get_nodes(cw); g_debug("Found: (#%d): [%s]:[%s][%s]", cw->id, cw->name, cw->ref, cw->int_ref); g_debug("T: %d F: %d N#: %d D: %.2f", cw->type, cw->flags, cw->nodecnt, cw->dist);