Networks/Export

From Sumo
Jump to navigation Jump to search

Supported export formats

SUMO

The default output format, when using no other options. While being partly similar in structure to the plain format below, this file is not meant to be edited by hand since there are complex dependencies between the various parts.

Plain

Generated when using the option --plain-output-prefix <FILE>, it generates four files containing the nodes, the edges, the connections and the traffic light logics as described in Networks/Building_Networks_from_own_XML-descriptions.

OpenDRIVE

The --opendrive-output <FILE> option writes networks in the OpenDRIVE format adhering to version 1.3.

MATsim

The --matsim-output <FILE> creates MATsim networks.

DlrNavteq

The --dlr-navteq-output <FILE> generates a links, a nodes and a traffic lights file matching extraction version 6.0.

Amitran

The Amitran network format consists of a single XML file conforming to the schema at http://sumo-sim.org/xsd/amitran/network.xsd. The option --amitran-output <FILE> writes the data to a file with the following format

<?xml version="1.0" encoding="utf-8"?>
<network xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/amitran/network.xsd">
   <node id="0" type="rightBeforeLeft"/>
   <node id="1" type="priority"/>
   ...
   <link id="0" from="1" to="0" roadClass="4" length="136448" speedLimitKmh="20" laneNr="1"/>
   ...
</network>

where all values are integers (the length is in units of 0.01m, the road class is a functional road class in the Navteq sense)

Seventh Framework Programme AMITRAN project This part of SUMO was developed, reworked, or extended within the project "AMITRAN", co-funded by the European Commission within the Seventh Framework Programme.