mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 23:58:48 +00:00
Navitia: Add house numbers to addresses.
This commit adds the house number behind the street name if available and gives a way to define other formats like in France where the house number comes before the street name.
This commit is contained in:
parent
8b2488e807
commit
42f9c21145
6 changed files with 47 additions and 1 deletions
|
@ -41,4 +41,9 @@ public class FranceNorthWestProvider extends AbstractNavitiaProvider {
|
|||
public String region() {
|
||||
return API_REGION;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getAddressName(final String name, final String houseNumber) {
|
||||
return houseNumber + " " + name;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue