Set latest end for a service (time you have to "leave")

I Have a question regarding the time_windows for a service.

According to the docs adding a time window will set ‘the earliest time the service can start’ and ‘the latests time the service can start’.

The problem is, there are some services I need to visit and begone BEFORE a certain time.

Is it possible to define a ‘latest end’ time window?

An example service I use is:

    "services": [
            "id": "task-abc123",
            "address": {
                "location_id": "abc123",
                "lat": 51.444812,
                "lon": 5.448819
            "type": "service",
            "priority": 1,
            "preparation_time": 0,
            "duration": 1800,
            "time_windows": [
                    "earliest": 1626946500,
                    "latest": 1626951600

In this example the earliest time you can aravie is 2021-06-22T11:35:00+0200
the latest is 2021-06-22T13:00:00+0200
The duration is 30 minutes

It is possible for graphhopper to return that the time this service will be visited is 12:55. Is it possible to define an end date, without changing the time window?

Powered by Discourse