fixed connections from and to masts

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@310 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-10-17 21:45:44 +00:00
parent 8bdd67dafa
commit b04e80cbf2

View file

@ -169,7 +169,7 @@ public final class VbbProvider implements NetworkProvider
private static final String locationValue(final Location location)
{
if (location.type == LocationType.STATION && location.id != 0)
if (location.type == LocationType.STATION && location.id >= 1000000)
return Integer.toString(location.id);
else
return location.name;