fixed return type for tagtypes name, tagref
This commit is contained in:
parent
6b496957d7
commit
428fcb9bf8
@ -30,6 +30,10 @@ public class Tag
|
|||||||
case TagType.id:
|
case TagType.id:
|
||||||
this.value = value.GetUInt64();
|
this.value = value.GetUInt64();
|
||||||
break;
|
break;
|
||||||
|
case TagType.name:
|
||||||
|
case TagType.tagref:
|
||||||
|
this.value = value.GetString();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
this.value = value;
|
this.value = value;
|
||||||
break;
|
break;
|
||||||
@ -123,7 +127,7 @@ public class Tag
|
|||||||
{ WayType.living_street, 10 },
|
{ WayType.living_street, 10 },
|
||||||
{ WayType.service, 1 },
|
{ WayType.service, 1 },
|
||||||
{ WayType.pedestrian, 0 },
|
{ WayType.pedestrian, 0 },
|
||||||
{ WayType.track, 15 },
|
{ WayType.track, 1 },
|
||||||
{ WayType.bus_guideway, 0 },
|
{ WayType.bus_guideway, 0 },
|
||||||
{ WayType.escape, 0 },
|
{ WayType.escape, 0 },
|
||||||
{ WayType.raceway, 0 },
|
{ WayType.raceway, 0 },
|
||||||
|
Reference in New Issue
Block a user