mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +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;
|
place = locality != null ? locality : defaultPlace;
|
||||||
name = buildingName != null ? buildingName : streetName;
|
name = buildingName != null ? buildingName : streetName;
|
||||||
} else if ("coord".equals(type)) {
|
} else if ("coord".equals(type)) {
|
||||||
locationType = LocationType.ADDRESS;
|
locationType = LocationType.COORD;
|
||||||
place = defaultPlace;
|
place = null;
|
||||||
name = nameElem;
|
name = null;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("unknown type/anyType: " + type);
|
throw new IllegalArgumentException("unknown type/anyType: " + type);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue