Skip to content

Include Turn Restrictions? (Or some representation of them) #5

Open
@jenningsanderson

Description

@jenningsanderson

When including geometries, osm-wayback is basically a history-enabled version of minjur or osmium-export. (Trading +history for -intelligence and -speed)

That said, a simple representation of turn restrictions (only where via is a single node) could be written out as single points with specific turn_restriction tags could included (with the node_locations column family, this is not much more work). This would be helpful for understanding the change in coverage of turn-restrictions (just a proxy, not complete record) over-time, at decent geographic scales.

^The primary change is that this would require iterating over the relations Column Family and producing geometries on it's own, rather than enriching existing geometries. Once output, however, these could be tiled just like any other GeoJSON feature.

@maning, just putting this idea here to document it, a more practical approach to turn_restriction analysis (though not historically-enabled!) is likely defining a (useful) geometric representation and just using libosmium to parse the current planet file and spit out said geojson representation of turn restrictions. There are < 1M turn restrictions in the whole planet?

^A more scalable, future-looking approach to handle these (especially with history) is to define a useful "geometric representation" and incorporate into OSMesa (@mojodna is thinking about how to do this best... among many other things)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions