mirror of
https://github.com/Ahp06/SUMO_Emissions.git
synced 2024-11-21 19:16:30 +00:00
Add template files
This commit is contained in:
parent
5affe4eb3c
commit
535824ebd9
53
sumo-configurator/static/simul.netcfg
Normal file
53
sumo-configurator/static/simul.netcfg
Normal file
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd">
|
||||
|
||||
<input>
|
||||
<type-files value="typemap/osmNetconvert.typ.xml,typemap/osmNetconvertUrbanDe.typ.xml,typemap/osmNetconvertPedestrians.typ.xml,typemap/osmNetconvertBicycle.typ.xml,typemap/osmBidiRailNetconvert.typ.xml" />
|
||||
<osm-files value="simul.raw.osm" />
|
||||
</input>
|
||||
|
||||
<output>
|
||||
<output-prefix value="simul." />
|
||||
<output-file value="net.xml"/>
|
||||
</output>
|
||||
|
||||
<tls_building>
|
||||
<tls.join value="true"/>
|
||||
<tls.guess-signals value="true"/>
|
||||
<tls.default-type value="actuated"/>
|
||||
<tls.min-dur value="5"/>
|
||||
<tls.max-dur value="30"/>
|
||||
</tls_building>
|
||||
|
||||
<ramp_guessing>
|
||||
<ramps.guess value="true"/>
|
||||
</ramp_guessing>
|
||||
|
||||
<processing>
|
||||
<geometry.remove value="true"/>
|
||||
<roundabouts.guess value="true"/>
|
||||
<junctions.join value="true"/>
|
||||
<junctions.limit-turn-speed value="1"/>
|
||||
<crossings.guess value="true"/>
|
||||
<walkingareas value="false"/>
|
||||
<osm.elevation value="true"/>
|
||||
<no-turnarounds value="false"/>
|
||||
<no-turnarounds.tls value="true"/>
|
||||
<no-turnarounds.except-deadend value="true"/>
|
||||
<no-internal-links value="false"/>
|
||||
<ignore-errors value="false"/>
|
||||
<ignore-errors.connections value="false"/>
|
||||
<show-errors.connections-first-try value="true"/>
|
||||
</processing>
|
||||
|
||||
<building_defaults>
|
||||
<default.crossing-width value="2.0"/>
|
||||
</building_defaults>
|
||||
|
||||
<report>
|
||||
<verbose value="true"/>
|
||||
<log value="netconvert.log"/>
|
||||
</report>
|
||||
|
||||
</configuration>
|
44
sumo-configurator/static/simul.polycfg
Normal file
44
sumo-configurator/static/simul.polycfg
Normal file
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Monaco SUMO Traffic (MoST) Scenario
|
||||
Copyright (C) 2018
|
||||
Lara CODECA
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed static the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/polyconvertConfiguration.xsd">
|
||||
|
||||
<input>
|
||||
<net-file value="simul.net.xml"/>
|
||||
<osm-files value="simul.raw.osm"/>
|
||||
<osm.keep-full-type value="true"/>
|
||||
<type-file value="typemap/osmPolyconvert.typ.xml"/>
|
||||
</input>
|
||||
|
||||
<output>
|
||||
<output-file value="simul.poly.xml"/>
|
||||
</output>
|
||||
|
||||
<processing>
|
||||
<ignore-errors value="true"/>
|
||||
</processing>
|
||||
|
||||
<report>
|
||||
<verbose value="true"/>
|
||||
<log value="polyconvert.log"/>
|
||||
</report>
|
||||
|
||||
</configuration>
|
49966
sumo-configurator/static/simul.raw.osm
Normal file
49966
sumo-configurator/static/simul.raw.osm
Normal file
File diff suppressed because it is too large
Load Diff
30
sumo-configurator/static/simul.sumocfg
Normal file
30
sumo-configurator/static/simul.sumocfg
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
|
||||
|
||||
<input>
|
||||
<net-file value="simul.net.xml"/>
|
||||
<route-files value="simul.rou.xml"/>
|
||||
<additional-files value="simul.poly.xml"/>
|
||||
</input>
|
||||
|
||||
<processing>
|
||||
<lateral-resolution value="0.3"/>
|
||||
<ignore-junction-blocker value="60"/>
|
||||
<collision.action value="teleport"/>
|
||||
<time-to-teleport value="180"/>
|
||||
<max-depart-delay value="900"/>
|
||||
<time-to-impatience value="30"/>
|
||||
</processing>
|
||||
|
||||
<report>
|
||||
<verbose value="true" synonymes="v"/>
|
||||
<log value="sim.log" synonymes="l log-file"/>
|
||||
<duration-log.statistics value="true"/>
|
||||
</report>
|
||||
|
||||
<random_number>
|
||||
<seed value="42"/>
|
||||
</random_number>
|
||||
|
||||
</configuration>
|
@ -0,0 +1,7 @@
|
||||
<types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/types_file.xsd">
|
||||
<type id="railway.rail" oneway="false"/>
|
||||
<type id="railway.tram" oneway="false"/>
|
||||
<type id="railway.light_rail" oneway="false"/>
|
||||
<type id="railway.subway" oneway="false"/>
|
||||
<type id="railway.preserved" oneway="false"/>
|
||||
</types>
|
52
sumo-configurator/static/typemap/osmNetconvert.typ.xml
Normal file
52
sumo-configurator/static/typemap/osmNetconvert.typ.xml
Normal file
@ -0,0 +1,52 @@
|
||||
<types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/types_file.xsd">
|
||||
<type id="highway.motorway" numLanes="3" speed="44.44" priority="13" oneway="true" disallow="pedestrian bicycle moped rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.motorway_bridge" numLanes="3" speed="44.44" priority="13" oneway="true" disallow="pedestrian bicycle moped rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.motorway_tunnel" numLanes="3" speed="44.44" priority="13" oneway="true" disallow="pedestrian bicycle moped rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.motorway_link" numLanes="1" speed="22.22" priority="12" oneway="true" disallow="pedestrian bicycle moped rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.trunk" numLanes="2" speed="27.78" priority="11" oneway="false" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.trunk_bridge" numLanes="2" speed="27.78" priority="11" oneway="false" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.trunk_tunnel" numLanes="2" speed="27.78" priority="11" oneway="false" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.trunk_link" numLanes="1" speed="22.22" priority="10" oneway="false" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.primary" numLanes="2" speed="27.78" priority="9" oneway="false" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.primary_bridge" numLanes="2" speed="27.78" priority="9" oneway="false" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.primary_tunnel" numLanes="2" speed="27.78" priority="9" oneway="false" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.primary_link" numLanes="1" speed="22.22" priority="8" oneway="false" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.secondary" numLanes="2" speed="27.78" priority="7" oneway="false" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.secondary_bridge" numLanes="2" speed="27.78" priority="7" oneway="false" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.secondary_tunnel" numLanes="2" speed="27.78" priority="7" oneway="false" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.secondary_link" numLanes="1" speed="22.22" priority="6" oneway="false" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.tertiary" numLanes="1" speed="22.22" priority="6" oneway="false" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.tertiary_bridge" numLanes="1" speed="22.22" priority="6" oneway="false" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.tertiary_tunnel" numLanes="1" speed="22.22" priority="6" oneway="false" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.tertiary_link" numLanes="1" speed="22.22" priority="5" oneway="false" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.unclassified" numLanes="1" speed="13.89" priority="5" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.residential" numLanes="1" speed="13.89" priority="4" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.residential_bridge" numLanes="1" speed="13.89" priority="4" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.residential_tunnel" numLanes="1" speed="13.89" priority="4" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.living_street" numLanes="1" speed="2.78" priority="3" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.track" numLanes="1" speed="5.56" priority="1" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.unsurfaced" numLanes="1" speed="8.33" priority="1" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.services" numLanes="1" speed="8.33" priority="1" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.service" numLanes="1" speed="5.56" priority="1" oneway="false" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
|
||||
<!-- everything which serves mainly pedestrians is oneway because all current pedestrian models do not care about direction -->
|
||||
<type id="highway.footway" numLanes="1" speed="2.78" priority="1" oneway="true" width="2" allow="pedestrian"/>
|
||||
<type id="highway.pedestrian" numLanes="1" speed="2.78" priority="1" oneway="true" width="2" allow="pedestrian bicycle"/>
|
||||
<type id="highway.path" numLanes="1" speed="2.78" priority="1" oneway="true" width="2" allow="pedestrian bicycle"/>
|
||||
<type id="highway.bridleway" numLanes="1" speed="2.78" priority="1" oneway="true" width="2" allow="pedestrian bicycle"/>
|
||||
<type id="highway.cycleway" numLanes="1" speed="5.56" priority="1" oneway="false" width="2" allow="bicycle"/>
|
||||
<type id="highway.step" numLanes="1" speed="1.39" priority="1" oneway="true" width="2" allow="pedestrian"/>
|
||||
<type id="highway.steps" numLanes="1" speed="1.39" priority="1" oneway="true" width="2" allow="pedestrian"/>
|
||||
<type id="highway.stairs" numLanes="1" speed="1.39" priority="1" oneway="true" width="2" allow="pedestrian"/>
|
||||
|
||||
<type id="highway.bus_guideway" numLanes="1" speed="8.33" priority="1" oneway="true" allow="bus"/>
|
||||
<type id="highway.raceway" numLanes="2" speed="83.33" priority="14" oneway="false" allow="vip"/>
|
||||
<type id="highway.ford" numLanes="1" speed="2.78" priority="1" oneway="false" allow="army"/>
|
||||
|
||||
<type id="railway.rail" numLanes="1" speed="83.33" priority="15" oneway="true" allow="rail rail_electric"/>
|
||||
<type id="railway.tram" numLanes="1" speed="13.89" priority="15" oneway="true" allow="tram"/>
|
||||
<type id="railway.light_rail" numLanes="1" speed="27.78" priority="15" oneway="true" allow="rail_urban"/>
|
||||
<type id="railway.subway" numLanes="1" speed="27.78" priority="15" oneway="true" allow="rail_urban"/>
|
||||
<type id="railway.preserved" numLanes="1" speed="27.78" priority="15" oneway="true" allow="rail"/>
|
||||
|
||||
</types>
|
@ -0,0 +1,6 @@
|
||||
<types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/types_file.xsd">
|
||||
<type id="cycleway.lane" bikeLaneWidth="1.0" allow="bicycle"/>
|
||||
<type id="cycleway.opposite_lane" bikeLaneWidth="1.0" allow="bicycle"/>
|
||||
<type id="cycleway.track" bikeLaneWidth="1.5" allow="bicycle"/>
|
||||
<type id="cycleway.opposite_track" bikeLaneWidth="1.5" allow="bicycle"/>
|
||||
</types>
|
@ -0,0 +1,18 @@
|
||||
<types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/types_file.xsd">
|
||||
<type id="highway.primary" sidewalkWidth="2" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.primary_link" sidewalkWidth="2" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.primary_bridge" sidewalkWidth="2" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.primary_tunnel" disallow="pedestrian bicycle rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.secondary" sidewalkWidth="1.5" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.secondary_link" sidewalkWidth="1.5" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.secondary_bridge" sidewalkWidth="1.5" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.secondary_tunnel" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.tertiary" sidewalkWidth="1.5" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.tertiary_link" sidewalkWidth="1.5" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.tertiary_bridge" sidewalkWidth="1.5" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.tertiary_tunnel" disallow="pedestrian rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.unclassified" sidewalkWidth="1.5" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.residential" sidewalkWidth="1.5" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.residential_bridge" sidewalkWidth="1.5" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
<type id="highway.residential_tunnel" sidewalkWidth="1.5" disallow="rail rail_urban rail_electric tram ship"/>
|
||||
</types>
|
@ -0,0 +1,5 @@
|
||||
<types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/types_file.xsd">
|
||||
<type id="waterway.river" width="7" numLanes="1" speed="10" priority="13" oneway="false" allow="ship"/>
|
||||
<type id="waterway.canal" width="5" numLanes="1" speed="10" priority="13" oneway="false" allow="ship"/>
|
||||
<type id="route.ferry" width="5" numLanes="1" speed="10" priority="13" oneway="false" allow="ship"/>
|
||||
</types>
|
@ -0,0 +1,12 @@
|
||||
<types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/types_file.xsd">
|
||||
<type id="highway.motorway" speed="27.78"/>
|
||||
<type id="highway.motorway_link" speed="16.67"/>
|
||||
<type id="highway.trunk" speed="13.89"/>
|
||||
<type id="highway.trunk_link" speed="13.89"/>
|
||||
<type id="highway.primary" speed="13.89"/>
|
||||
<type id="highway.primary_link" speed="13.89"/>
|
||||
<type id="highway.secondary" speed="13.89"/>
|
||||
<type id="highway.secondary_link" speed="13.89"/>
|
||||
<type id="highway.tertiary" speed="13.89"/>
|
||||
<type id="highway.tertiary_link" speed="13.89"/>
|
||||
</types>
|
@ -0,0 +1,3 @@
|
||||
<polygonTypes>
|
||||
<polygonType id="boundary" name="boundary" color="1,0,0" layer="100" fill="false"/>
|
||||
</polygonTypes>
|
40
sumo-configurator/static/typemap/osmPolyconvert.typ.xml
Normal file
40
sumo-configurator/static/typemap/osmPolyconvert.typ.xml
Normal file
@ -0,0 +1,40 @@
|
||||
<polygonTypes>
|
||||
<polygonType id="waterway" name="water" color=".71,.82,.82" layer="4" discard="true"/>
|
||||
<polygonType id="natural" name="natural" color=".55,.77,.42" layer="4" discard="true"/>
|
||||
<polygonType id="natural.water" name="water" color=".71,.82,.82" layer="4" discard="true"/>
|
||||
<polygonType id="natural.wetland" name="water" color=".71,.82,.82" layer="4" discard="true"/>
|
||||
<polygonType id="natural.wood" name="forest" color=".55,.77,.42" layer="4" discard="true"/>
|
||||
<polygonType id="natural.land" name="land" color=".98,.87,.46" layer="4" discard="true"/>
|
||||
|
||||
<polygonType id="landuse" name="landuse" color=".76,.76,.51" layer="3"/>
|
||||
<polygonType id="landuse.forest" name="forest" color=".55,.77,.42" layer="3"/>
|
||||
<polygonType id="landuse.park" name="park" color=".81,.96,.79" layer="3"/>
|
||||
<polygonType id="landuse.residential" name="residential" color=".92,.92,.89" layer="3"/>
|
||||
<polygonType id="landuse.commercial" name="commercial" color=".82,.82,.80" layer="3"/>
|
||||
<polygonType id="landuse.industrial" name="industrial" color=".82,.82,.80" layer="3"/>
|
||||
<polygonType id="landuse.military" name="military" color=".60,.60,.36" layer="3"/>
|
||||
<polygonType id="landuse.farm" name="farm" color=".95,.95,.80" layer="3"/>
|
||||
<polygonType id="landuse.greenfield" name="farm" color=".95,.95,.80" layer="3"/>
|
||||
<polygonType id="landuse.village_green" name="farm" color=".95,.95,.80" layer="3"/>
|
||||
|
||||
<polygonType id="tourism" name="tourism" color=".81,.96,.79" layer="2"/>
|
||||
<polygonType id="military" name="military" color=".60,.60,.36" layer="2"/>
|
||||
<polygonType id="sport" name="sport" color=".31,.90,.49" layer="2"/>
|
||||
<polygonType id="leisure" name="leisure" color=".81,.96,.79" layer="2"/>
|
||||
<polygonType id="leisure.park" name="tourism" color=".81,.96,.79" layer="2"/>
|
||||
<polygonType id="aeroway" name="aeroway" color=".50,.50,.50" layer="2"/>
|
||||
<polygonType id="aerialway" name="aerialway" color=".20,.20,.20" layer="2"/>
|
||||
|
||||
<polygonType id="shop" name="shop" color=".93,.78,1.0" layer="1"/>
|
||||
<polygonType id="historic" name="historic" color=".50,1.0,.50" layer="1"/>
|
||||
<polygonType id="man_made" name="building" color="1.0,.90,.90" layer="1"/>
|
||||
<polygonType id="building" name="building" color="1.0,.50,.50" layer="1"/>
|
||||
<polygonType id="amenity" name="amenity" color=".93,.78,.78" layer="1"/>
|
||||
<polygonType id="amenity.parking" name="parking" color=".72,.72,.70" layer="1"/>
|
||||
<polygonType id="power" name="power" color=".10,.10,.30" layer="1" discard="true"/>
|
||||
<polygonType id="highway" name="highway" color=".10,.10,.10" layer="1" discard="true"/>
|
||||
|
||||
<polygonType id="boundary" name="boundary" color="1.0,.10,.10" layer="0" fill="false"/>
|
||||
<polygonType id="admin_level" name="admin_level" color="1.0,.33,.33" layer="0" fill="false" discard="true"/>
|
||||
<polygonType id="place" name="admin_level" color="1.0,.33,.33" layer="0" fill="false" discard="true"/>
|
||||
</polygonTypes>
|
Loading…
Reference in New Issue
Block a user