Full JSON Example config¶
Please find full JSON configuration file below:
{
"Authentication": {
"app_key": "your_app_key",
"app_secret": ""
},
"StorageFolders": {
"root_path": "",
"override_path": "",
"resources": "res",
"maps": "maps",
"cache": "res/cache",
"binaries": "",
"skin": "res/skin",
"voices": "res/voices",
"sounds": "res/sound",
"travelbook": "res/travelbook",
},
"Server": {
"is_on_server": false
},
"MapReaderSettings": {
"file_handling": "Compressed",
"startup_poi_provider": "SygicPoi",
"memory_mapped_file_extension": [ ],
"startup_online_maps_enabled": false
},
"Online": {
"General": {
"network_access_enabled": true
},
"SSOSession": {
"server_url": "@AUTH_SERVER_URL@"
},
"ProductServer": {
"licence_url": "@LICENSE_SERVER_URL@",
"online_maps_link_url": "@ONLINE_MAPS_LINK_SERVER_URL@",
"connect_url": "@PRODUCT_SERVER_URL@",
"ids": {
"AllMaps": "",
"AllVoices": "manage-voices-nontts",
"MapContinents": "manage-maps"
}
},
"Routing": {
"url": "https://directions.api.sygic.com"
},
"Search": {
"url": "https://search.api.sygic.com",
"places_url": "https://search.api.sygic.com"
},
"Places": {
"url": "https://places.api.sygic.com"
},
"OfflineMapsApi": {
"url": "licensing.api.sygic.com"
}
},
"SpeedCameras": {
"url": "https://cdn-osc.sygic.com",
"check_interval": 86400
},
"Incidents": {
"url": "https://incidents.platform.sygic.com",
"update_interval": 300
},
"Routing": {
"route_compute_type": "Fastest",
"vehicle": "Car",
"service": "Automatic",
"recompute_distance": 0,
"recompute_iteration": 0,
"fuel_type": "Diesel",
"emissionCategory": "Euro5",
"vehicle_max_speed": 130,
"load_restrictions": 0,
"trailers": 0,
"trailer_axels": 0,
"vehicle_axels": 2,
"manufactureYear": 2017,
"avoid_parkways": false,
"arrive_in_direction": true,
"generate_extended_info": false,
"compute_alternatives": true,
"avoid_toll_roads": false,
"avoid_motorways": false,
"avoid_special_areas": false,
"avoid_unpaved_roads": true,
"avoid_ferries": false,
"speed_profiles": true,
"use_traffic": true,
"vehicle_restrictions": [ 10000, 5000, 0, 0, 0, 0, 10000, 0, 0, 0, 0, 0, 0, 0, 2450, 3000, 3000 ],
"turn_preference_setting": {
"turn_preference": "AdjacentRoadTurn",
"turn_penalty": 0
}
},
"Navigation": {
"WarningSettings": {
"por_categories": [ "Rest_Area", "Petrol_Station" ],
"por_max_distance": 200000,
"por_max_count": 20,
"pois_categories": [ "School", "Kindergarten" ],
"pois_max_distance": 200,
"next_direction_distance": 300,
"speed_limit_city": 10,
"speed_limit": 10,
"speed_limit_distance": 1000,
"speed_limit_distance_city": 200,
"radar_warn_distance_city": 300,
"radar_warn_distance": 1000,
"warn_rail_distance": 200,
"truck_total_weight": 0,
"truck_hazmat_load": 0,
"is_truck": false,
"truck_max_speed": 0,
"highway_exit_distance": 500,
"highway_exit_distance_urban_area": 10
},
"EvSettings": {
"charging_max_power": 100,
"battery_full_charge_threshold": 0.8,
"battery_charging_threshold": 0.2,
"battery_capacity": 70,
"connector_type": [ 1 ],
"power_type": [ 1, 2, 3, 4, 5, 6 ]
},
"ScoutSettings": {
"offline_update_interval": 600,
"online_update_interval": 300,
"minimal_saved_time": 60,
"saved_time_coefficient": 0.05
}
},
"Audio": {
"SoundSettings": {
"speedcam_flag": 6,
"speedcam_warn_sound": "elevator.ogg",
"tts_speedcam_warn_text": "",
"danger_turn_type_easy": 20.000000,
"danger_turn_type_medium": 50.000000,
"danger_turn_type_hard": 70.000000,
"danger_turn_notif_flag": 6,
"danger_turn_notif_sound": "caramel.ogg",
"tts_danger_turn_notif_text": "",
"speed_limit_flag": 0,
"speed_limit_warn_sound": "pulsar.ogg",
"tts_speed_limit_warn_text": "",
"warn_near_rail_flag": 7,
"warn_near_rail_sound": "whale.ogg",
"tts_warn_near_rail_text": "",
"traffic_notif_flag": 6,
"traffic_notif_sound": "mushrooms.ogg",
"tts_traffic_notif_text": "",
"scout_route_notif_flag": 6,
"scout_route_notif_sound": "mushrooms.ogg",
"tts_scout_route_notif_text": "",
"last_mile_notif_flag": 0,
"last_mile_notif_sound": "neutrino.ogg",
"tts_last_mile_notif_text": "",
"units": "UnitsKilometers",
"immediately_distance": 80,
"go_along_distance": 1000
}
},
"Logging": [
{
"name": "global",
"classpath": "",
"appenders": [
{
"class": "CConsoleAppender",
"format": "%levshort %datetime %msg\n",
"level": "debug",
"time": "%FT%T%z"
},
{
"class": "CScreenAppender",
"format": "%levshort: %msg\n",
"level": "warn"
},
{
"class": "CFileAppender",
"format": "%levshort %datetime %msg\n",
"time": "%FT%T%z",
"level": "debug",
"file": "global.log",
"append": false,
"flush": 100
},
{
"class": "CSocketAppender",
"format": "%msg",
"level": "trace"
},
{
"class": "TelemetryAppender",
"format": "%levshort %datetime %msg\n",
"time": "%FT%T%z",
"level": "debug",
"url": "[address-provided-on-request]",
"auto_send": true,
"log_chunk_size_kb": 256,
"lifetime_days": 14,
"lifetime_size_mb": 10,
"username": "[login-provided-on-request]",
"password": "[password-provided-on-request]"
},
{
"class": "DiagnosticsAppender",
"format": "%levshort %datetime %msg\n",
"time": "%FT%T%z",
"level": "ProcedureCall"
}
]
}
],
"Map": {
"breadcrumbs_enabled": true
}
}