line BuFB

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@782 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-09-16 10:36:48 +00:00
parent 77ed4f67e6
commit b59f39c618
2 changed files with 4 additions and 2 deletions

View file

@ -1685,7 +1685,7 @@ public abstract class AbstractHafasProvider implements NetworkProvider
return 0;
}
protected static final Pattern P_NORMALIZE_LINE = Pattern.compile("([A-Za-zßÄÅäáàâåéèêíìîÖöóòôÜüúùûØ/-]+)[\\s-]*(.*)");
protected static final Pattern P_NORMALIZE_LINE = Pattern.compile("([A-Za-zßÄÅäáàâåéèêíìîÖöóòôÜüúùûØ/]+)[\\s-]*(.*)");
protected String normalizeLine(final String type, final String line)
{

View file

@ -359,11 +359,13 @@ public class RmvProvider extends AbstractHafasProvider
return "B" + number;
if (type.equals("BN"))
return "BN" + number;
if ("BuFB".equals(type))
return "BBuFB" + number;
if (type.equals("N"))
return "BN" + number;
if (type.equals("AS")) // Anruf-Sammel-Taxi
return "BAS" + number;
if (type.equals("ASOF-")) // Anruf-Sammel-Taxi
if (type.equals("ASOF")) // Anruf-Sammel-Taxi
return "BASOF" + number;
if (type.startsWith("AST")) // Anruf-Sammel-Taxi
return "BAST" + type.substring(3) + number;