abstreet/tests/input/multiple_left_turn_lanes.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

53 lines
1.7 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!-- Resembles https://www.openstreetmap.org/node/53187904 with multiple left turn lanes. -->
<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="3"/>
<tag k="oneway" v="yes"/>
</way>
<way id="101">
<nd ref="3"/>
<nd ref="1"/>
<tag k="name" v="north"/>
<tag k="highway" v="primary"/>
<tag k="sidewalk" v="both"/>
<tag k="lanes" v="3"/>
<tag k="oneway" v="yes"/>
<tag k="turn:lanes" v="left|left;through|none"/>
</way>
<way id="102">
<nd ref="4"/>
<nd ref="1"/>
<tag k="name" v="west"/>
<tag k="highway" v="residential"/>
<tag k="sidewalk" v="both"/>
<tag k="lanes" v="4"/>
<tag k="oneway" v="yes"/>
<tag k="turn:lanes" v="|||right"/>
</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="3"/>
<tag k="oneway" v="yes"/>
</way>
</osm>