- Developers
- Sygic Maps SDK
- SDK Configuration
- Full Json Configuration
- Full Json Example
Full Json Example
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",
"driversbehavior": "res/driversbehavior"
},
"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
}
},
"DriversBehavior": {
"enable" : false,
"AnalyzerSettings": {
"acceleration_speed_delta": 13,
"deceleration_speed_delta": 13,
"continuous_time_duration": 2,
"min_location_accuracy": 12,
"min_curving_distance": 3,
"max_curving_distance": 100
},
"SplitterSettings": {
"trip_auto_end": false,
"trip_auto_start": false,
"trip_map_match": false,
"trip_end_check_duration": 300,
"trip_start_check_duration": 5,
"min_car_speed": 15,
"max_walk_speed": 7,
"new_trip_distance": 1000,
"new_trip_duration": 600
},
"ScoringSettings": {
"distance_unit": 5000,
"model_type": "Simple",
"acceleration_penalty": 0.03,
"deceleration_penalty": 0.03,
"curving_penalty": 0.03,
"speeding_penalty": 0.01,
"distraction_penalty": 0.05,
"peak_driving_penalty": 0.04,
"urban_driving_penalty": 0.04,
"acceleration_severity_medium": 1.1,
"deceleration_severity_medium": 1.1,
"curving_severity_medium": 1.1,
"speeding_severity_medium": 1.1,
"acceleration_severity_high": 1.3,
"deceleration_severity_high": 1.3,
"curving_severity_high": 1.3,
"speeding_severity_high": 1.3
}
},
"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"
}
]
}
]
}
- Next article: Json Schema