]> err.no Git - mapper/commitdiff
Add a comment for oneway flag, we need to handle the -1 case somehow
authorKaj-Michael Lang <milang@onion.tal.org>
Wed, 9 Jan 2008 10:53:59 +0000 (12:53 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Wed, 9 Jan 2008 10:53:59 +0000 (12:53 +0200)
src/osm.c

index ce8fc632761c239b8d2ab8b5ee4575c0dc7f4e36..03723a4ba36949fa35a379c0cee661b364cdc1e9 100644 (file)
--- 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;