-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd"> | ||
<busStop endPos="40" id="busstop1" lane="middle_0" lines="100 101 102" startPos="20"/> | ||
</additional> |
Empty file.
6 changes: 6 additions & 0 deletions
6
tests/tools/route/cut_routes/routeRef/input_additional.add.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd"> | ||
<route id="r0" edges="beg middle end rend"/> | ||
|
||
<busStop id="busstop0" lane="beg_0" startPos="20" endPos="40" lines="100 101 102"/> | ||
<busStop id="busstop1" lane="middle_0" startPos="20" endPos="40" lines="100 101 102"/> | ||
</additional> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- generated on Thu 28 Mar 2013 08:20:56 AM CET by Netedit Version dev-SVN-r13533 | ||
This data file and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v2.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/legal/epl-v20.html | ||
SPDX-License-Identifier: EPL-2.0 | ||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netedit.exeConfiguration.xsd"> | ||
<input> | ||
<sumo-net-file value="/scr1/erdm_ja/debug/cutRoutes/three_split.net.xml"/> | ||
</input> | ||
<output> | ||
<output-file value="/scr1/erdm_ja/debug/cutRoutes/input_net.net.xml"/> | ||
</output> | ||
<processing> | ||
<no-internal-links value="true"/> | ||
<no-turnarounds value="true"/> | ||
<offset.disable-normalization value="true"/> | ||
</processing> | ||
</configuration> | ||
--> | ||
|
||
<net version="0.13" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd"> | ||
|
||
<location netOffset="0.00,500.00" convBoundary="0.00,0.00,2500.00,1000.00" origBoundary="0.00,-500.00,2500.00,500.00" projParameter="!"/> | ||
|
||
<edge id="beg2left" from="beg" to="begleft" priority="-1"> | ||
<lane id="beg2left_0" index="0" speed="13.90" length="498.55" shape="501.65,501.45 501.65,1000.00"/> | ||
</edge> | ||
<edge id="end" from="end" to="absEnd" priority="-1"> | ||
<lane id="end_0" index="0" speed="27.80" length="498.55" shape="1501.45,498.35 2000.00,498.35"/> | ||
</edge> | ||
<edge id="left2end" from="endleft" to="end" priority="-1"> | ||
<lane id="left2end_0" index="0" speed="13.90" length="498.55" shape="1498.35,1000.00 1498.35,501.45"/> | ||
</edge> | ||
<edge id="middle" from="beg" to="end" priority="-1"> | ||
<lane id="middle_0" index="0" speed="27.80" length="990.50" shape="504.75,498.35 1495.25,498.35"/> | ||
</edge> | ||
|
||
<junction id="absEnd" type="unregulated" x="2000.00" y="500.00" incLanes="end_0" intLanes="" shape="2000.00,496.75 2000.00,499.95"/> | ||
<junction id="beg" type="unregulated" x="500.00" y="500.00" incLanes="" intLanes="" shape="500.05,501.45 503.25,501.45 504.75,499.95 504.75,496.75"/> | ||
<junction id="begleft" type="unregulated" x="500.00" y="1000.00" incLanes="beg2left_0" intLanes="" shape="503.25,1000.00 500.05,1000.00"/> | ||
<junction id="end" type="priority" x="1500.00" y="500.00" incLanes="left2end_0 middle_0" intLanes="" shape="1496.75,501.45 1499.95,501.45 1501.45,499.95 1501.45,496.75 1495.25,496.75 1495.25,499.95"> | ||
<request index="0" response="10" foes="10"/> | ||
<request index="1" response="00" foes="01"/> | ||
</junction> | ||
<junction id="endleft" type="unregulated" x="1500.00" y="1000.00" incLanes="" intLanes="" shape="1499.95,1000.00 1496.75,1000.00"/> | ||
|
||
<connection from="left2end" to="end" fromLane="0" toLane="0" dir="l" state="m"/> | ||
<connection from="middle" to="end" fromLane="0" toLane="0" dir="s" state="M"/> | ||
|
||
</net> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<routes> | ||
<vehicle id="v1" depart="10" route="r0"> | ||
<stop busStop="busstop0" duration="10"/> | ||
<stop busStop="busstop1" duration="10"/> | ||
</vehicle> | ||
|
||
<vehicle id="v2" depart="20" route="r0"/> | ||
</routes> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
input_net.net.xml input_routes.rou.xml -a input_additional.add.xml --routes-output out.rou.xml --stops-output out.add.xml tools/route/cutRoutes.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Valid area contains 4 edges | ||
Parsing routes from input_routes.rou.xml | ||
Could not reconstruct new departure time for vehicle 'v1'. Using old departure time. | ||
Parsed 2 vehicles and kept 1 routes | ||
Number of disconnected routes: 0. Most frequent missing edges: | ||
Wrote 2 routes | ||
Wrote 1 standalone routes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- generated with cutRoutes.py for input_net.net.xml from ['input_routes.rou.xml'] --> | ||
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> | ||
<route edges="middle end" id="r0"/> | ||
<vehicle depart="10.00" id="v1" route="r0"> | ||
<stop busStop="busstop1" duration="10"/> | ||
</vehicle> | ||
<vehicle depart="20.00" id="v2" route="r0"/> | ||
</routes> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,6 @@ with_unknown_busstops | |
|
||
# remove unknown access from bus stops | ||
with_access | ||
|
||
# using standalone routes | ||
routeRef |