Change default provider to mapbox instead of mapzen
This commit is contained in:
parent
54e40645fa
commit
03e1d1ca61
@ -136,7 +136,7 @@ class RoutingConfig(ServiceConfig):
|
|||||||
ROUTING_PROVIDER_KEY = 'routing_provider'
|
ROUTING_PROVIDER_KEY = 'routing_provider'
|
||||||
MAPZEN_PROVIDER = 'mapzen'
|
MAPZEN_PROVIDER = 'mapzen'
|
||||||
MAPBOX_PROVIDER = 'mapbox'
|
MAPBOX_PROVIDER = 'mapbox'
|
||||||
DEFAULT_PROVIDER = MAPZEN_PROVIDER
|
DEFAULT_PROVIDER = MAPBOX_PROVIDER
|
||||||
QUOTA_KEY = 'mapzen_routing_quota'
|
QUOTA_KEY = 'mapzen_routing_quota'
|
||||||
SOFT_LIMIT_KEY = 'soft_mapzen_routing_limit'
|
SOFT_LIMIT_KEY = 'soft_mapzen_routing_limit'
|
||||||
METRICS_LOG_KEY = 'routing_log_path'
|
METRICS_LOG_KEY = 'routing_log_path'
|
||||||
@ -226,7 +226,7 @@ class IsolinesRoutingConfig(ServiceConfig):
|
|||||||
MAPZEN_PROVIDER = 'mapzen'
|
MAPZEN_PROVIDER = 'mapzen'
|
||||||
MAPBOX_PROVIDER = 'mapbox'
|
MAPBOX_PROVIDER = 'mapbox'
|
||||||
HEREMAPS_PROVIDER = 'heremaps'
|
HEREMAPS_PROVIDER = 'heremaps'
|
||||||
DEFAULT_PROVIDER = MAPZEN_PROVIDER
|
DEFAULT_PROVIDER = MAPBOX_PROVIDER
|
||||||
METRICS_LOG_KEY = 'isolines_log_path'
|
METRICS_LOG_KEY = 'isolines_log_path'
|
||||||
|
|
||||||
def __init__(self, redis_connection, db_conn, username, orgname=None):
|
def __init__(self, redis_connection, db_conn, username, orgname=None):
|
||||||
@ -391,7 +391,7 @@ class GeocoderConfig(ServiceConfig):
|
|||||||
USERNAME_KEY = 'username'
|
USERNAME_KEY = 'username'
|
||||||
ORGNAME_KEY = 'orgname'
|
ORGNAME_KEY = 'orgname'
|
||||||
PERIOD_END_DATE = 'period_end_date'
|
PERIOD_END_DATE = 'period_end_date'
|
||||||
DEFAULT_PROVIDER = MAPZEN_GEOCODER
|
DEFAULT_PROVIDER = MAPBOX_GEOCODER
|
||||||
METRICS_LOG_KEY = 'geocoder_log_path'
|
METRICS_LOG_KEY = 'geocoder_log_path'
|
||||||
|
|
||||||
def __init__(self, redis_connection, db_conn, username, orgname=None, forced_provider=None):
|
def __init__(self, redis_connection, db_conn, username, orgname=None, forced_provider=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user