ECLIPSE(1)
π¦ ECLIPSE(1) β User Commands π¦
okay so first things first, the manual name is Eclipse and this whole page is literally about duarouter, the little icon it is. Welcome to part 1 bestie, sit down, get a snack π
π NAME π
Eclipse β the shortest path router and DUE computer for the microscopic traffic simulation SUMO. That's it, that's the whole identity, and honestly? main character energy. π
β¨ SYNOPSIS β¨
duarouter [OPTION]*
π DESCRIPTION π
It's Eclipse SUMO duarouter 1.27.1, no cap.
Copyright (C) 2001-2026 German Aerospace Center (DLR) and others; https://sumo.dlr.de
The vibe: shortest path router and DUE computer for the microscopic, multi-modal traffic
simulation SUMO.
That's fr fr it. Now let's get into the actual options because there are... so many. Buckle up. π
π Configuration Options π
like, the settings section. outfit check for your run.
-c,--configuration-file FILEβ loads the named config when it starts up β¨-C,--save-configuration FILEβ saves whatever config you're running rn into FILE--save-configuration.relativeβ forces relative paths when it saves the configuration (no sneaky absolute paths)--save-template FILEβ drops an empty configuration template into FILE--save-schema FILEβ saves the configuration schema into FILE--save-commentedβ adds comments to whatever you saved: template, config, or schema π
π¦ Input Options π¦
what you're feeding it. she needs her data.
-n,--net-file FILEβ use FILE as the SUMO-network to route on π-a,--additional-files FILEβ read additional network data (districts, bus stops) from FILE(s)-r,--route-files FILEβ read sumo routes, alternatives, flows, and trips from FILE(s)--phemlight-path FILEβ decides where PHEMlight definitions get loaded from--phemlight-year INTβ turns on fleet age modelling with the given reference year in PHEMlight5--phemlight-temperature FLOATβ sets ambient temperature so the NOx emissions get corrected in PHEMlight5 π‘οΈ-w,--weight-files FILEβ read network weights from FILE(s)--lane-weight-files FILEβ read lane-based network weights from FILE(s)-x,--weight-attribute STRβ the name of the xml attribute that gives the edge weight--junction-tazβ initializes a TAZ for every junction so it can use the attributestoJunctionandfromJunction
π Output Options π
where the results go, aka the glow-up reveal β¨
-o,--output-file FILEβ write the generated routes to FILE--vtype-output FILEβ write the used vehicle types into a separate FILE--keep-vtype-distributionsβ keepsvTypeDistributionids when writing vehicles and their types--emissions.volumetric-fuelβ returns fuel consumption values in the (legacy) unitlinstead ofmg--named-routesβ writes vehicles that reference routes by their id--write-licenseβ includes license info in every output file π--write-metadataβ writes parsable metadata (configuration etc.) instead of comments--output-prefix STRβ a prefix applied to all output files. The special string'TIME'gets replaced by the current time β°--output-suffix STRβ a suffix applied to all output files. The special string'TIME'gets replaced by the current time β°--precision INTβ how many digits after the comma for floating point output--precision.geo INTβ how many digits after the comma forlon,latoutput--output.compression STRβ the standard compression algorithm (currently only for parquet output)--output.format STRβ the standard output format if it can't be derived from the file name ('xml','csv','parquet')--output.column-header STRβ how to derive column headers from attribute names ('none','tag','auto','plain')--output.column-separator STRβ the separator in CSV output-H,--human-readable-timeβ writes time values ashour:minute:secondorday:hour:minute:secondinstead of plain seconds π--alternatives-output FILEβ write the generated route alternatives to FILE--intermodal-network-output FILEβ write edge splits and connectivity to FILE--intermodal-weight-output FILEβ write intermodal edges with lengths and travel times to FILE--write-tripsβ write trips instead of vehicles (for validating trip input)--write-trips.geoβ write trips with geo-coordinates--write-trips.junctionsβ write trips withfromJunctionandtoJunction--write-costsβ includes the cost attribute in route output--exit-timesβ write exit times (weights) for each edge--route-lengthβ includes the total route length in the output π
π₯ Processing Options π₯
the actual brain work. this is where she thinks.
--max-alternatives INTβ prunes the number of alternatives down to INT--with-tazβ use origin and destination zones (districts) for in- and output--unsorted-inputβ assumes the input is unsorted-s,--route-steps TIMEβ load routes for the next number of seconds ahead--no-internal-linksβ disables (junction) internal links--randomize-flowsβ generates random departure times for flow input π²--remove-loopsβ removes loops within the route; removes turnarounds at the start and end of the route--repairβ tries to correct a false route--repair.fromβ tries to correct an invalid starting edge by using the first usable edge instead--repair.toβ tries to correct an invalid destination edge by using the last usable edge instead--repair.max-detour-factor FLOATβ backtracks on the route if the detour is longer than the gap by FACTOR--mapmatch.distance FLOATβ maximum distance when mapping input coordinates (fromXYetc.) to the road network--mapmatch.junctionsβ matches positions to junctions instead of edges--mapmatch.tazβ matches positions to taz instead of edges--bulk-routingβ aggregates routing queries with the same origin--routing-threads INTβ the number of parallel execution threads used for routing β‘--routing-algorithm STRβ pick a routing algorithm among['dijkstra', 'astar', 'CH', 'CHWrapper']--restriction-params STR[]β comma separated list of param keys to compare for additional restrictions--weights.interpolateβ interpolates edge weights at interval boundaries--weights.expandβ expands the end of the last loaded weight interval to infinity βΎοΈ--weights.minor-penalty FLOATβ applies the given time penalty when computing routing costs for minor-link internal lanes--weights.tls-penalty FLOATβ applies the given time penalty when computing routing costs across a traffic light--weights.turnaround-penalty FLOATβ applies the given time penalty when computing routing costs for turnaround internal lanes--weights.reversal-penalty FLOATβ applies the given time penalty when computing routing costs for train reversal. Negative values disable reversal--weights.random-factor FLOATβ edge weights for routing get dynamically disturbed by a random factor drawn uniformly from[1,FLOAT)--weight-period TIMEβ aggregation period for the given weight files; triggers rebuilding of Contraction Hierarchy--weights.priority-factor FLOATβ considers edge priorities in addition to travel times, weighted by factor--astar.all-distances FILEβ initialize the lookup table for astar from the given file (generated bymarouter --all-pairs-output)--astar.landmark-distances FILEβ initialize the lookup table for the astar ALT-variant from the given file--astar.save-landmark-distances FILEβ save the lookup table for the astar ALT-variant to the given file--scale FLOATβ scales demand by the given factor (by discarding or duplicating vehicles)--scale-suffix STRβ suffix added when creating ids for cloned vehicles--taxi.vclasses STR[]β network permissions that can be accessed by taxis π--gawron.beta FLOATβ use FLOAT as Gawron's beta--gawron.a FLOATβ use FLOAT as Gawron's a--keep-all-routesβ saves routes with near zero probability--skip-new-routesβ only reuses routes from input, does not calculate new ones--keep-route-probability FLOATβ the probability of keeping the old route--ptline-routingβ routes all public transport input π--keep-flowsβ writes flows instead of expanding them into vehicles--route-choice-method STRβ choose a route choice method:gawron,logit, orlohse--logitβ use the c-logit model (deprecated in favor of--route-choice-method logit)--logit.beta FLOATβ use FLOAT as logit's beta--logit.gamma FLOATβ use FLOAT as logit's gamma--logit.theta FLOATβ use FLOAT as logit's theta (negative values mean auto-estimation)--persontrip.walkfactor FLOATβ use FLOAT as a factor on pedestrian maximum speed during intermodal routing πΆ--persontrip.walk-opposite-factor FLOATβ use FLOAT as a factor on walking speed against vehicle traffic direction--persontrip.transfer.car-walk STR[]β where mode changes from car to walking are allowed (possible values:'parkingAreas','ptStops','allJunctions'and combinations)--persontrip.transfer.taxi-walk STR[]β where taxis can drop off customers ('allJunctions, 'ptStops')--persontrip.transfer.walk-taxi STR[]β where taxis can pick up customers ('allJunctions, 'ptStops')--persontrip.taxi.waiting-time TIMEβ estimated time for taxi pickup--persontrip.ride-public-lineβ only use the intended public transport line rather than any alternative line that stops at the destination--railway.max-train-length FLOATβ use FLOAT as a maximum train length when initializing the railway router π--max-traveltime TIMEβ declares routing failure if traveltime exceeds the given positive TIME
ngl that section was a lot. hydrate. π§
π§ Defaults Options π§
the fallback fits. if nothing else is specified, these are the lewks.
--departlane STRβ assigns a default depart lane--departpos STRβ assigns a default depart position--departspeed STRβ assigns a default depart speed--arrivallane STRβ assigns a default arrival lane--arrivalpos STRβ assigns a default arrival position--arrivalspeed STRβ assigns a default arrival speed--defaults-overrideβ defaults will override given values
β° Time Options β°
when does the little simulation wake up and when does it go to bed.
-b,--begin TIMEβ defines the begin time; previous trips will be discarded ποΈ-e,--end TIMEβ defines the end time; later trips will be discarded; defaults to the maximum time that SUMO can represent
π Report Options π
how chatty she is.
-v,--verboseβ switches to verbose output π£οΈ--print-optionsβ prints option values before processing
and that's part 1, but bestie we are NOT done β more of this absolute novel is coming. stay tuned π«
-?, --helpβ prints this very screen (or just the topics you asked for) π like babe, it's the built-in cheat sheet, use ittt-V, --versionβ prints the current version, one line, no drama β¨-X,--xml-validation_STR_ β sets the schema validation scheme for XML inputs. your options are"never","local","auto"or"always"π--xml-validation.net_STR_ β same deal but for SUMO network inputs:"never","local","auto"or"always"π--xml-validation.routes_STR_ β and again for SUMO route inputs:"never","local","auto"or"always"π£οΈ-W,--no-warningsβ shuts warning output all the way off π (living in bliss fr)--aggregate-warnings_INT_ β whenever more than _INT_ warnings of the same type show up, it bundles them together so your terminal doesn't spiral π-l,--log_FILE_ β writes all messages to _FILE_ (and yes, it implies verbose π)--message-log_FILE_ β writes all the non-error messages to _FILE_ (also implies verbose)--error-log_FILE_ β writes all warnings and errors to _FILE_ π₯--log.timestampsβ sticks timestamps in front of every message β°--log.processidβ sticks the process ID in front of every message π--language_STR_ β the language to use in messages πΈ--ignore-errorsβ keeps going even if a route could not be build π«Ά (yes, "build", that's the page's wording, not mine)--stats-period_INT_ β defines how often the statistics get printed π--no-step-logβ kills the console output of the route parsing step π€«
π² Random Number Options π²
it's giving chaos theory but make it reproducible β¨
--randomβ initialises the random number generator with the current system time π°οΈ (so every run is a lil different, main character energy)--seed_INT_ β initialises the random number generator with the given value π (feed it the same number, get the same run β that's the whole point bestie)
π EXAMPLES π
duarouter -c <CONFIGURATION>
run routing with options from file π that's it, that's the whole vibe β point it at a config and let it cook π₯
π REPORTING BUGS π
found something cursed? report bugs at <https://github.com/eclipse-sumo/sumo/issues> and get in contact via <sumo@dlr.de> π
Build features: Linux-6.8.0-139-generic x86_64 GNU 15.3.0 None
FMI Proj GUI Intl SWIG Eigen GDAL FFmpeg OSG GL2PS
Copyright (C) 2001-2026 German Aerospace Center (DLR) and others;
https://sumo.dlr.de
Eclipse SUMO duarouter 1.27.1 is part of SUMO πβ¨ This program 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> π
This program may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License 2.0 are satisfied: GNU General Public License, version 2 or later which is available at <https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html> π
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later π«‘
okay so that's a whole lot of license lore, but basically: it's open, it's licensed, periodt π
and that's the page bestie, we made it π this one's Eclipse SUMO duarouter 1.27.1, last touched August 2026, living in section ECLIPSE(1) of your manual π¦ go route something iconic β¨
π¦ where this page comes from
- ubuntu stonking: sumo 1.27.1+dfsg-1 Β· EPL-2.0 OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms