mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 00:08:49 +00:00
parse special AST syntax (Linz)
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@375 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
320ff6f724
commit
102eef5f20
1 changed files with 6 additions and 2 deletions
|
@ -1101,8 +1101,12 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
final String destinationIdStr = pp.getAttributeValue(null, "destID");
|
||||
final int destinationId = destinationIdStr.length() > 0 ? Integer.parseInt(destinationIdStr) : 0;
|
||||
final String destination = normalizeLocationName(pp.getAttributeValue(null, "destination"));
|
||||
final String line = parseLine(pp.getAttributeValue(null, "motType"), pp.getAttributeValue(null, "shortname"), pp
|
||||
.getAttributeValue(null, "name"));
|
||||
String line;
|
||||
if ("AST".equals(pp.getAttributeValue(null, "symbol")))
|
||||
line = "BAST";
|
||||
else
|
||||
line = parseLine(pp.getAttributeValue(null, "motType"), pp.getAttributeValue(null, "shortname"), pp
|
||||
.getAttributeValue(null, "name"));
|
||||
|
||||
XmlPullUtil.enter(pp, "itdMeansOfTransport");
|
||||
XmlPullUtil.exit(pp, "itdMeansOfTransport");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue