this post was submitted on 28 Sep 2024
6 points (100.0% liked)

Bloomington Indiana

3 readers
2 users here now

Bloomington Indiana Lemmy! Come stay for the fun, or snark at students, or yell at clouds!

founded 1 year ago
MODERATORS
 

I just added some max_speed= tags for #OpenStreetMap in Bloomington, Indiana.

Our city code has a default speed limit 25 mph. Exceptions are published in a table in the city code.

It seems possible that adding the correct lower-than-default speed limits from city code to OpenStreetMap could reduce the likelihood that routing algorithms would route car traffic there, which could in turn keep the street safer for other road users.

Ref: https://library.municode.com/in/bloomington/codes/code_of_ordinances?nodeId=TIT15VETR_CH15.24SPRE

@bloomington_in

top 23 comments
sorted by: hot top controversial new old
[–] superkret@feddit.org 2 points 1 month ago (1 children)

Please don't litter OpenStreetMap with false data to manipulate routing.

[–] markstos@urbanists.social 1 points 1 month ago (1 children)
[–] superkret@feddit.org 1 points 1 month ago (1 children)
[–] markstos@urbanists.social 1 points 1 month ago

@superkret I filled in some missing values based on correct values found in city code.

[–] DemonHusky@better.boston 1 points 1 month ago (1 children)

@markstos @bloomington_in on the other side, bike routing likely gets better too

[–] pleaseclap@urbanists.social 0 points 1 month ago (1 children)

@DemonHusky @markstos @bloomington_in Bike routes will get more direct, but "better" may not be applicable, since the more direct routes also encourage drivers to speed

That said cities tend to add bike lanes only after people get annoyed with bike traffic, so maybe down the road it might add some lane miles

[–] markstos@urbanists.social 1 points 1 month ago (2 children)

@pleaseclap @DemonHusky @bloomington_in I can’t see how any routes will become more direct for anyone, because no new more direct paths are being added.

Tagging a slow speed limit is a signal that cars may want to take a less direct route on streets with faster speed limits, while tagging a high speed limit is a signal for bike routing that cyclists may be less safe and may themselves prefer a less direct but safer route.

[–] DemonHusky@better.boston 1 points 1 month ago

@markstos @pleaseclap @bloomington_in without knowing the local area, I was thinking not that there might be basically parallel routes with different speed limits, and car routing would choose the higher limit option, while bike routing chooses the lower limit option. But with the assumption that the limits reflect something else about the road condition and how comfortable biking is, the routing algorithm now has a better signal to choose the better route

[–] pleaseclap@urbanists.social 1 points 1 month ago (2 children)

@markstos @DemonHusky @bloomington_in

What DemonHusky said:

A map app suggesting a route for a bike will try to minimize time via the slowest streets. For a car, it will try to minimize time via the fastest streets (which are usually more direct in terms of distance)

So if the algorithm suggesting a route thinks all streets are the same speed, bikes and cars will be suggested the same low-distance routes, which will usually be routes featuring excessive speeding by drivers

[–] markstos@urbanists.social 1 points 1 month ago (1 children)

@pleaseclap @DemonHusky @bloomington_in In the absence of a speed limit signal, the algorithms look for other signals, like the type of road. Cars are routed to arterials over residential streets even they are a bit longer, while bike routing would prefer residential streets.

The Pointz bike routing app is nice because it puts you in control with more options.

[–] pleaseclap@urbanists.social 1 points 1 month ago (1 children)

@markstos @DemonHusky @bloomington_in I haven't seen a routing algorithm's code, but a preference for arterial roads can be explained solely by speed limits

[–] markstos@urbanists.social 1 points 1 month ago (1 children)

@pleaseclap @DemonHusky @bloomington_in I’ve looked at the code. My servers have bike routing coverage for most of the US and EU with the OpenTripPlanner and Valhalla engines. Occasionally we find edge cases that don’t route optimally and look into patches.

Lots of roads don’t have max speeds in OpenStreetMap which they both use, so other signals are essential.

[–] pleaseclap@urbanists.social 1 points 1 month ago (1 children)

@markstos @DemonHusky @bloomington_in

You've seen your specialty bike routing algorithms. I'm glad they're good algorithms, however

your first post is about misrepresenting speed limits in OpenStreetMap (which is a community resource, yes?) to effect driver behavior, and what systemic effects this would have for every user of every tool that uses OpenStreetMap

Even if you don't think this will lead to congestion on the same roads, I'm not sure it's ethical

[–] markstos@urbanists.social 1 points 1 month ago (1 children)

@pleaseclap @DemonHusky @bloomington_in Misrepresentating? I found streets where the max_speed value was missing and added the correct values based on city code.

[–] pleaseclap@urbanists.social 1 points 1 month ago (1 children)

@markstos @DemonHusky @bloomington_in

Is that not your suggestion, here?

"It seems possible that adding lower-than-default speed limits to OpenStreetMap could reduce the likelihood that routing algorithms would route car traffic there, which could in turn keep the street safer for other road users."

[–] markstos@urbanists.social 1 points 1 month ago (1 children)

@pleaseclap @DemonHusky @bloomington_in In context, the rest of the post says that exceptions are published in city code and provides an example link to the table in our code.

I’m suggesting to use real speed limits from city code. Sorry if that wasn’t clear.

[–] pleaseclap@urbanists.social 1 points 1 month ago (1 children)

@markstos @DemonHusky @bloomington_in So the situation is, lots of low-speed streets are currently assigned a higher speed by default in OSS, and fixing that is a helpful service?

That's my bad: sorry for being a deviant who assumes the worst

[–] markstos@urbanists.social 1 points 1 month ago (1 children)

@pleaseclap @DemonHusky @bloomington_in Yes. Many routing services, including Google Maps, use OpenStreetMap data to some degree. The more accurate the data is, in general the better the algorithms can work.

If you know of times where you think you haven’t been given the best bike directions, the issue might be solved by updating something in OpenStreetMap. Which like Wikipedia, anyone can edit and it’s not to hard to get started.

[–] DemonHusky@better.boston 1 points 1 month ago (1 children)

@markstos @pleaseclap @bloomington_in last year a group of us we confused why Cambridge was so poorly rated on the People For Bikes city ratings and realized that the city changed most street's speed limits. After going through and fixing them in OSM, this year Cambridge jumped up significantly to be rated much closer to what I'd expect.

[–] markstos@urbanists.social 1 points 1 month ago (1 children)

@DemonHusky @pleaseclap @bloomington_in Ah, so the correct speed limit needed to be lowered in OSM?

[–] DemonHusky@better.boston 1 points 1 month ago

@markstos @pleaseclap @bloomington_in yeah, I think when the state database was imported many years ago it included the at the time correct speed limits for streets, though most of them were unsigned. Then a couple of years ago the city reduced most streets with signs to be safer, but no one got around to fixing OSM.

[–] pleaseclap@urbanists.social 1 points 1 month ago* (last edited 1 month ago) (1 children)

@markstos @DemonHusky @bloomington_in

Besides speed, there's probably also an "is there a bike lane" check, which would mitigate the problem a bit in places where the main roads mostly also have bike lanes

[–] markstos@urbanists.social 1 points 1 month ago

@pleaseclap @DemonHusky @bloomington_in That’s right. Many signals are involved. Some factor in cyclist aversion to hills for example.