fixed return type for tagtypes name, tagref

This commit is contained in:
glax 2023-04-10 01:33:07 +02:00
parent 6b496957d7
commit 428fcb9bf8

View File

@ -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 },