abstreet/tests/input/left_turn_and_bike_lane.osm
Dustin Carlino a3bcf5181c Make the map editor be able to produce synthetic .osm, and use it to
create a map exemplifying the lane-changing problems of #382.
2020-11-11 10:44:45 -08:00

51 lines
1.6 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!-- Resembles https://www.openstreetmap.org/node/53086620: there's a left turn lane and a bike lane. -->
<osm>
<bounds minlon="0.0" maxlon="0.001" minlat="0.0" maxlat="0.001"/>
<node id="1" lon="0.0005" lat="0.0005"/>
<node id="2" lon="0.0005" lat="-1.0"/>
<node id="3" lon="0.0005" lat="1.0"/>
<node id="4" lon="-0.1" lat="0.0005"/>
<node id="5" lon="1.0" lat="0.0005"/>
<way id="100">
<nd ref="1"/>
<nd ref="2"/>
<tag k="name" v="south"/>
<tag k="highway" v="primary"/>
<tag k="sidewalk" v="both"/>
<tag k="lanes" v="4"/>
</way>
<way id="101">
<nd ref="1"/>
<nd ref="3"/>
<tag k="name" v="north"/>
<tag k="highway" v="primary"/>
<tag k="sidewalk" v="both"/>
<tag k="lanes" v="5"/>
<tag k="lanes:forward" v="2"/>
<tag k="lanes:backward" v="3"/>
<tag k="turn:lanes:backward" v="left||"/>
</way>
<way id="102">
<nd ref="1"/>
<nd ref="4"/>
<tag k="name" v="west"/>
<tag k="highway" v="residential"/>
<tag k="sidewalk" v="both"/>
<tag k="lanes" v="2"/>
</way>
<way id="103">
<nd ref="1"/>
<nd ref="5"/>
<tag k="name" v="east"/>
<tag k="highway" v="residential"/>
<tag k="sidewalk" v="both"/>
<tag k="lanes" v="2"/>
<tag k="cycleway" v="lane"/>
</way>
</osm>