mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +00:00
AbstractEfaProvider: Parse 'loc' types in parseJsonStop().
This commit is contained in:
parent
f04d659a58
commit
509fa449cc
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
else if ("crossing".equals(type))
|
||||
location = new Location(LocationType.ADDRESS, id, coord, place, object);
|
||||
else if ("street".equals(type) || "address".equals(type) || "singlehouse".equals(type)
|
||||
|| "buildingname".equals(type))
|
||||
|| "buildingname".equals(type) || "loc".equals(type))
|
||||
location = new Location(LocationType.ADDRESS, id, coord, place, name);
|
||||
else if ("postcode".equals(type))
|
||||
location = new Location(LocationType.ADDRESS, id, coord, place, postcode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue