here_location_services.config.isoline_routing_config module
This module defines all the configs which will be required as inputs to Isoline routing API.
- class here_location_services.config.isoline_routing_config.IsolineRoutingTransportMode(**kwargs)[source]
Bases:
here_location_services.config.base_config.BunchA class to define constant attributes for mode of transport to be used for the calculation of the route.
cartruckpedestrian
- here_location_services.config.isoline_routing_config.ISOLINE_ROUTING_TRANSPORT_MODE = {'car': 'car', 'pedestrian': 'pedestrian', 'truck': 'truck'}
Use this config for transport_mode of isoline routing API. Example: for
cartransport_mode useISOLINE_ROUTING_TRANSPORT_MODE.car.
- class here_location_services.config.isoline_routing_config.RangeType(**kwargs)[source]
Bases:
here_location_services.config.base_config.BunchA Class to define constant values for specifying the type of range for Isoline Routing API
distance: Units in meterstime: Units in secondsconsumption: Units in Wh
- here_location_services.config.isoline_routing_config.RANGE_TYPE = {'consumption': 'consumption', 'distance': 'distance', 'time': 'time'}
Use this config s optimised_for of isoline routing API. Example: for optimising for
balancedmode useOPTIMISED_FOR.balanced.
- class here_location_services.config.isoline_routing_config.OptimisedFor(**kwargs)[source]
Bases:
here_location_services.config.base_config.BunchA Class to define constant values for optimising calculation for Isoline Routing API
quality: Calculation of isoline focuses on quality, that is, the graph used for isoline calculation has higher granularity generating an isoline that is more precise.performance: Calculation of isoline is performance-centric, quality of isoline is reduced to provide better performance.balanced: Calculation of isoline takes a balanced approach averaging between quality and performance.
- here_location_services.config.isoline_routing_config.OPTIMISED_FOR = {'balanced': 'balanced', 'performance': 'performance', 'quality': 'quality'}
Use this config s optimised_for of isoline routing API. Example: for optimising for
balancedmode useOPTIMISED_FOR.balanced.
- class here_location_services.config.isoline_routing_config.IsolineRoutingAvoidFeatures(**kwargs)[source]
Bases:
here_location_services.config.base_config.BunchA class to define values for features to avoid features during isoline calculation.
- here_location_services.config.isoline_routing_config.ISOLINE_ROUTING_AVOID_FEATURES = {'carShuttleTrain': 'carShuttleTrain', 'controlledAccessHighway': 'controlledAccessHighway', 'difficultTurns': 'difficultTurns', 'dirtRoad': 'dirtRoad', 'ferry': 'ferry', 'tollRoad': 'tollRoad', 'tunnel': 'tunnel'}
Use this config for avoid_features of isoline API. Example: for
tollRoadavoid_features useISOLINE_ROUTING_AVOID_FEATURES.tollRoad.