Services unreachable by scooter only

Hello,

We’re seeing an issue where a car is able to navigate between services but using scooter or scooter_delivery as the vehicle type forces the stops to be unassigned. Here is the request:

{
	"configuration": {
		"routing": {
			"calc_points": true,
			"consider_traffic": false,
			"fail_fast": true,
			"network_data_provider": "openstreetmap",
			"return_snapped_waypoints": true,
			"snap_preventions": [
				"motorway",
				"tunnel",
				"ferry"
			]
		}
	},
	"objectives": [
		{
			"type": "min",
			"value": "completion_time"
		}
	],
	"relations": [],
	"services": [
		{
			"address": {
				"curbside": "any",
				"lat": -22.84657,
				"location_id": "a5g3fFAjB05AfSCxOi9T",
				"lon": -43.24207,
				"name": "Avenida Dom Hélder Câmara",
				"street_hint": "Avenida Dom Hélder Câmara"
			},
			"duration": 30,
			"group": "medium",
			"id": "a5g3fFAjB05AfSCxOi9T",
			"name": "Avenida Dom Hélder Câmara",
			"time_windows": []
		}
	],
	"shipments": [],
	"vehicle_types": [
		{
			"profile": "scooter_delivery",
			"service_time_factor": 1,
			"speed_factor": 1,
			"type_id": "vhc_as4lajJon8e0UR9xR6TgawHayKP2"
		}
	],
	"vehicles": [
		{
			"earliest_start": 1650878370,
			"return_to_depot": true,
			"start_address": {
				"curbside": "any",
				"lat": -22.84525,
				"location_id": "PyxYzHIEGliujcYnxmUn",
				"lon":-43.24011,
				"name": "Rua Praia do Parque Royal",
				"street_hint": "Rua Praia do Parque Royal"
			},
			"type_id": "vhc_as4lajJon8e0UR9xR6TgawHayKP2",
			"vehicle_id": "as4lajJon8e0UR9xR6TgawHayKP2"
		}
	]
}

It seems to be related to a specific bridge, but I’m unable to find any restrictions on it in OSM


that would exclude scooters from travelling on it.

The problem could be that we currently limit the speed of scooters to 50km/h and so the scooter is not allowed to travel on highway=motorway as it implies a minimum speed of 60km/h in many countries to my knowledge. And the bridge is only reachable through road segments tagged with highway=motorway in the one direction: Way: ‪Linha Vermelha‬ (‪25518282‬) | OpenStreetMap

(the other direction seems to be fine)

Do you know the required speed for this country for motorways?

Ah I think that might be it, thanks!

Looking at Traffic rules Brazil – Driving license online it looks like the minimum is 70km/h in Brazil. I thought the issue was the bridge itself as I was able to navigate to other services along that path, but from points.coordinates it looks like it navigates around it

Powered by Discourse