arcgis-osm-editor
arcgis-osm-editor copied to clipboard
Turn Restriction "NO" on edges adjacent to osm turn restrictions starting with anything but "no"
Hi,
while working with data generated by ArcGis I found the following bug:
Apparently the method CreateTurnFeature_ONLY which is called when the osm turn restriction relation starts with "only" (so, only_right_turn / only_left_turn / only_straight_on) hardcodes the turn restriction field of all adjacent edges in ArcGis to "NO" (line 261).
in /src/OSMGeoProcessing/NetworkDataset/NetworkTurns.cs
I fail to see the reasoning behind this. Isn't "only_right_turn" a combination of "no_left_turn" and "no_straight_on"?
I think it might be better to just set the tag of the original edge to whatever the osm format says and leave the adjacent edges alone.
What if there are more than three directions to go?