westnordost / osm-legal-default-speeds

Infer default legal speed limits from OpenStreetMap tags
https://westnordost.github.io/osm-legal-default-speeds
BSD 3-Clause "New" or "Revised" License
21 stars 9 forks source link

option to avoid expensive limitSpeedsTo #9

Closed karussell closed 1 year ago

karussell commented 1 year ago

Related to #7.

I think our use case allows us to skip the currently expensive method limitSpeedsTo (in terms of speed or memory usage).

When we set this option to false the method is skipped and we have to limit all other speed tags except maxspeed to the maxspeed value.