Skip to content

Determine speed limit for route  #5286

Closed as not planned
Closed as not planned
@parsispresswala

Description

@parsispresswala

Hello guys,

I'm trying to find a way to obtain all the speed limits in km/h unit for a specific route using openstreetmap. Right now I am using annotation=speed but I don't understand the result.
My API of routing is something like this:
http://127.0.0.1:5000/route/v1/driving/72.860856,19.198877;72.860084,19.195128?steps=true&alternatives=false&geometries=geojson&annotations=speed

weight: 102,
distance: 1278.3,
annotation: {
speed: [
14.3,
14.4,
14.4,
14.3,
14.4,
14.1,
14.6,
14.5,
11.2,
11.1,
11,
11.2,
15.6,
11,
11.1,
11.1,
10.8,
11.3,
14.8,
15.6,
14.9,
14.1,
14.5,
14.4
]
},
summary: "Western Express Highway, Datta Mandir Road",
duration: 102
}

Anyone develop something similar, or does anything like this already exist?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions