From a8bd2a00000ae12decc16261475c65e48896faad Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 30 Jul 2007 13:55:33 +0300 Subject: [PATCH] Add start/end markers for real roads. Used to limit the way query to such ways where you can normaly be on. --- src/osm.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 */ -- 2.39.5