From: Kaj-Michael Lang Date: Wed, 9 Jan 2008 10:53:59 +0000 (+0200) Subject: Add a comment for oneway flag, we need to handle the -1 case somehow X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92868f5bb58c89b5824b48907ac329b40d4d980f;p=mapper Add a comment for oneway flag, we need to handle the -1 case somehow --- diff --git a/src/osm.c b/src/osm.c index ce8fc63..03723a4 100644 --- a/src/osm.c +++ b/src/osm.c @@ -1558,9 +1558,11 @@ switch (t) { if (v) cway->data->postal_code=g_strdup(v); + /* XXX: somehow handle the silly -1 'reversed' oneway */ v=g_hash_table_lookup(osm_way_tags, "oneway"); if (v) cway->flags|=W_ONEWAY; + v=g_hash_table_lookup(osm_way_tags, "noexit"); if (v) cway->flags|=W_NOEXIT;