Skip to content

Full JSON Example config

Please find full JSON configuration file below:

{
  "Authentication": {
    "app_key": "your_app_key",
    "app_secret": ""
  },
  "License": {
    "license_key": "your_license_key"
  },
  "StorageFolders": {
    "root_path": "",
    "trusted_root_path": "",
    "assets_path": ""
  },
  "MapReaderSettings": {
    "file_handling": "Compressed",
    "startup_poi_provider": "SygicPoi",
    "memory_mapped_file_extension": [ ],
    "startup_online_maps_enabled": false
  },
  "Online": {
    "General": {
      "network_access_enabled": true
    },
    "ProductServer": {
      "online_maps_link_url": "@ONLINE_MAPS_LINK_SERVER_URL@",
    },
    "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"
    },
    "SpeedCameras": {
      "url": "https://cdn-osc.sygic.com",
      "check_interval": 86400
    },
    "Incidents": {
      "url": "https://incidents.api.sygic.com",
      "update_interval": 300
    },
    "Traffic": {
      "url": "https://traffic.api.sygic.com"
    },
    "OfflineMapsApi": {
      "url": "https://licensing.api.sygic.com"
    },
    "Voices": {
      "url": "https://nonttsvoices.api.sygic.com"
    }
  },
  "Routing": {
    "route_compute_type": "Fastest",
    "vehicle": "Car",
    "service": "Automatic",
    "NAP_strategy": "ChangeWaypointTargetRoads",
    "recompute_distance": 0,
    "recompute_iteration": 0,
    "max_recompute_count": 3,
    "fuel_type": "Diesel",
    "emissionCategory": "Euro5",
    "trailers": 0,
    "trailer_axles": 0,
    "vehicle_axles": 2,
    "manufactureYear": 2017,
    "tunnel_restrictions": "Unspecified",
    "hazmats": 0,
    "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
    },
    "preferred_road": "None"
  },
  "Navigation": {
    "WarningSettings": {
      "por_categories": [ "SYRestArea", "SYPetrolStation" ],
      "por_max_distance": 200000,
      "por_max_distance_urban_area": 1000,
      "por_max_count": 20,
      "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,
      "traffic_sign_distance": 1000,
      "traffic_sign_distance_city": 300,
      "highway_exit_distance": 500,
      "highway_exit_distance_urban_area": 10,
      "is_truck": false,
      "truck_total_weight": 0,
      "truck_hazmat_load": 0,
      "truck_max_speed": 0,
      "truck_ev_category": 5, // Euro5
      "truck_fuel_type": 1, // Diesel
      "truck_production_year": 2022,
      "truck_commercial": false,
      "dimensional_properties": {
        "width": 0,
        "weight": 0,
        "axleWeight": 0,
        "height": 0,
        "length": 0,
        "tandem_weight": 0,
        "tridem_weight": 0,
        "trailer_length": 0,
        "trailers": 0,
        "axles": 0
      }
    },
    "RecomputeSettings": {
      "recompute_delay_ms": 2500
    },
    "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": "",
        "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": "",
        "truck_aid_notif_flag": 0,
        "truck_aid_notif_sound": "neutrino.ogg",
        "tts_truck_aid_notif_text": "",
        "truck_aid_general_notif_flag": 0,
        "truck_aid_general_notif_sound": "neutrino.ogg",
        "tts_truck_aid_general_notif_text": "",
        "vehicle_aid_notif_flag": 0,
        "vehicle_aid_notif_sound": "neutrino.ogg",
        "tts_vehicle_aid_notif_text": "",
        "vehicle_aid_general_notif_flag": 0,
        "vehicle_aid_general_notif_sound": "neutrino.ogg",
        "tts_vehicle_aid_general_notif_text": "",
        "vehcle_zone_notif_flag": 0,
        "vehicle_zone_notif_sound": "neutrino.ogg",
        "tts_vehicle_zone_notif_text": "",
        "vehicle_in_zone_repeat": 120,
        "traffic_sign_notif_flag": 0,
        "traffic_sign_notif_sound": "neutrino.ogg",
        "tts_traffic_sign_notif_text": "",
        "units": "UnitsKilometers",
        "immediately_distance": 80,
        "go_along_distance": 1000,
        "read_road_numbers": true,
        "read_road_names": true,
        "read_city_names": true
    }
  },
  "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": "DiagnosticsAppender",
          "format": "%levshort %datetime %msg\n",
          "time": "%FT%T%z",
          "level": "ProcedureCall"
        }
      ]
    }
  ],
  "Map": {
    "breadcrumbs_enabled": true,
    "heightmap_enabled": true,
    "normalmap_enabled": true,
    "debug" : {
      "show_vehicle_positions" : false
    }
  },
  "Position": {
    "Matching" : {
      "max_diff_distance_meters" : 8
    },
    "Interpolation" : {
      "use_only_gps_heading" : false
    }
  },
}