DeloitteOptimalReality / LightOSM.jl

A Julia package for downloading and analysing geospatial data from OpenStreetMap APIs.
https://deloitteoptimalreality.github.io/LightOSM.jl/docs
Other
48 stars 13 forks source link

Bug: oneway tag on non-oneway highways #49

Closed hs-ye closed 3 years ago

hs-ye commented 3 years ago

Been noticing some odd behaviour on certain roads that are not tagged as oneway, but when you download the data it is being treated as oneway.

Way in question: https://www.openstreetmap.org/way/51812001#map=18/-37.71841/145.08229 Does not have the 'oneway' tag

But if you pull the graph julia>g = graph_from_download(:point, point=GeoLocation([-37.71866,145.08154]), radius=1, metadata=false, save_to_file_location="test_oneway.osm", network_type=:drive_mainroads, download_format=:osm)

And check the highway tags:

julia> g.highways[51812001].tags["oneway"]
true

Checking the source .osm that's downloaded doesn't show the oneway=true either

image

Checking other ways nearby, don't have this issue https://www.openstreetmap.org/way/157211030

julia>g.highways[157211030].tags["oneway"]
false