Netherlands

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@386 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2010-12-08 23:42:12 +00:00
parent 002560b57a
commit 8e2da67170
3 changed files with 317 additions and 3 deletions

View file

@ -437,9 +437,7 @@ public abstract class AbstractHafasProvider implements NetworkProvider
}
else
{
parts
.add(new Connection.Footway(min, sectionDeparture.id, sectionDeparture.name, sectionArrival.id,
sectionArrival.name));
parts.add(new Connection.Footway(min, sectionDeparture.id, sectionDeparture.name, sectionArrival.id, sectionArrival.name));
}
}
@ -651,6 +649,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
return "S" + normalizedType;
if (P_LINE_SN.matcher(normalizedType).matches()) // Nacht-S-Bahn
return "S" + normalizedType;
if ("SPR".equals(normalizedType)) // Sprinter, Niederlande
return "S" + normalizedName;
if ("Met".equals(normalizedType)) // Metro
return "U" + normalizedName;