diff --git a/OSMDatastructure/Tag.cs b/OSMDatastructure/Tag.cs index 3230358..00eed3b 100644 --- a/OSMDatastructure/Tag.cs +++ b/OSMDatastructure/Tag.cs @@ -30,6 +30,10 @@ public class Tag case TagType.id: this.value = value.GetUInt64(); break; + case TagType.name: + case TagType.tagref: + this.value = value.GetString(); + break; default: this.value = value; break; @@ -123,7 +127,7 @@ public class Tag { WayType.living_street, 10 }, { WayType.service, 1 }, { WayType.pedestrian, 0 }, - { WayType.track, 15 }, + { WayType.track, 1 }, { WayType.bus_guideway, 0 }, { WayType.escape, 0 }, { WayType.raceway, 0 },