]> err.no Git - mapper/commitdiff
Add start/end markers for real roads. Used to limit the way query to such ways where...
authorKaj-Michael Lang <milang@angel.tal.org>
Mon, 30 Jul 2007 10:55:33 +0000 (13:55 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Mon, 30 Jul 2007 10:55:33 +0000 (13:55 +0300)
src/osm.h

index 3d53c2be2ae5a747f1dfb1743abdec3d7a2918a4..3a3013679da673b0183d9e7cb5408ef571ee24ba 100644 (file)
--- 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 */