mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +00:00
Fix place parsing of intermediate stops for recent EFA based providers.
This commit is contained in:
parent
0643bf8de6
commit
d6fbe6669a
1 changed files with 4 additions and 1 deletions
|
@ -1870,7 +1870,10 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
{
|
||||
final int id = Integer.parseInt(pp.getAttributeValue(null, "stopID"));
|
||||
|
||||
final String place = normalizeLocationName(pp.getAttributeValue(null, "locality"));
|
||||
String place = normalizeLocationName(pp.getAttributeValue(null, "locality"));
|
||||
if (place == null)
|
||||
place = normalizeLocationName(pp.getAttributeValue(null, "place"));
|
||||
|
||||
String name = normalizeLocationName(pp.getAttributeValue(null, "nameWO"));
|
||||
if (name == null)
|
||||
name = normalizeLocationName(pp.getAttributeValue(null, "name"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue