mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 16:20:34 +00:00
EFA: Don't try to convert coordinate result to address.
This commit is contained in:
parent
ac745f66c9
commit
ca4c81ac4a
1 changed files with 3 additions and 3 deletions
|
@ -805,9 +805,9 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
place = locality != null ? locality : defaultPlace;
|
||||
name = buildingName != null ? buildingName : streetName;
|
||||
} else if ("coord".equals(type)) {
|
||||
locationType = LocationType.ADDRESS;
|
||||
place = defaultPlace;
|
||||
name = nameElem;
|
||||
locationType = LocationType.COORD;
|
||||
place = null;
|
||||
name = null;
|
||||
} else {
|
||||
throw new IllegalArgumentException("unknown type/anyType: " + type);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue