From: Kaj-Michael Lang Date: Mon, 30 Jul 2007 10:55:33 +0000 (+0300) Subject: Add start/end markers for real roads. Used to limit the way query to such ways where... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8bd2a00000ae12decc16261475c65e48896faad;p=mapper Add start/end markers for real roads. Used to limit the way query to such ways where you can normaly be on. --- diff --git a/src/osm.h b/src/osm.h index 3d53c2b..3a30136 100644 --- a/src/osm.h +++ b/src/osm.h @@ -83,6 +83,7 @@ typedef enum { typedef enum { WAY_UNWAYED=0, + WAY_ROAD_START, WAY_MOTORWAY, WAY_TRUNK, WAY_PRIMARY, @@ -94,16 +95,19 @@ typedef enum { WAY_TRACK, WAY_FOOTWAY, WAY_CYCLEWAY, + WAY_ROAD_END, + /* Non-roads */ + WAY_OTHER_START, WAY_RAIL, WAY_RUNWAY, WAY_TAXIWAY, - WAY_WATER, WAY_WATER_RIVER, WAY_WATER_STREAM, WAY_WATER_CANAL, - WAY_OTHER + WAY_OTHER_WAY, + WAY_OTHER_END } way_type_t; /* Route waypoint types */