[metro stations] Adding metro station component to address formatter
This commit is contained in:
@@ -65,6 +65,7 @@ class AddressFormatter(object):
|
|||||||
UNIT = 'unit'
|
UNIT = 'unit'
|
||||||
INTERSECTION = 'intersection'
|
INTERSECTION = 'intersection'
|
||||||
SUBDIVISION = 'subdivision'
|
SUBDIVISION = 'subdivision'
|
||||||
|
METRO_STATION = 'metro_station'
|
||||||
SUBURB = 'suburb'
|
SUBURB = 'suburb'
|
||||||
CITY_DISTRICT = 'city_district'
|
CITY_DISTRICT = 'city_district'
|
||||||
CITY = 'city'
|
CITY = 'city'
|
||||||
@@ -91,6 +92,7 @@ class AddressFormatter(object):
|
|||||||
ROAD,
|
ROAD,
|
||||||
INTERSECTION,
|
INTERSECTION,
|
||||||
SUBDIVISION,
|
SUBDIVISION,
|
||||||
|
METRO_STATION,
|
||||||
SUBURB,
|
SUBURB,
|
||||||
CITY,
|
CITY,
|
||||||
CITY_DISTRICT,
|
CITY_DISTRICT,
|
||||||
@@ -104,6 +106,7 @@ class AddressFormatter(object):
|
|||||||
|
|
||||||
BOUNDARY_COMPONENTS_ORDERED = [
|
BOUNDARY_COMPONENTS_ORDERED = [
|
||||||
SUBDIVISION,
|
SUBDIVISION,
|
||||||
|
METRO_STATION,
|
||||||
SUBURB,
|
SUBURB,
|
||||||
CITY_DISTRICT,
|
CITY_DISTRICT,
|
||||||
CITY,
|
CITY,
|
||||||
|
|||||||
Reference in New Issue
Block a user