mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
fixed Belgium connections
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@634 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
be7a173989
commit
af6c3338e1
3 changed files with 28 additions and 9 deletions
|
@ -630,8 +630,12 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
|||
throw new IllegalStateException("error " + code + " " + XmlPullUtil.attr(pp, "text"));
|
||||
}
|
||||
|
||||
XmlPullUtil.require(pp, "ConResCtxt");
|
||||
final String context = XmlPullUtil.text(pp);
|
||||
final String context;
|
||||
if (XmlPullUtil.test(pp, "ConResCtxt"))
|
||||
context = XmlPullUtil.text(pp);
|
||||
else
|
||||
context = null;
|
||||
|
||||
XmlPullUtil.enter(pp, "ConnectionList");
|
||||
|
||||
final List<Connection> connections = new ArrayList<Connection>();
|
||||
|
@ -1254,8 +1258,6 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
|||
return 'T';
|
||||
// if ("T".equals(normalizedType)) // Tram
|
||||
// return "T" + normalizedName;
|
||||
// if ("Tramway".equals(normalizedType))
|
||||
// return "T" + normalizedName;
|
||||
|
||||
// Bus
|
||||
if ("BUS".equals(ucType)) // Generic Bus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue