place in connections

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@446 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-01-11 17:20:23 +00:00
parent 0d0d51725a
commit 612111edef
8 changed files with 87 additions and 53 deletions

View file

@ -110,15 +110,15 @@ public class OebbProvider extends AbstractHafasProvider
if (type == 1) // station
{
results.add(new Location(LocationType.STATION, localId, lat, lon, value));
results.add(new Location(LocationType.STATION, localId, lat, lon, null, value));
}
else if (type == 2) // address
{
results.add(new Location(LocationType.ADDRESS, 0, lat, lon, value));
results.add(new Location(LocationType.ADDRESS, 0, lat, lon, null, value));
}
else if (type == 4) // poi
{
results.add(new Location(LocationType.POI, localId, lat, lon, value));
results.add(new Location(LocationType.POI, localId, lat, lon, null, value));
}
else
{