mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 08:10:46 +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,7 +1101,11 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
||||||
final String destinationIdStr = pp.getAttributeValue(null, "destID");
|
final String destinationIdStr = pp.getAttributeValue(null, "destID");
|
||||||
final int destinationId = destinationIdStr.length() > 0 ? Integer.parseInt(destinationIdStr) : 0;
|
final int destinationId = destinationIdStr.length() > 0 ? Integer.parseInt(destinationIdStr) : 0;
|
||||||
final String destination = normalizeLocationName(pp.getAttributeValue(null, "destination"));
|
final String destination = normalizeLocationName(pp.getAttributeValue(null, "destination"));
|
||||||
final String line = parseLine(pp.getAttributeValue(null, "motType"), pp.getAttributeValue(null, "shortname"), pp
|
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"));
|
.getAttributeValue(null, "name"));
|
||||||
|
|
||||||
XmlPullUtil.enter(pp, "itdMeansOfTransport");
|
XmlPullUtil.enter(pp, "itdMeansOfTransport");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue