Giter Site home page Giter Site logo

Comments (2)

BudgieInWA avatar BudgieInWA commented on June 2, 2024 1

I had a thought about how to understand the busway tag in the absence of proper lane count tags. I am fairly confident that we should be trying to understand lanes:* (the lane count for different types) and *:lanes (access restrictions, specified per lane) first, and laying busway tags on top of that. The first two schemes are precicely defined with clear defaults, whereas the busway scheme only tells us about the presence of a busway on one or both sides, and leaves a lot of details unspecified.

Anyway, the idea: When the lane counts are not tagged, instead of guessing lanes=2, we actually want to guess lanes:car=2 (not a real tag, but counts the number of "normal" lanes). We normally guess lanes:bus=0, unless we see a busway tag which implies lanes:bus=2 (or 1 or whatever). Then, if we don't have a lanes tag, we get guess the total lanes to be lanes:bus plus lanes:car. If we have lanes and busway then we guess lanes:car to be lanes - lanes:bus. The guessed lanes:car value - as distinct from lanes - is a way to distinguish between the cases where we need to add lanes for a busway, vs convert existing lanes to bus lanes.

from osm2lanes.

dabreegster avatar dabreegster commented on June 2, 2024

https://www.openstreetmap.org/way/39597033 uses multiple schemes

from osm2lanes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.