mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-11 00:08:49 +00:00
split more places from names
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@477 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
4fb2cd7a04
commit
2c62acf726
1 changed files with 15 additions and 0 deletions
|
@ -198,6 +198,21 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
place = "Potsdam";
|
||||
name = parsedName.substring(9);
|
||||
}
|
||||
else if (parsedName.startsWith("Cottbus, "))
|
||||
{
|
||||
place = "Cottbus";
|
||||
name = parsedName.substring(9);
|
||||
}
|
||||
else if (parsedName.startsWith("Brandenburg, "))
|
||||
{
|
||||
place = "Brandenburg";
|
||||
name = parsedName.substring(13);
|
||||
}
|
||||
else if (parsedName.startsWith("Frankfurt (Oder), "))
|
||||
{
|
||||
place = "Frankfurt (Oder)";
|
||||
name = parsedName.substring(19);
|
||||
}
|
||||
else
|
||||
{
|
||||
longName = parsedName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue