Path: blob/main/tests/duarouter/meta/write_template_full/cfg.duarouter
185994 views
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 2025-12-11T12:24:22.326062+01:00 by Eclipse SUMO duarouter v1_25_0+0458-86552fc0338
-->
<duarouterConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/duarouterConfiguration.xsd">
<configuration>
<configuration-file value="" synonymes="c configuration" type="FILE" help="Loads the named config on startup"/>
<save-configuration value="" synonymes="C save-config" type="FILE" help="Saves current configuration into FILE"/>
<save-configuration.relative value="false" synonymes="save-config.relative" type="BOOL" help="Enforce relative paths when saving the configuration"/>
<save-template value="" type="FILE" help="Saves a configuration template (empty) into FILE"/>
<save-schema value="" type="FILE" help="Saves the configuration schema into FILE"/>
<save-commented value="false" synonymes="save-template.commented" type="BOOL" help="Adds comments to saved template, configuration, or schema"/>
</configuration>
<input>
<net-file value="" synonymes="n net" type="FILE" help="Use FILE as SUMO-network to route on"/>
<additional-files value="" synonymes="a additional d districts taz-files" deprecated="d districts" type="FILE" help="Read additional network data (districts, bus stops) from FILE(s)"/>
<route-files value="" synonymes="alternative-files alternatives-files f flow-files flows r t trip-files trips" deprecated="alternative-files alternatives-files f flow-files flows t trip-files trips" type="FILE" help="Read sumo routes, alternatives, flows, and trips from FILE(s)"/>
<phemlight-path value="./PHEMlight/" type="FILE" help="Determines where to load PHEMlight definitions from"/>
<phemlight-year value="0" type="INT" help="Enable fleet age modelling with the given reference year in PHEMlight5"/>
<phemlight-temperature value="1.79769e+308" type="FLOAT" help="Set ambient temperature to correct NOx emissions in PHEMlight5"/>
<weight-files value="" synonymes="w weights" type="FILE" help="Read network weights from FILE(s)"/>
<lane-weight-files value="" type="FILE" help="Read lane-based network weights from FILE(s)"/>
<weight-attribute value="traveltime" synonymes="measure x" deprecated="measure" type="STR" help="Name of the xml attribute which gives the edge weight"/>
<junction-taz value="false" type="BOOL" help="Initialize a TAZ for every junction to use attributes toJunction and fromJunction"/>
</input>
<output>
<output-file value="" synonymes="o output" type="FILE" help="Write generated routes to FILE"/>
<vtype-output value="" synonymes="vtype" type="FILE" help="Write used vehicle types into separate FILE"/>
<keep-vtype-distributions value="false" type="BOOL" help="Keep vTypeDistribution ids when writing vehicles and their types"/>
<emissions.volumetric-fuel value="false" type="BOOL" help="Return fuel consumption values in (legacy) unit l instead of mg"/>
<named-routes value="false" type="BOOL" help="Write vehicles that reference routes by their id"/>
<write-license value="false" type="BOOL" help="Include license info into every output file"/>
<write-metadata value="false" type="BOOL" help="Write parsable metadata (configuration etc.) instead of comments"/>
<output-prefix value="" type="STR" help="Prefix which is applied to all output files. The special string 'TIME' is replaced by the current time."/>
<output-suffix value="" type="STR" help="Suffix which is applied to all output files. The special string 'TIME' is replaced by the current time."/>
<precision value="2" type="INT" help="Defines the number of digits after the comma for floating point output"/>
<precision.geo value="6" type="INT" help="Defines the number of digits after the comma for lon,lat output"/>
<output.compression value="" type="STR" help="Defines the standard compression algorithm (currently only for parquet output)"/>
<output.format value="xml" type="STR" help="Defines the standard output format if not derivable from the file name ('xml', 'csv', 'parquet')"/>
<output.column-header value="tag" type="STR" help="How to derive column headers from attribute names ('none', 'tag', 'auto', 'plain')"/>
<output.column-separator value=";" type="STR" help="Separator in CSV output"/>
<human-readable-time value="false" synonymes="H" type="BOOL" help="Write time values as hour:minute:second or day:hour:minute:second rather than seconds"/>
<alternatives-output value="" synonymes="alternatives" type="FILE" help="Write generated route alternatives to FILE"/>
<intermodal-network-output value="" type="FILE" help="Write edge splits and connectivity to FILE"/>
<intermodal-weight-output value="" type="FILE" help="Write intermodal edges with lengths and travel times to FILE"/>
<write-trips value="false" type="BOOL" help="Write trips instead of vehicles (for validating trip input)"/>
<write-trips.geo value="false" type="BOOL" help="Write trips with geo-coordinates"/>
<write-trips.junctions value="false" type="BOOL" help="Write trips with fromJunction and toJunction"/>
<write-costs value="false" type="BOOL" help="Include the cost attribute in route output"/>
<exit-times value="false" type="BOOL" help="Write exit times (weights) for each edge"/>
<route-length value="false" type="BOOL" help="Include total route length in the output"/>
</output>
<processing>
<max-alternatives value="5" type="INT" help="Prune the number of alternatives to INT"/>
<with-taz value="false" type="BOOL" help="Use origin and destination zones (districts) for in- and output"/>
<unsorted-input value="false" synonymes="unsorted" type="BOOL" help="Assume input is unsorted"/>
<route-steps value="200" synonymes="s" type="TIME" help="Load routes for the next number of seconds ahead"/>
<no-internal-links value="false" type="BOOL" help="Disable (junction) internal links"/>
<randomize-flows value="false" type="BOOL" help="generate random departure times for flow input"/>
<remove-loops value="false" type="BOOL" help="Remove loops within the route; Remove turnarounds at start and end of the route"/>
<repair value="false" type="BOOL" help="Tries to correct a false route"/>
<repair.from value="false" type="BOOL" help="Tries to correct an invalid starting edge by using the first usable edge instead"/>
<repair.to value="false" type="BOOL" help="Tries to correct an invalid destination edge by using the last usable edge instead"/>
<repair.max-detour-factor value="10" type="FLOAT" help="Backtrack on route if the detour is longer than the gap by FACTOR"/>
<mapmatch.distance value="100" type="FLOAT" help="Maximum distance when mapping input coordinates (fromXY etc.) to the road network"/>
<mapmatch.junctions value="false" type="BOOL" help="Match positions to junctions instead of edges"/>
<mapmatch.taz value="false" type="BOOL" help="Match positions to taz instead of edges"/>
<bulk-routing value="false" type="BOOL" help="Aggregate routing queries with the same origin"/>
<routing-threads value="0" type="INT" help="The number of parallel execution threads used for routing"/>
<routing-algorithm value="dijkstra" type="STR" help="Select among routing algorithms ['dijkstra', 'astar', 'CH', 'CHWrapper']"/>
<restriction-params value="" type="STR[]" help="Comma separated list of param keys to compare for additional restrictions"/>
<weights.interpolate value="false" synonymes="interpolate" deprecated="interpolate" type="BOOL" help="Interpolate edge weights at interval boundaries"/>
<weights.expand value="false" synonymes="expand-weights" deprecated="expand-weights" type="BOOL" help="Expand the end of the last loaded weight interval to infinity"/>
<weights.minor-penalty value="1.5" type="FLOAT" help="Apply the given time penalty when computing routing costs for minor-link internal lanes"/>
<weights.tls-penalty value="0" type="FLOAT" help="Apply the given time penalty when computing routing costs across a traffic light"/>
<weights.turnaround-penalty value="5" type="FLOAT" help="Apply the given time penalty when computing routing costs for turnaround internal lanes"/>
<weights.reversal-penalty value="60" type="FLOAT" help="Apply the given time penalty when computing routing costs for train reversal. Negative values disable reversal"/>
<weights.random-factor value="1" type="FLOAT" help="Edge weights for routing are dynamically disturbed by a random factor drawn uniformly from [1,FLOAT)"/>
<weight-period value="3600" type="TIME" help="Aggregation period for the given weight files; triggers rebuilding of Contraction Hierarchy"/>
<weights.priority-factor value="0" type="FLOAT" help="Consider edge priorities in addition to travel times, weighted by factor"/>
<astar.all-distances value="" type="FILE" help="Initialize lookup table for astar from the given file (generated by marouter --all-pairs-output)"/>
<astar.landmark-distances value="" type="FILE" help="Initialize lookup table for astar ALT-variant from the given file"/>
<astar.save-landmark-distances value="" type="FILE" help="Save lookup table for astar ALT-variant to the given file"/>
<scale value="1" type="FLOAT" help="Scale demand by the given factor (by discarding or duplicating vehicles)"/>
<scale-suffix value="." type="STR" help="Suffix to be added when creating ids for cloned vehicles"/>
<gawron.beta value="0.9" synonymes="gBeta" deprecated="gBeta" type="FLOAT" help="Use FLOAT as Gawron's beta"/>
<gawron.a value="0.5" synonymes="gA" deprecated="gA" type="FLOAT" help="Use FLOAT as Gawron's a"/>
<keep-all-routes value="false" type="BOOL" help="Save routes with near zero probability"/>
<skip-new-routes value="false" type="BOOL" help="Only reuse routes from input, do not calculate new ones"/>
<keep-route-probability value="0" type="FLOAT" help="The probability of keeping the old route"/>
<ptline-routing value="false" type="BOOL" help="Route all public transport input"/>
<keep-flows value="false" type="BOOL" help="Write flows instead of expanding them into vehicles"/>
<route-choice-method value="gawron" type="STR" help="Choose a route choice method: gawron, logit, or lohse"/>
<logit value="false" type="BOOL" help="Use c-logit model (deprecated in favor of --route-choice-method logit)"/>
<logit.beta value="-1" synonymes="lBeta" deprecated="lBeta" type="FLOAT" help="Use FLOAT as logit's beta"/>
<logit.gamma value="1" synonymes="lGamma" deprecated="lGamma" type="FLOAT" help="Use FLOAT as logit's gamma"/>
<logit.theta value="-1" synonymes="lTheta" deprecated="lTheta" type="FLOAT" help="Use FLOAT as logit's theta (negative values mean auto-estimation)"/>
<persontrip.walkfactor value="0.75" type="FLOAT" help="Use FLOAT as a factor on pedestrian maximum speed during intermodal routing"/>
<persontrip.walk-opposite-factor value="1" type="FLOAT" help="Use FLOAT as a factor on walking speed against vehicle traffic direction"/>
<persontrip.transfer.car-walk value="parkingAreas" type="STR[]" help="Where are mode changes from car to walking allowed (possible values: 'parkingAreas', 'ptStops', 'allJunctions' and combinations)"/>
<persontrip.transfer.taxi-walk value="" type="STR[]" help="Where taxis can drop off customers ('allJunctions, 'ptStops')"/>
<persontrip.transfer.walk-taxi value="" type="STR[]" help="Where taxis can pick up customers ('allJunctions, 'ptStops')"/>
<persontrip.taxi.waiting-time value="300" type="TIME" help="Estimated time for taxi pickup"/>
<persontrip.ride-public-line value="false" type="BOOL" help="Only use the intended public transport line rather than any alternative line that stops at the destination"/>
<railway.max-train-length value="1000" type="FLOAT" help="Use FLOAT as a maximum train length when initializing the railway router"/>
<max-traveltime value="-1" type="TIME" help="Declare routing failure if traveltime exceeds the given positive TIME"/>
</processing>
<defaults>
<departlane value="" type="STR" help="Assigns a default depart lane"/>
<departpos value="" type="STR" help="Assigns a default depart position"/>
<departspeed value="" type="STR" help="Assigns a default depart speed"/>
<arrivallane value="" type="STR" help="Assigns a default arrival lane"/>
<arrivalpos value="" type="STR" help="Assigns a default arrival position"/>
<arrivalspeed value="" type="STR" help="Assigns a default arrival speed"/>
<defaults-override value="false" type="BOOL" help="Defaults will override given values"/>
</defaults>
<time>
<begin value="0" synonymes="b" type="TIME" help="Defines the begin time; Previous trips will be discarded"/>
<end value="-1" synonymes="e" type="TIME" help="Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can represent"/>
</time>
<report>
<verbose value="false" synonymes="v" type="BOOL" help="Switches to verbose output"/>
<print-options value="false" type="BOOL" help="Prints option values before processing"/>
<help value="false" synonymes="?" type="BOOL" help="Prints this screen or selected topics"/>
<version value="false" synonymes="V" type="BOOL" help="Prints the current version"/>
<xml-validation value="local" synonymes="X" type="STR" help="Set schema validation scheme of XML inputs ("never", "local", "auto" or "always")"/>
<xml-validation.net value="never" type="STR" help="Set schema validation scheme of SUMO network inputs ("never", "local", "auto" or "always")"/>
<xml-validation.routes value="local" type="STR" help="Set schema validation scheme of SUMO route inputs ("never", "local", "auto" or "always")"/>
<no-warnings value="false" synonymes="W suppress-warnings" deprecated="suppress-warnings" type="BOOL" help="Disables output of warnings"/>
<aggregate-warnings value="-1" type="INT" help="Aggregate warnings of the same type whenever more than INT occur"/>
<log value="" synonymes="l log-file" type="FILE" help="Writes all messages to FILE (implies verbose)"/>
<message-log value="" type="FILE" help="Writes all non-error messages to FILE (implies verbose)"/>
<error-log value="" type="FILE" help="Writes all warnings and errors to FILE"/>
<log.timestamps value="false" type="BOOL" help="Writes timestamps in front of all messages"/>
<log.processid value="false" type="BOOL" help="Writes process ID in front of all messages"/>
<language value="C" type="STR" help="Language to use in messages"/>
<ignore-errors value="false" synonymes="continue-on-unbuild dismiss-loading-errors" deprecated="continue-on-unbuild dismiss-loading-errors" type="BOOL" help="Continue if a route could not be build"/>
<stats-period value="-1" type="INT" help="Defines how often statistics shall be printed"/>
<no-step-log value="false" type="BOOL" help="Disable console output of route parsing step"/>
</report>
<random_number>
<random value="false" synonymes="abs-rand" deprecated="abs-rand" type="BOOL" help="Initialises the random number generator with the current system time"/>
<seed value="23423" synonymes="srand" deprecated="srand" type="INT" help="Initialises the random number generator with the given value"/>
</random_number>
</duarouterConfiguration>