Graphopper not able to find route

Only 2/6 are routed. If analyzing input data then 5-6 points should be routed. Can not find any reason why this happens.

{
      "vehicles": [
        {
          "vehicle_id": "3006544",
          "start_address": {
            "location_id": "689108",
            "lon": 17.939141,
            "lat": 59.287115
          },
          "type_id": "646",
          "end_address": {
            "location_id": "689108",
            "lon": 17.939141,
            "lat": 59.287115
          },
          "break": {
            "earliest": 1581332400,
            "latest": 1581336000,
            "duration": 3600
          },
          "earliest_start": 1581314400,
          "latest_end": 1581354000,
          "max_distance": 500000
        }
      ],
      "vehicle_types": [
        {
          "type_id": "646",
          "profile": "small_truck",
          "capacity": [
            100
          ],
          "speed_factor": 1
        }
      ],
      "services": [
        {
          "id": "6602504",
          "address": {
            "location_id": "location6602504",
            "lon": 18.067169,
            "lat": 59.339425
          },
          "duration": 1800,
          "time_windows": [
            {
              "earliest": 1581318000,
              "latest": 1581344100
            }
          ]
        },
        {
          "id": "6602434",
          "address": {
            "location_id": "location6602434",
            "lon": 18.0733773,
            "lat": 59.3360561
          },
          "duration": 2400,
          "time_windows": [
            {
              "earliest": 1581318000,
              "latest": 1581344100
            }
          ]
        },
        {
          "id": "1581325200_6451387",
          "address": {
            "location_id": "location",
            "lon": 18.0537486,
            "lat": 59.3176578
          },
          "duration": 300,
          "time_windows": [
            {
              "earliest": 1579510800,
              "latest": 1579529700
            }
          ]
        },
        {
          "id": "1581325200_6453090",
          "address": {
            "location_id": "location",
            "lon": 18.0717807,
            "lat": 59.3249525
          },
          "duration": 3000,
          "time_windows": [
            {
              "earliest": 1579500000,
              "latest": 1579505400
            }
          ]
        },
        {
          "id": "1581330660_6452801",
          "address": {
            "location_id": "location",
            "lon": 18.1744599,
            "lat": 59.3564045
          },
          "duration": 3000,
          "time_windows": [
            {
              "earliest": 1579500000,
              "latest": 1579507200
            }
          ]
        },
        {
          "id": "1581319980_6608713",
          "address": {
            "location_id": "location",
            "lon": 18.0087454,
            "lat": 59.4741498
          },
          "duration": 3000,
          "time_windows": [
            {
              "earliest": 1579505400,
              "latest": 1579514400
            }
          ]
        }
      ],
      "objectives": [
        {
          "type": "min",
          "value": "completion_time"
        }
      ],
      "configuration": {
        "routing": {
          "calc_points": true,
          "fail_fast": true
        }
      }
    }

The restriction for the vehicle is likely too tight. If you remove or increase the time window:

      "earliest_start": 1581314400,
      "latest_end": 1581354000,

it will work.

Powered by Discourse