Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNETagPropertiesDatabase.cpp
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.
4// This program and the accompanying materials are made available under the
5// terms of the Eclipse Public License 2.0 which is available at
6// https://www.eclipse.org/legal/epl-2.0/
7// This Source Code may also be made available under the following Secondary
8// Licenses when the conditions for such availability set forth in the Eclipse
9// Public License 2.0 are satisfied: GNU General Public License, version 2
10// or later which is available at
11// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13/****************************************************************************/
18// Database with all information about netedit elements
19/****************************************************************************/
20
21#include <netedit/GNENet.h>
24
26
27// ===========================================================================
28// method definitions
29// ===========================================================================
30
32 // fill all groups of ACs
40 // demand
45 // persons
51 // containers
56 //data
58 // add common attributes to all elements
59 for (auto& tagProperties : myTagProperties) {
60 fillCommonAttributes(tagProperties.second);
61 }
62 // update max number of editable attributes
64 // calculate hierarchy dept
66 // check integrity of all Tags (function checkTagIntegrity() throws an exception if there is an inconsistency)
67 for (const auto& tagProperties : myTagProperties) {
68 tagProperties.second->checkTagIntegrity();
69 }
70}
71
72
74 // delete all tag properties (this also delete all attributeProperties)
75 for (auto& tagProperties : myTagProperties) {
76 delete tagProperties.second;
77 }
78}
79
80
83 // check that tag is defined in tagProperties or in tagPropertiesSet
84 if (myTagProperties.count(tag) > 0) {
85 return myTagProperties.at(tag);
86 } else if (mySetTagProperties.count(tag) > 0) {
87 return mySetTagProperties.at(tag);
88 } else if (hardFail) {
89 throw ProcessError(TLF("Property for tag '%' not defined", toString(tag)));
90 } else {
91 return nullptr;
92 }
93}
94
95
96const std::vector<const GNETagProperties*>
97GNETagPropertiesDatabase::getTagPropertiesSet(const SumoXMLTag tag, const bool hardFail) const {
98 // check that tag is defined in tagProperties or in tagPropertiesSet
99 if (mySetTagProperties.count(tag) > 0) {
100 return mySetTagProperties.at(tag)->getHierarchicalChildren();
101 } else if (hardFail) {
102 throw ProcessError(TLF("TagPropertySet for tag '%' not defined", toString(tag)));
103 } else {
104 return {};
105 }
106}
107
108
109const std::vector<const GNETagProperties*>
111 std::vector<const GNETagProperties*> allowedTags;
113 // fill networkElements tags
114 for (const auto& tagProperty : myTagProperties) {
115 if (tagProperty.second->isNetworkElement()) {
116 allowedTags.push_back(tagProperty.second);
117 }
118 }
119 }
121 // fill additional tags (only with pure additionals)
122 for (const auto& tagProperty : myTagProperties) {
123 if (tagProperty.second->isAdditionalPureElement()) {
124 allowedTags.push_back(tagProperty.second);
125 }
126 }
127 }
129 // fill shape tags
130 for (const auto& tagProperty : myTagProperties) {
131 if (tagProperty.second->isShapeElement()) {
132 allowedTags.push_back(tagProperty.second);
133 }
134 }
135 }
137 // fill taz tags
138 for (const auto& tagProperty : myTagProperties) {
139 if (tagProperty.second->isTAZElement()) {
140 allowedTags.push_back(tagProperty.second);
141 }
142 }
143 }
144 if (type & GNETagProperties::Type::WIRE) {
145 // fill wire tags
146 for (const auto& tagProperty : myTagProperties) {
147 if (tagProperty.second->isWireElement()) {
148 allowedTags.push_back(tagProperty.second);
149 }
150 }
151 }
153 // fill demand tags
154 for (const auto& tagProperty : myTagProperties) {
155 if (tagProperty.second->isDemandElement()) {
156 allowedTags.push_back(tagProperty.second);
157 }
158 }
159 }
161 // fill route tags
162 for (const auto& tagProperty : myTagProperties) {
163 if (tagProperty.second->isRoute()) {
164 allowedTags.push_back(tagProperty.second);
165 }
166 }
167 }
169 // fill vehicle tags
170 for (const auto& tagProperty : myTagProperties) {
171 if (tagProperty.second->isVehicle()) {
172 allowedTags.push_back(tagProperty.second);
173 }
174 }
175 }
177 // fill stop (and waypoints) tags
178 for (const auto& tagProperty : myTagProperties) {
179 if (tagProperty.second->isVehicleStop()) {
180 allowedTags.push_back(tagProperty.second);
181 }
182 }
183 }
185 // fill person tags
186 for (const auto& tagProperty : myTagProperties) {
187 if (tagProperty.second->isPerson()) {
188 allowedTags.push_back(tagProperty.second);
189 }
190 }
191 }
193 // fill person plan tags
194 for (const auto& tagProperty : myTagProperties) {
195 if (tagProperty.second->isPlanPerson()) {
196 allowedTags.push_back(tagProperty.second);
197 }
198 }
199 }
201 // fill demand tags
202 for (const auto& tagProperty : myTagProperties) {
203 if (tagProperty.second->isPlanPersonTrip()) {
204 allowedTags.push_back(tagProperty.second);
205 }
206 }
207 }
208 if (type & GNETagProperties::Type::WALK) {
209 // fill demand tags
210 for (const auto& tagProperty : myTagProperties) {
211 if (tagProperty.second->isPlanWalk()) {
212 allowedTags.push_back(tagProperty.second);
213 }
214 }
215 }
216 if (type & GNETagProperties::Type::RIDE) {
217 // fill demand tags
218 for (const auto& tagProperty : myTagProperties) {
219 if (tagProperty.second->isPlanRide()) {
220 allowedTags.push_back(tagProperty.second);
221 }
222 }
223 }
225 // fill demand tags
226 for (const auto& tagProperty : myTagProperties) {
227 if (tagProperty.second->isPlanStopPerson()) {
228 allowedTags.push_back(tagProperty.second);
229 }
230 }
231 }
233 // fill generic data tags
234 for (const auto& tagProperty : myTagProperties) {
235 if (tagProperty.second->isGenericData()) {
236 allowedTags.push_back(tagProperty.second);
237 }
238 }
239 }
241 // fill generic data tags
242 for (const auto& tagProperty : myTagProperties) {
243 if (tagProperty.second->isMeanData()) {
244 allowedTags.push_back(tagProperty.second);
245 }
246 }
247 }
249 // fill container tags
250 for (const auto& tagProperty : myTagProperties) {
251 if (tagProperty.second->isContainer()) {
252 allowedTags.push_back(tagProperty.second);
253 }
254 }
255 }
257 // fill container plan tags
258 for (const auto& tagProperty : myTagProperties) {
259 if (tagProperty.second->isPlanContainer()) {
260 allowedTags.push_back(tagProperty.second);
261 }
262 }
263 }
265 // fill demand tags
266 for (const auto& tagProperty : myTagProperties) {
267 if (tagProperty.second->isPlanTransport()) {
268 allowedTags.push_back(tagProperty.second);
269 }
270 }
271 }
273 // fill demand tags
274 for (const auto& tagProperty : myTagProperties) {
275 if (tagProperty.second->isPlanTranship()) {
276 allowedTags.push_back(tagProperty.second);
277 }
278 }
279 }
281 // fill demand tags
282 for (const auto& tagProperty : myTagProperties) {
283 if (tagProperty.second->isPlanStopContainer()) {
284 allowedTags.push_back(tagProperty.second);
285 }
286 }
287 }
288 return allowedTags;
289}
290
291
292int
296
297
298int
302
303
304int
308
309
310int
314
315
316int
320
321
322void
324 const std::string opt = "attribute-help-output";
327 dev << "# Netedit attribute help\n";
328 for (const auto& tagProperty : myTagProperties) {
329 if (tagProperty.second->getAttributeProperties().begin() == tagProperty.second->getAttributeProperties().end()) {
330 // don't write elements without attributes, they are only used for internal purposes
331 continue;
332 }
333 if (tagProperty.second->getXMLTag() != tagProperty.first) {
334 dev << "\n## " << toString(tagProperty.second->getXMLTag()) << " (" << toString(tagProperty.first) << ")\n";
335 } else if (tagProperty.second->getXMLParentTags().empty()) {
336 dev << "\n## " << toString(tagProperty.first) << "\n";
337 } else {
338 if (tagProperty.first == SUMO_TAG_FLOW) {
339 dev << "\n## " << toString(tagProperty.first) << "\n";
340 dev << "also child element of ";
341 } else {
342 dev << "\n### " << toString(tagProperty.first) << "\n";
343 dev << "child element of ";
344 }
345 bool sep = false;
346 for (const auto& pTag : tagProperty.second->getXMLParentTags()) {
347 if (sep) {
348 dev << ", ";
349 } else {
350 sep = true;
351 }
352 dev << "[" << toString(pTag) << "](#" << StringUtils::to_lower_case(toString(pTag)) << ")";
353 }
354 dev << "\n\n";
355 }
356 dev << "| Attribute | Type | Description |\n";
357 dev << "|-----------|------|-------------|\n";
358 for (const auto& attr : tagProperty.second->getAttributeProperties()) {
359 // ignore netedit attributes (front, selected, etc.)
360 if (!attr->isNeteditEditor() && (attr->getAttr() != GNE_ATTR_PARAMETERS)) {
361 dev << "|" << toString(attr->getAttr()) << "|"
362 << attr->getDescription() << "|"
363 << StringUtils::replace(attr->getDefinition(), "\n", " ");
364 if (attr->hasDefaultValue()) {
365 dev << " *default:* **" << attr->getDefaultStringValue() << "**";
366 }
367 dev << "|\n";
368 }
369 }
370 }
371}
372
373
374void
376 // root - level 0
378 nullptr,
380 TL("Root"));
381 // supermodes - level 1
385 TL("Supermode network"),
386 FXRGBA(255, 255, 255, 255),
387 TL("Supermode network"));
391 TL("Supermode demand"),
392 FXRGBA(255, 255, 255, 255),
393 TL("Supermode demand"));
397 TL("Supermode data"),
398 FXRGBA(255, 255, 255, 255),
399 TL("Supermode data"));
400 // net - level 2
404 TL("Network elements"),
405 FXRGBA(255, 255, 255, 255),
406 TL("Network elements"));
407 // additionals - level 2
411 TL("Additional elements"),
412 FXRGBA(255, 255, 255, 255),
413 TL("Additional elements"));
414 // stoppingPlaces - level 3
418 TL("Stopping places"),
419 FXRGBA(255, 255, 255, 255),
420 TL("Stopping places"));
421 // detectors - level 3
425 TL("Detectors"),
426 FXRGBA(255, 255, 255, 255),
427 TL("Detectors"));
428 // wires - level 2
432 TL("Wire elements"),
433 FXRGBA(255, 255, 255, 255),
434 TL("Wire elements"));
435 // shapes - level 2
439 TL("Shape elements"),
440 FXRGBA(255, 255, 255, 255),
441 TL("Shape elements"));
445 TL("JuPedSim elements"),
446 FXRGBA(255, 255, 255, 255),
447 TL("JuPedSim elements"));
448 // TAZs - level 2
452 TL("TAZ elements"),
453 FXRGBA(255, 255, 255, 255),
454 TL("TAZ elements"));
455 // vehicles - level 2
459 TL("Vehicles"),
460 FXRGBA(255, 255, 255, 255),
461 TL("Vehicles"));
462 // flows - level 2
466 TL("Flows"),
467 FXRGBA(255, 255, 255, 255),
468 TL("Vehicle flows"));
469 // stops - level 2
473 TL("Vehicle stops"),
474 FXRGBA(255, 255, 255, 255),
475 TL("Vehicle stops"));
476 // personPlans - level 2
480 TL("Person plans"),
481 FXRGBA(255, 255, 255, 255),
482 TL("Person plans"));
483 // personTrips - level 3
487 TL("Person trips"),
488 FXRGBA(255, 255, 255, 255),
489 TL("Person trips"));
490 // rides - level 3
494 TL("Person rides"),
495 FXRGBA(255, 255, 255, 255),
496 TL("Person rides"));
497 // walks - level 3
501 TL("Person walks"),
502 FXRGBA(255, 255, 255, 255),
503 TL("Person walks"));
504 // personStops - level 3
508 TL("Person stop"),
509 FXRGBA(255, 255, 255, 255),
510 TL("Person stop"));
511 // containerPlans - level 2
515 TL("Container plans"),
516 FXRGBA(255, 255, 255, 255),
517 TL("Container plans"));
518 // transports - level 3
522 TL("Container transports"),
523 FXRGBA(255, 255, 255, 255),
524 TL("Container transports"));
525 // tranships - level 3
529 TL("Container tranships"),
530 FXRGBA(255, 255, 255, 255),
531 TL("Container tranships"));
532 // containerStops - level 3
536 TL("Container stops"),
537 FXRGBA(255, 255, 255, 255),
538 TL("Container stops"));
539 // datas - level 2
543 TL("Datas"),
544 FXRGBA(255, 255, 255, 255),
545 TL("Datas"));
546}
547
548
549void
551 // obtain Node Types except SumoXMLNodeType::DEAD_END_DEPRECATED
552 const auto& neteditOptions = OptionsCont::getOptions();
553 std::vector<std::string> nodeTypes = SUMOXMLDefinitions::NodeTypes.getStrings();
554 nodeTypes.erase(std::find(nodeTypes.begin(), nodeTypes.end(), toString(SumoXMLNodeType::DEAD_END_DEPRECATED)));
555 nodeTypes.erase(std::find(nodeTypes.begin(), nodeTypes.end(), toString(SumoXMLNodeType::DEAD_END)));
556 nodeTypes.erase(std::find(nodeTypes.begin(), nodeTypes.end(), toString(SumoXMLNodeType::INTERNAL)));
557 // obtain TLTypes (note: avoid insert all TLTypes because some of them are experimental and not documented)
558 std::vector<std::string> TLTypes;
559 TLTypes.push_back(toString(TrafficLightType::STATIC));
560 TLTypes.push_back(toString(TrafficLightType::ACTUATED));
561 TLTypes.push_back(toString(TrafficLightType::DELAYBASED));
562 TLTypes.push_back(toString(TrafficLightType::NEMA));
563 // fill networkElement ACs
564 SumoXMLTag currentTag = SUMO_TAG_JUNCTION;
565 {
566 // set values of tag
567 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
572 GUIIcon::JUNCTION, GUIGlObjectType::GLO_JUNCTION, currentTag, TL("Junction"));
573 // set values of attributes
574 fillIDAttribute(myTagProperties[currentTag], true);
575
579 TL("The x-y-z position of the node on the plane in meters"));
580
581 auto type = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_TYPE,
584 TL("An optional type for the node"));
585 type->setDiscreteValues(nodeTypes);
586
590 TL("A custom shape for that node"));
591
595 TL("Optional turning radius (for all corners) for that node in meters"),
596 "4");
597
601 TL("Whether the junction-blocking-heuristic should be activated at this node"),
603
604 auto rightOfWay = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_RIGHT_OF_WAY,
607 TL("How to compute right of way rules at this node"),
609 rightOfWay->setDiscreteValues(SUMOXMLDefinitions::RightOfWayValues.getStrings());
610
611 auto fringe = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_FRINGE,
614 TL("Whether this junction is at the fringe of the network"),
616 fringe->setDiscreteValues(SUMOXMLDefinitions::FringeTypeValues.getStrings());
617
619
620 auto tlType = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_TLTYPE,
623 TL("An optional type for the traffic light algorithm"));
624 tlType->setDiscreteValues(TLTypes);
625
626 auto tlLayout = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_TLLAYOUT,
629 TL("An optional layout for the traffic light plan"),
631 tlLayout->setDiscreteValues({toString(TrafficLightLayout::DEFAULT),
635
639 TL("An optional id for the traffic light program"));
640
644 TL("Whether this junction is part of a roundabout"),
646 }
647 currentTag = SUMO_TAG_TYPE;
648 {
649 // set values of tag
650 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
655 GUIIcon::EDGETYPE, GUIGlObjectType::GLO_EDGETYPE, currentTag, TL("EdgeType"));
656 // set values of attributes
657 fillIDAttribute(myTagProperties[currentTag], false);
658
662 TL("The number of lanes of the edge"),
663 toString(neteditOptions.getInt("default.lanenumber")));
664
668 TL("The maximum speed allowed on the edge in m/s"),
669 toString(neteditOptions.getFloat("default.speed")));
670
672
673 auto spreadType = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_SPREADTYPE,
676 TL("The spreadType defines how to compute the lane geometry from the edge geometry (used for visualization)"),
678 spreadType->setDiscreteValues(SUMOXMLDefinitions::LaneSpreadFunctions.getStrings());
679
683 TL("The priority of the edge"),
684 toString(neteditOptions.getInt("default.priority")));
685
689 TL("Lane width for all lanes of this edge in meters (used for visualization)"),
691
695 TL("The width of the sidewalk that should be added as an additional lane"),
696 "", "2");
697
701 TL("The width of the bike lane that should be added as an additional lane"),
702 "", "1");
703 }
704 currentTag = SUMO_TAG_LANETYPE;
705 {
706 // set values of tag
707 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
712 GUIIcon::LANETYPE, GUIGlObjectType::GLO_LANETYPE, currentTag, TL("LaneType"));
713 // set values of attributes
717 TL("The maximum speed allowed on the lane in m/s"),
718 toString(neteditOptions.getFloat("default.speed")));
719
721
725 TL("Lane width for all lanes of this type in meters (used for visualization)"),
726 "3.2");
727 }
728 currentTag = SUMO_TAG_EDGE;
729 {
730 // set values of tag
731 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
736 GUIIcon::EDGE, GUIGlObjectType::GLO_EDGE, currentTag, TL("Edge"));
737 // set values of attributes
738 fillIDAttribute(myTagProperties[currentTag], true);
739
743 TL("The name of a node within the nodes-file the edge shall start at"));
744
748 TL("The name of a node within the nodes-file the edge shall end at"));
749
753 TL("The maximum speed allowed on the edge in m/s"),
754 toString(neteditOptions.getFloat("default.speed")));
755
759 TL("The priority of the edge"),
760 toString(neteditOptions.getInt("default.priority")));
761
765 TL("The number of lanes of the edge"),
766 toString(neteditOptions.getInt("default.lanenumber")));
767
771 TL("The name of a type within the SUMO edge type file"));
772
774
778 TL("If the shape is given it should start and end with the positions of the from-node and to-node"));
779
783 TL("The length of the edge in meter"));
784
785 auto spreadType = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_SPREADTYPE,
788 TL("The spreadType defines how to compute the lane geometry from the edge geometry (used for visualization)"),
790 spreadType->setDiscreteValues(SUMOXMLDefinitions::LaneSpreadFunctions.getStrings());
791
795 TL("street name (does not need to be unique, used for visualization)"));
796
800 TL("Lane width for all lanes of this edge in meters (used for visualization)"),
801 "3.2");
802
806 TL("Move the stop line back from the intersection by the given amount"),
807 "0");
808
812 TL("Custom position in which shape start (by default position of junction from)"));
813
817 TL("Custom position in which shape end (by default position of junction from)"));
818
820 GNEAttributeProperties::Property::BOOL | GNEAttributeProperties::Property::DEFAULTVALUE | GNEAttributeProperties::Property::UNIQUE, // virtual attribute to check of this edge is part of a bidirectional railway (cannot be edited)
822 TL("Show if edge is bidirectional"),
824
828 TL("Distance"),
829 "0");
830
834 TL("The stop offset as positive value in meters"),
835 "0");
836
840 TL("Specifies, for which vehicle classes the stopOffset does NOT apply."));
841
845 TL("Whether this edge is part of a roundabout"),
847 }
848 currentTag = SUMO_TAG_LANE;
849 {
850 // set values of tag
851 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
856 GUIIcon::LANE, GUIGlObjectType::GLO_LANE, currentTag, TL("Lane"));
857 // set values of attributes
858 fillIDAttribute(myTagProperties[currentTag], true);
859
863 TL("The enumeration index of the lane (0 is the rightmost lane, <NUMBER_LANES>-1 is the leftmost one)"));
864
868 TL("Speed in meters per second"),
869 toString(neteditOptions.getFloat("default.speed")));
870
872
876 TL("Width in meters (used for visualization)"),
877 "", "-1");
878
882 TL("Move the stop line back from the intersection by the given amount"),
883 "0");
884
888 TL("Enable or disable lane as acceleration lane"),
890
894 TL("If the shape is given it overrides the computation based on edge shape"));
895
899 TL("If given, this defines the opposite direction lane"));
900
904 TL("Permit changing left only for to the given vehicle classes"),
905 "all");
906
910 TL("Permit changing right only for to the given vehicle classes"),
911 "all");
912
916 TL("Lane type description (optional)"));
917
921 TL("The stop offset as positive value in meters"),
922 "0");
923
927 TL("Specifies, for which vehicle classes the stopOffset does NOT apply."));
928 }
929 currentTag = SUMO_TAG_CROSSING;
930 {
931 // set values of tag
932 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
937 GUIIcon::CROSSING, GUIGlObjectType::GLO_CROSSING, currentTag, TL("Crossing"));
938 // set values of attributes
939 fillIDAttribute(myTagProperties[currentTag], true);
940
944 TL("The (road) edges which are crossed"));
945
949 TL("Whether the pedestrians have priority over the vehicles (automatically set to true at tls-controlled intersections)"),
951
955 TL("The width of the crossings"),
956 toString(OptionsCont::getOptions().getFloat("default.crossing-width")));
957
961 TL("sets the tls-index for this crossing (-1 means automatic assignment)"),
962 "-1");
963
967 TL("sets the opposite-direction tls-index for this crossing (-1 means not assigned)"),
968 "-1");
969
973 TL("Overrides default shape of pedestrian crossing"));
974 }
975 currentTag = SUMO_TAG_WALKINGAREA;
976 {
977 // set values of tag
978 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
983 GUIIcon::WALKINGAREA, GUIGlObjectType::GLO_WALKINGAREA, currentTag, TL("WalkingArea"));
984 // set values of attributes
985 fillIDAttribute(myTagProperties[currentTag], true);
986
990 TL("The width of the WalkingArea"),
991 toString(OptionsCont::getOptions().getFloat("default.sidewalk-width")));
992
996 TL("The length of the WalkingArea in meter"));
997
1001 TL("Overrides default shape of pedestrian sidewalk"));
1002
1003 }
1004 currentTag = SUMO_TAG_CONNECTION;
1005 {
1006 // set values of tag
1007 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
1012 GUIIcon::CONNECTION, GUIGlObjectType::GLO_CONNECTION, currentTag, TL("Connection"));
1013 // set values of attributes
1017 TL("The ID of the edge the vehicles leave"));
1018
1022 TL("The ID of the edge the vehicles may reach when leaving 'from'"));
1023
1027 TL("the lane index of the incoming lane (numbers starting with 0)"));
1028
1032 TL("the lane index of the outgoing lane (numbers starting with 0)"));
1033
1037 TL("if set, vehicles which pass this (lane-2-lane) connection) will not wait"),
1039
1043 TL("if set to false, vehicles which pass this (lane-2-lane) connection) will not worry about blocking the intersection"),
1045
1049 TL("If set to a more than 0 value, an internal junction will be built at this position (in m)/n from the start of the internal lane for this connection"),
1051
1055 TL("If set to true, This connection will not be TLS-controlled despite its node being controlled"),
1057
1061 TL("Vision distance between vehicles"),
1063
1067 TL("sets index of this connection within the controlling traffic light (-1 means automatic assignment)"),
1068 "-1");
1069
1073 TL("sets index for the internal junction of this connection within the controlling traffic light (-1 means internal junction not controlled)"),
1074 "-1");
1075
1077
1081 TL("sets custom speed limit for the connection"),
1083
1087 TL("sets custom length for the connection"),
1089
1093 TL("sets custom shape for the connection"));
1094
1098 TL("Permit changing left only for to the given vehicle classes"),
1099 "all");
1100
1104 TL("Permit changing right only for to the given vehicle classes"),
1105 "all");
1106
1110 TL("if set to true, vehicles will make a turn in 2 steps"),
1112
1116 TL("set a custom edge type (for applying vClass-specific speed restrictions)"));
1117
1118
1122 TL("turning direction for this connection (computed)"));
1123
1127 TL("link state for this connection (computed)"));
1128 }
1129 currentTag = GNE_TAG_INTERNAL_LANE;
1130 {
1131 // set values of tag
1132 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(SUMO_TAG_NET),
1137 GUIIcon::JUNCTION, GUIGlObjectType::GLO_TLLOGIC, currentTag, TL("InternalLanes"));
1138 // internal lanes does't have attributes
1139 }
1140}
1141
1142
1143void
1145 // fill additional elements
1146 SumoXMLTag currentTag = SUMO_TAG_BUS_STOP;
1147 {
1148 // set values of tag
1154 GUIIcon::BUSSTOP, GUIGlObjectType::GLO_BUS_STOP, currentTag, TL("BusStop"),
1155 {}, FXRGBA(240, 255, 205, 255));
1156 // set common attributes
1158
1159 // set specific attributes
1163 TL("Meant to be the names of the bus lines that stop at this bus stop. This is only used for visualization purposes"));
1164
1168 TL("Larger numbers of persons trying to enter will create an upstream jam on the sidewalk"),
1169 "6");
1170
1174 TL("Optional space definition for vehicles that park at this stop"),
1175 "0");
1176 }
1177 currentTag = SUMO_TAG_TRAIN_STOP;
1178 {
1179 // set values of tag
1185 GUIIcon::TRAINSTOP, GUIGlObjectType::GLO_TRAIN_STOP, currentTag, TL("TrainStop"),
1186 {}, FXRGBA(240, 255, 205, 255));
1187 // set common attributes
1189
1190 // set specific attributes
1194 TL("Meant to be the names of the train lines that stop at this train stop. This is only used for visualization purposes"));
1195
1199 TL("Larger numbers of persons trying to enter will create an upstream jam on the sidewalk"),
1200 "6");
1201
1205 TL("Optional space definition for vehicles that park at this stop"),
1206 "0");
1207
1208 }
1209 currentTag = SUMO_TAG_ACCESS;
1210 {
1211 // set values of tag
1217 GUIIcon::ACCESS, GUIGlObjectType::GLO_ACCESS, currentTag, TL("Access"),
1218 {SUMO_TAG_BUS_STOP, SUMO_TAG_TRAIN_STOP}, FXRGBA(240, 255, 205, 255));
1219 // set values of attributes
1220 fillLaneAttribute(myTagProperties[currentTag], false);
1221
1223
1225
1229 TL("The walking length of the access in meters (default is geometric length)"),
1230 "", "-1");
1231 }
1232 currentTag = SUMO_TAG_CONTAINER_STOP;
1233 {
1234 // set values of tag
1240 GUIIcon::CONTAINERSTOP, GUIGlObjectType::GLO_CONTAINER_STOP, currentTag, TL("ContainerStop"),
1241 {}, FXRGBA(240, 255, 205, 255));
1242 // set common attributes
1244
1245 // set specific attributes
1249 TL("meant to be the names of the bus lines that stop at this container stop. This is only used for visualization purposes"));
1250
1254 TL("Larger numbers of container trying to enter will create an upstream jam on the sidewalk"),
1255 "6");
1256
1260 TL("Optional space definition for vehicles that park at this stop"),
1261 "", "0");
1262 }
1263 currentTag = SUMO_TAG_CHARGING_STATION;
1264 {
1265 // set values of tag
1271 GUIIcon::CHARGINGSTATION, GUIGlObjectType::GLO_CHARGING_STATION, currentTag, TL("ChargingStation"),
1272 {}, FXRGBA(240, 255, 205, 255));
1273 // set common attributes
1275
1276 // set specific attributes
1280 TL("Charging power in W"),
1281 "22000");
1282
1283 auto efficiency = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_EFFICIENCY,
1286 TL("Charging efficiency [0,1]"),
1287 "0.95");
1288 efficiency->setRange(0, 1);
1289
1293 TL("Enable or disable charge in transit, i.e. vehicle must or must not to stop for charging"),
1295
1299 TL("Time delay after the vehicles has reached / stopped on the charging station, before the energy transfer (charging) begins"),
1300 "0");
1301
1302 auto chargeType = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_CHARGETYPE,
1305 TL("Battery charging type"),
1307 chargeType->setDiscreteValues(SUMOXMLDefinitions::ChargeTypes.getStrings());
1308
1312 TL("Waiting time before start charging"),
1313 "900");
1314
1318 TL("Parking area the charging station is located"));
1319 }
1320 currentTag = SUMO_TAG_PARKING_AREA;
1321 {
1322 // set values of tag
1328 GUIIcon::PARKINGAREA, GUIGlObjectType::GLO_PARKING_AREA, currentTag, TL("ParkingArea"),
1329 {}, FXRGBA(240, 255, 205, 255));
1330 // set common attributes
1332
1333 // set specific attributes
1337 TL("Lane position in that vehicle must depart when leaves parkingArea"));
1338
1342 TL("Accepted badges to access this parkingArea"));
1343
1347 TL(" The number of parking spaces for road-side parking"),
1348 "0");
1349
1353 TL("If set, vehicles will park on the road lane and thereby reducing capacity"),
1354 "0");
1355
1359 TL("The width of the road-side parking spaces"),
1361
1365 TL("The length of the road-side parking spaces. By default (endPos - startPos) / roadsideCapacity"),
1366 "", "0");
1367
1371 TL("The angle of the road-side parking spaces relative to the lane angle, positive means clockwise"),
1372 "0");
1373
1377 TL("Enable or disable lefthand position"),
1379
1380 }
1381 currentTag = SUMO_TAG_PARKING_SPACE;
1382 {
1383 // set values of tag
1389 GUIIcon::PARKINGSPACE, GUIGlObjectType::GLO_PARKING_SPACE, currentTag, TL("ParkingSpace"),
1390 {SUMO_TAG_PARKING_AREA}, FXRGBA(240, 255, 205, 255));
1391 // set values of attributes
1395 TL("The x-y-z position of the node on the plane in meters"));
1396
1398
1402 TL("The width of the road-side parking spaces"));
1403
1407 TL("The length of the road-side parking spaces"));
1408
1412 TL("The angle of the road-side parking spaces relative to the lane angle, positive means clockwise"));
1413
1417 TL("The slope of the road-side parking spaces"),
1418 "0");
1419
1420 }
1421 currentTag = SUMO_TAG_INDUCTION_LOOP;
1422 {
1423 // set values of tag
1424 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DETECTORS),
1429 GUIIcon::E1, GUIGlObjectType::GLO_E1DETECTOR, currentTag, TL("E1 InductionLoop"),
1430 {}, FXRGBA(210, 233, 255, 255));
1431 // set values of attributes
1432 fillIDAttribute(myTagProperties[currentTag], true);
1433
1434 fillLaneAttribute(myTagProperties[currentTag], false);
1435
1437
1439
1441
1443
1445
1447
1449
1451 }
1452 currentTag = SUMO_TAG_LANE_AREA_DETECTOR;
1453 {
1454 // set values of tag
1455 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DETECTORS),
1460 GUIIcon::E2, GUIGlObjectType::GLO_E2DETECTOR, currentTag, TL("E2 LaneAreaDetector"),
1461 {}, FXRGBA(210, 233, 255, 255));
1462 // set values of attributes
1463 fillIDAttribute(myTagProperties[currentTag], true);
1464
1465 fillLaneAttribute(myTagProperties[currentTag], false);
1466
1468
1470
1474 TL("The length of the detector in meters"),
1475 "10");
1476
1478
1480
1484 TL("The traffic light that triggers aggregation when switching"));
1485
1487
1489
1491
1493
1495
1499 TL("Show detector in sumo-gui"),
1501 }
1503 {
1504 // set values of tag
1505 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DETECTORS),
1511 {}, FXRGBA(210, 233, 255, 255));
1512 // set values of attributes
1513 fillIDAttribute(myTagProperties[currentTag], true);
1514
1518 TL("The sequence of lane ids in which the detector shall be laid on"));
1519
1521
1525 TL("The end position on the lane the detector shall be laid on in meters"));
1526
1528
1530
1534 TL("The traffic light that triggers aggregation when switching"));
1535
1537
1539
1541
1543
1545
1547
1551 TL("Show detector in sumo-gui"),
1553 }
1554 currentTag = SUMO_TAG_ENTRY_EXIT_DETECTOR;
1555 {
1556 // set values of tag
1557 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DETECTORS),
1562 GUIIcon::E3, GUIGlObjectType::GLO_DET_ENTRYEXIT, currentTag, TL("E3 EntryExitDetector"),
1563 {}, FXRGBA(210, 233, 255, 255));
1564 // set values of attributes
1565 fillIDAttribute(myTagProperties[currentTag], true);
1566
1570 TL("X-Y position of detector in editor (Only used in netedit)"),
1571 "0,0"); // virtual attribute from the combination of the actually attributes SUMO_ATTR_X, SUMO_ATTR_Y
1572
1574
1576
1578
1580
1582
1584
1588 TL("If set to true, no error will be reported if vehicles leave the detector without first entering it"),
1590
1592
1596 TL("Whether no warning should be issued when a vehicle arrives within the detector area."),
1598 }
1599 currentTag = SUMO_TAG_DET_ENTRY;
1600 {
1601 // set values of tag
1602 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DETECTORS),
1607 GUIIcon::E3ENTRY, GUIGlObjectType::GLO_DET_ENTRY, currentTag, TL("E3 DetEntry"),
1608 {SUMO_TAG_ENTRY_EXIT_DETECTOR}, FXRGBA(210, 233, 255, 255));
1609 // set values of attributes
1610 fillLaneAttribute(myTagProperties[currentTag], false);
1611
1613
1615
1616 }
1617 currentTag = SUMO_TAG_DET_EXIT;
1618 {
1619 // set values of tag
1620 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DETECTORS),
1625 GUIIcon::E3EXIT, GUIGlObjectType::GLO_DET_EXIT, currentTag, TL("E3 DetExit"),
1626 {SUMO_TAG_ENTRY_EXIT_DETECTOR}, FXRGBA(210, 233, 255, 255));
1627 // set values of attributes
1628 fillLaneAttribute(myTagProperties[currentTag], false);
1629
1631
1633
1634 }
1636 {
1637 // set values of tag
1638 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DETECTORS),
1644 {}, FXRGBA(210, 233, 255, 255));
1645 // set values of attributes
1646 fillIDAttribute(myTagProperties[currentTag], true);
1647
1648 fillLaneAttribute(myTagProperties[currentTag], false);
1649
1651
1653
1655
1657
1659
1661
1663 }
1664 currentTag = SUMO_TAG_ROUTEPROBE;
1665 {
1666 // set values of tag
1672 GUIIcon::ROUTEPROBE, GUIGlObjectType::GLO_ROUTEPROBE, currentTag, TL("RouteProbe"),
1673 {}, FXRGBA(210, 233, 255, 255));
1674 // set values of attributes
1675 fillIDAttribute(myTagProperties[currentTag], true);
1676
1677 fillEdgeAttribute(myTagProperties[currentTag], false);
1678
1680
1684 TL("The frequency in which to report the distribution"),
1685 "3600");
1686
1688
1692 TL("The time at which to start generating output"),
1693 "0");
1694
1696 }
1697 currentTag = SUMO_TAG_VSS;
1698 {
1699 // set values of tag
1705 GUIIcon::VARIABLESPEEDSIGN, GUIGlObjectType::GLO_VSS, currentTag, TL("VariableSpeedSign"),
1706 {}, FXRGBA(210, 233, 255, 255));
1707 // set values of attributes
1708 fillIDAttribute(myTagProperties[currentTag], true);
1709
1713 TL("List of Variable Speed Sign lanes"));
1714
1718 TL("X-Y position of detector in editor (Only used in netedit)"),
1719 "0,0"); // virtual attribute from the combination of the actually attributes SUMO_ATTR_X, SUMO_ATTR_Y
1720
1722
1724 }
1725 currentTag = GNE_TAG_VSS_SYMBOL;
1726 {
1727 // set values of tag
1733 GUIIcon::LANE, GUIGlObjectType::GLO_VSS, currentTag, TL("VariableSpeedSign (lane)"),
1734 {SUMO_TAG_VSS}, FXRGBA(210, 233, 255, 255));
1735 }
1736 currentTag = SUMO_TAG_STEP;
1737 {
1738 // set values of tag
1744 GUIIcon::VSSSTEP, GUIGlObjectType::GLO_VSS_STEP, currentTag, TL("VariableSpeedSign Step"),
1745 {SUMO_TAG_VSS}, FXRGBA(210, 233, 255, 255));
1746 // set values of attributes
1750 TL("Time"));
1751
1755 TL("Speed"),
1756 toString(OptionsCont::getOptions().getFloat("default.speed")));
1757 }
1758 currentTag = SUMO_TAG_CALIBRATOR;
1759 {
1760 // set values of tag
1766 GUIIcon::CALIBRATOR, GUIGlObjectType::GLO_CALIBRATOR, currentTag, TL("Calibrator"),
1767 {}, FXRGBA(253, 255, 206, 255));
1768 // set values of attributes
1769 fillIDAttribute(myTagProperties[currentTag], true);
1770
1771 fillEdgeAttribute(myTagProperties[currentTag], false);
1772
1774
1776
1780 TL("The aggregation interval in which to calibrate the flows. Default is step-length"),
1781 "1");
1782
1786 TL("The id of the routeProbe element from which to determine the route distribution for generated vehicles"));
1787
1789
1793 TL("A threshold value to detect and clear unexpected jamming"),
1794 "0.50");
1795
1797 }
1798 currentTag = GNE_TAG_CALIBRATOR_LANE;
1799 {
1800 // set values of tag
1807 {}, FXRGBA(253, 255, 206, 255));
1808 // set values of attributes
1809 fillIDAttribute(myTagProperties[currentTag], true);
1810
1811 fillLaneAttribute(myTagProperties[currentTag], false);
1812
1814
1816
1820 TL("The aggregation interval in which to calibrate the flows. Default is step-length"),
1821 "1");
1822
1826 TL("The id of the routeProbe element from which to determine the route distribution for generated vehicles"));
1827
1829
1833 TL("A threshold value to detect and clear unexpected jamming"),
1834 "0.50");
1835
1837 }
1838 currentTag = GNE_TAG_CALIBRATOR_FLOW;
1839 {
1840 // set values of tag
1847 {SUMO_TAG_CALIBRATOR}, FXRGBA(253, 255, 206, 255));
1848 // set values of attributes
1852 TL("The id of the route the vehicle shall drive along"));
1853
1857 TL("First calibrator flow departure time"),
1858 "0");
1859
1863 TL("End of departure interval"),
1864 "3600");
1865
1866 // fill common vehicle attributes
1868
1869 // optional attributes (at least one must be defined)
1873 TL("The id of the vehicle type to use for this calibrator flow"),
1875
1879 TL("Number of vehicles per hour, equally spaced"),
1880 "1800");
1881
1885 TL("Vehicle's speed"),
1886 "15");
1887 }
1888 currentTag = SUMO_TAG_REROUTER;
1889 {
1890 // set values of tag
1896 GUIIcon::REROUTER, GUIGlObjectType::GLO_REROUTER, currentTag, TL("Rerouter"),
1897 {}, FXRGBA(255, 213, 213, 255));
1898
1899 // set values of attributes
1900 fillIDAttribute(myTagProperties[currentTag], true);
1901
1905 TL("X,Y position in editor (Only used in netedit)"),
1906 "0,0"); // virtual attribute from the combination of the actually attributes SUMO_ATTR_X, SUMO_ATTR_Y
1907
1911 TL("An edge id or a list of edge ids where vehicles shall be rerouted"));
1912
1914
1918 TL("The probability for vehicle rerouting (0-1)"),
1919 "1");
1920
1924 TL("The waiting time threshold (in s) that must be reached to activate rerouting (default -1 which disables the threshold)"),
1925 "0");
1926
1928
1932 TL("Whether the router should be inactive initially (and switched on in the gui)"),
1934
1938 TL("If rerouter is optional"),
1940 }
1941 currentTag = GNE_TAG_REROUTER_SYMBOL;
1942 {
1943 // set values of tag
1949 GUIIcon::EDGE, GUIGlObjectType::GLO_REROUTER, currentTag, TL("Rerouter (Edge)"),
1950 {GNE_TAG_REROUTER_SYMBOL}, FXRGBA(255, 213, 213, 255));
1951 }
1952 currentTag = SUMO_TAG_INTERVAL;
1953 {
1954 // set values of tag
1960 GUIIcon::REROUTERINTERVAL, GUIGlObjectType::GLO_REROUTER_INTERVAL, currentTag, TL("Rerouter Interval"),
1961 {SUMO_TAG_REROUTER}, FXRGBA(255, 213, 213, 255));
1962 // set values of attributes
1966 TL("Begin"),
1967 "0");
1968
1972 TL("End"),
1973 "3600");
1974 }
1975 currentTag = SUMO_TAG_CLOSING_REROUTE;
1976 {
1977 // set values of tag
1984 {SUMO_TAG_INTERVAL}, FXRGBA(255, 213, 213, 255));
1985 // set values of attributes
1986 fillEdgeAttribute(myTagProperties[currentTag], true);
1987
1989 }
1990 currentTag = SUMO_TAG_CLOSING_LANE_REROUTE;
1991 {
1992 // set values of tag
1999 {SUMO_TAG_INTERVAL}, FXRGBA(255, 213, 213, 255));
2000 // set values of attributes
2001 fillLaneAttribute(myTagProperties[currentTag], true);
2002
2004 }
2005 currentTag = SUMO_TAG_DEST_PROB_REROUTE;
2006 {
2007 // set values of tag
2013 GUIIcon::DESTPROBREROUTE, GUIGlObjectType::GLO_REROUTER_DESTPROBREROUTE, currentTag, TL("DestinationProbabilityReroute"),
2014 {SUMO_TAG_INTERVAL}, FXRGBA(255, 213, 213, 255));
2015 // set values of attributes
2016 fillEdgeAttribute(myTagProperties[currentTag], true);
2017
2021 TL("SUMO Probability"),
2022 "1");
2023 }
2024 currentTag = SUMO_TAG_PARKING_AREA_REROUTE;
2025 {
2026 // set values of tag
2033 {SUMO_TAG_INTERVAL}, FXRGBA(255, 213, 213, 255));
2034 // set values of attributes
2035 auto parking = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_PARKING,
2038 TL("ParkingArea ID"));
2039 parking->setSynonym(SUMO_ATTR_ID);
2040
2044 TL("SUMO Probability"),
2045 "1");
2046
2050 TL("Enable or disable visibility for parking area reroutes"),
2052 }
2053 currentTag = SUMO_TAG_ROUTE_PROB_REROUTE;
2054 {
2055 // set values of tag
2061 GUIIcon::ROUTEPROBREROUTE, GUIGlObjectType::GLO_REROUTER_ROUTEPROBREROUTE, currentTag, TL("RouteProbabilityReroute"),
2062 {SUMO_TAG_INTERVAL}, FXRGBA(255, 213, 213, 255));
2063 // set values of attributes
2064 auto route = new GNEAttributeProperties(myTagProperties[currentTag], SUMO_ATTR_ROUTE,
2067 TL("Route"));
2068 route->setSynonym(SUMO_ATTR_ID);
2069
2073 TL("SUMO Probability"),
2074 "1");
2075 }
2076 currentTag = SUMO_TAG_VAPORIZER;
2077 {
2078 // set values of tag
2084 GUIIcon::VAPORIZER, GUIGlObjectType::GLO_VAPORIZER, currentTag, TL("Vaporizer"),
2085 {}, FXRGBA(253, 255, 206, 255));
2086 // set values of attributes
2087 fillEdgeAttribute(myTagProperties[currentTag], true);
2088
2090
2094 TL("Start Time"),
2095 "0");
2096
2100 TL("End Time"),
2101 "3600");
2102 }
2103}
2104
2105
2106void
2108 // fill shape ACs
2109 SumoXMLTag currentTag = SUMO_TAG_POLY;
2110 {
2111 // set values of tag
2112 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_SHAPES),
2117 GUIIcon::POLY, GUIGlObjectType::GLO_POLYGON, currentTag, TL("Polygon"),
2118 {}, FXRGBA(240, 255, 205, 255));
2119 // set values of attributes
2120 fillIDAttribute(myTagProperties[currentTag], true);
2121
2125 TL("The shape of the polygon"));
2126
2128
2129 fillColorAttribute(myTagProperties[currentTag], "red");
2130
2134 TL("An information whether the polygon shall be filled"),
2136
2140 TL("The default line width for drawing an unfilled polygon"),
2141 "1");
2142
2146 TL("The layer in which the polygon lies"),
2148
2152 TL("A typename for the polygon"),
2154
2155 fillImgFileAttribute(myTagProperties[currentTag], false);
2156
2160 TL("Angle of rendered image in degree"),
2162
2166 TL("Enable or disable GEO attributes"),
2168
2172 TL("A custom geo shape for this polygon"));
2173
2177 TL("Toggle close or open shape"));
2178 }
2179 currentTag = SUMO_TAG_POI;
2180 {
2181 // set values of tag
2182 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_SHAPES),
2187 GUIIcon::POI, GUIGlObjectType::GLO_POI, currentTag, TL("PointOfInterest"),
2188 {}, FXRGBA(210, 233, 255, 255));
2189 // set values of attributes
2190 fillIDAttribute(myTagProperties[currentTag], true);
2191
2195 TL("The position in view"));
2196
2197 // fill Poi attributes
2199 }
2200 currentTag = GNE_TAG_POILANE;
2201 {
2202 // set values of tag
2203 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_SHAPES),
2208 GUIIcon::POILANE, GUIGlObjectType::GLO_POI, SUMO_TAG_POI, TL("PointOfInterestLane"),
2209 {}, FXRGBA(210, 233, 255, 255));
2210 // set values of attributes
2211 fillIDAttribute(myTagProperties[currentTag], true);
2212
2213 fillLaneAttribute(myTagProperties[currentTag], false);
2214
2216
2218
2222 TL("The lateral offset on the named lane at which the POI is located at"),
2223 "0");
2224
2225 // fill Poi attributes
2227 }
2228 currentTag = GNE_TAG_POIGEO;
2229 {
2230 // set values of tag
2231 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_SHAPES),
2237 {}, FXRGBA(210, 233, 255, 255));
2238 // set values of attributes
2239 fillIDAttribute(myTagProperties[currentTag], true);
2240
2241 // set values of attributes
2245 TL("The longitude position of the parking vehicle on the view"));
2246
2250 TL("The latitude position of the parking vehicle on the view"));
2251
2252 // fill Poi attributes
2254 }
2255}
2256
2257
2258void
2260 // fill TAZ ACs
2261 SumoXMLTag currentTag = SUMO_TAG_TAZ;
2262 {
2263 // set values of tag
2264 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TAZS),
2269 GUIIcon::TAZ, GUIGlObjectType::GLO_TAZ, currentTag, TL("TrafficAssignmentZones"));
2270 // set values of attributes
2271 fillIDAttribute(myTagProperties[currentTag], true);
2272
2276 TL("The shape of the TAZ"));
2277
2281 TL("TAZ center"));
2282
2284
2285 fillColorAttribute(myTagProperties[currentTag], "red");
2286
2290 TL("An information whether the TAZ shall be filled"),
2292
2293 auto edgesWithin = new GNEAttributeProperties(myTagProperties[currentTag], GNE_ATTR_EDGES_WITHIN,
2296 TL("Use the edges within the shape"),
2298 edgesWithin->setAlternativeName(TL("edges within"));
2299 }
2300 currentTag = SUMO_TAG_TAZSOURCE;
2301 {
2302 // set values of tag
2303 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TAZS),
2308 GUIIcon::TAZEDGE, GUIGlObjectType::GLO_TAZ, currentTag, TL("TAZ Source"),
2309 {SUMO_TAG_TAZ});
2310 // set values of attributes
2311 fillEdgeAttribute(myTagProperties[currentTag], true);
2312
2316 TL("Depart weight associated to this Edge"),
2317 "1");
2318 }
2319 currentTag = SUMO_TAG_TAZSINK;
2320 {
2321 // set values of tag
2322 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TAZS),
2327 GUIIcon::TAZEDGE, GUIGlObjectType::GLO_TAZ, currentTag, TL("TAZ Sink"),
2328 {SUMO_TAG_TAZ});
2329 // set values of attributes
2330 fillEdgeAttribute(myTagProperties[currentTag], true);
2331
2335 TL("Arrival weight associated to this Edge"),
2336 "1");
2337 }
2338}
2339
2340
2341void
2343 // fill wire elements
2345 {
2346 // set tag properties
2347 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WIRES),
2352 GUIIcon::TRACTION_SUBSTATION, GUIGlObjectType::GLO_TRACTIONSUBSTATION, currentTag, TL("TractionSubstation"));
2353 // set attribute properties
2354 fillIDAttribute(myTagProperties[currentTag], true);
2355
2359 TL("X-Y position of detector in editor (Only used in netedit)"),
2360 "0,0"); // virtual attribute from the combination of the actually attributes SUMO_ATTR_X, SUMO_ATTR_Y
2361
2365 TL("Voltage of at connection point for the overhead wire"),
2366 "600");
2367
2371 TL("Current limit of the feeder line"),
2372 "400");
2373 }
2374 currentTag = SUMO_TAG_OVERHEAD_WIRE_SECTION;
2375 {
2376 // set tag properties
2377 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WIRES),
2383 // set attribute properties
2384 fillIDAttribute(myTagProperties[currentTag], true);
2385
2389 TL("Substation to which the circuit is connected"));
2390
2394 TL("List of consecutive lanes of the circuit"));
2395
2399 TL("Starting position in the specified lane"),
2400 "", "0");
2401
2405 TL("Ending position in the specified lane"),
2406 "", "INVALID_DOUBLE");
2407
2409
2413 TL("Inner lanes, where placing of overhead wire is restricted"));
2414 }
2415 currentTag = SUMO_TAG_OVERHEAD_WIRE_CLAMP;
2416 {
2417 // set tag properties
2418 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WIRES),
2424 // set attribute properties
2425 fillIDAttribute(myTagProperties[currentTag], true);
2426
2430 TL("ID of the overhead wire segment, to the start of which the overhead wire clamp is connected"));
2431
2435 TL("ID of the overhead wire segment lane of overheadWireIDStartClamp"));
2436
2440 TL("ID of the overhead wire segment, to the end of which the overhead wire clamp is connected"));
2441
2445 TL("ID of the overhead wire segment lane of overheadWireIDEndClamp"));
2446 }
2447}
2448
2449
2450void
2452 // fill shape ACs
2454 {
2455 // set values of tag
2456 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_JUPEDSIM),
2462 {}, FXRGBA(253, 255, 206, 255));
2463 // set values of attributes
2464 fillIDAttribute(myTagProperties[currentTag], true);
2465
2469 TL("The shape of the walkable area"));
2470
2472
2476 TL("Enable or disable GEO attributes"),
2478
2482 TL("A custom geo shape for this walkable area"));
2483 }
2484 currentTag = GNE_TAG_JPS_OBSTACLE;
2485 {
2486 // set values of tag
2487 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_JUPEDSIM),
2493 {}, FXRGBA(253, 255, 206, 255));
2494 // set values of attributes
2495 fillIDAttribute(myTagProperties[currentTag], true);
2496
2500 TL("The shape of the obstacle"));
2501
2503
2507 TL("Enable or disable GEO attributes"),
2509
2513 TL("A custom geo shape for this obstacle"));
2514 }
2515}
2516
2517
2518void
2520 // fill demand elements
2522 {
2523 // set values of tag
2529 GUIIcon::ROUTEDISTRIBUTION, GUIGlObjectType::GLO_ROUTE_DISTRIBUTION, currentTag, TL("RouteDistribution"));
2530
2531 // set values of attributes
2532 fillIDAttribute(myTagProperties[currentTag], true);
2533 }
2534 currentTag = SUMO_TAG_ROUTE;
2535 {
2536 // set values of tag
2542 GUIIcon::ROUTE, GUIGlObjectType::GLO_ROUTE, currentTag, TL("Route"));
2543
2544 // set values of attributes
2545 fillIDAttribute(myTagProperties[currentTag], true);
2546
2547 // add common route attributes
2549 }
2550 currentTag = GNE_TAG_ROUTEREF;
2551 {
2552 // set values of tag
2558 GUIIcon::ROUTEREF, GUIGlObjectType::GLO_ROUTE_REF, currentTag, TL("Route (Ref)"),
2560
2561 // set values of attributes
2565 TL("Route distribution in which this routeRef is defined"));
2566
2570 TL("Reference ID of route"));
2571
2573 }
2574 currentTag = GNE_TAG_ROUTE_EMBEDDED;
2575 {
2576 // set values of tag
2584
2585 // add common route attributes
2587 }
2588 currentTag = SUMO_TAG_VTYPE_DISTRIBUTION;
2589 {
2590 // set values of tag
2597
2601 TL("Deterministic distribution"),
2602 "-1");
2603
2604 // set values of attributes
2605 fillIDAttribute(myTagProperties[currentTag], true);
2606 }
2607 currentTag = SUMO_TAG_VTYPE;
2608 {
2609 // set values of tag
2615 GUIIcon::VTYPE, GUIGlObjectType::GLO_VTYPE, currentTag, TL("VehicleType"));
2616
2617 // set values of attributes
2618 fillIDAttribute(myTagProperties[currentTag], true);
2619
2620 // add common vType attributes
2622 }
2623 currentTag = GNE_TAG_VTYPEREF;
2624 {
2625 // set values of tag
2631 GUIIcon::VTYPEREF, GUIGlObjectType::GLO_VTYPE_REF, currentTag, TL("VType (Ref)"),
2633
2634 // set values of attributes
2638 TL("VType distribution in which this vTypeRef is defined"));
2639
2643 TL("Reference ID of vType"));
2644
2646 }
2647}
2648
2649
2650void
2652 // fill vehicle ACs
2653 SumoXMLTag currentTag = SUMO_TAG_TRIP;
2654 {
2655 // set values of tag
2661 GUIIcon::TRIP, GUIGlObjectType::GLO_TRIP, currentTag, TL("TripEdges"),
2662 {}, FXRGBA(253, 255, 206, 255), "trip (from-to edges)");
2663
2664 // set values of attributes
2665 fillIDAttribute(myTagProperties[currentTag], true);
2666
2670 TL("The id of the vehicle type to use for this trip"),
2672
2676 TL("The ID of the edge the trip starts at"));
2677
2681 TL("The ID of the edge the trip ends at"));
2682
2686 TL("List of intermediate edge ids which shall be part of the trip"));
2687
2688 // add common attributes
2690
2692 }
2693 currentTag = GNE_TAG_TRIP_JUNCTIONS;
2694 {
2695 // set values of tag
2702 {}, FXRGBA(255, 213, 213, 255), "trip (from-to junctions)");
2703
2704 // set values of attributes
2705 fillIDAttribute(myTagProperties[currentTag], true);
2706
2710 TL("The id of the vehicle type to use for this trip"),
2712
2716 TL("The name of the junction the trip starts at"));
2717
2721 TL("The name of the junction the trip ends at"));
2722
2723 // add common attributes
2725
2727 }
2728 currentTag = GNE_TAG_TRIP_TAZS;
2729 {
2730 // set values of tag
2737 {}, FXRGBA(240, 255, 205, 255), "trip (from-to TAZs)");
2738
2739 // set values of attributes
2740 fillIDAttribute(myTagProperties[currentTag], true);
2741
2745 TL("The id of the vehicle type to use for this trip"),
2747
2751 TL("The name of the TAZ the trip starts at"));
2752
2756 TL("The name of the TAZ the trip ends at"));
2757
2758 // add common attributes
2760
2762 }
2763 currentTag = SUMO_TAG_VEHICLE;
2764 {
2765 // set values of tag
2771 GUIIcon::VEHICLE, GUIGlObjectType::GLO_VEHICLE, currentTag, TL("VehicleRoute"),
2772 {}, FXRGBA(210, 233, 255, 255), "vehicle (over route)");
2773
2774 // set values of attributes
2775 fillIDAttribute(myTagProperties[currentTag], true);
2776
2780 TL("The id of the vehicle type to use for this vehicle"),
2782
2786 TL("The id of the route the vehicle shall drive along"));
2787
2791 TL("The index of the edge within route the vehicle starts at"));
2792
2796 TL("The index of the edge within route the vehicle ends at"));
2797
2798 // add common attributes
2800
2802 }
2803 currentTag = GNE_TAG_VEHICLE_WITHROUTE;
2804 {
2805 // set values of tag
2812 {}, FXRGBA(210, 233, 255, 255), "vehicle (embedded route)");
2813
2814 // set values of attributes
2815 fillIDAttribute(myTagProperties[currentTag], true);
2816
2820 TL("The id of the vehicle type to use for this vehicle"),
2822
2826 TL("The index of the edge within route the vehicle starts at"));
2827
2831 TL("The index of the edge within route the vehicle ends at"));
2832
2833 // add common attributes
2835
2837 }
2838 currentTag = SUMO_TAG_FLOW;
2839 {
2840 // set values of tag
2846 GUIIcon::FLOW, GUIGlObjectType::GLO_FLOW, currentTag, TL("FlowEdges"),
2847 {}, FXRGBA(253, 255, 206, 255), "flow (from-to edges)");
2848
2849 // set values of attributes
2850 fillIDAttribute(myTagProperties[currentTag], true);
2851
2855 TL("The id of the flow type to use for this flow"),
2857
2861 TL("The ID of the edge the flow starts at"));
2862
2866 TL("The ID of the edge the flow ends at"));
2867
2871 TL("List of intermediate edge ids which shall be part of the flow"));
2872
2873 // add common attributes
2875
2876 // add flow attributes
2878 }
2879 currentTag = GNE_TAG_FLOW_JUNCTIONS;
2880 {
2881 // set values of tag
2888 {}, FXRGBA(255, 213, 213, 255), "flow (from-to junctions)");
2889
2890 // set values of attributes
2891 fillIDAttribute(myTagProperties[currentTag], true);
2892
2896 TL("The id of the flow type to use for this flow"),
2898
2902 TL("The name of the junction the flow starts at"));
2903
2907 TL("The name of the junction the flow ends at"));
2908
2909 // add common attributes
2911
2912 // add flow attributes
2914 }
2915 currentTag = GNE_TAG_FLOW_TAZS;
2916 {
2917 // set values of tag
2924 {}, FXRGBA(240, 255, 205, 255), "flow (from-to TAZs)");
2925
2926 // set values of attributes
2927 fillIDAttribute(myTagProperties[currentTag], true);
2928
2932 TL("The id of the flow type to use for this flow"),
2934
2938 TL("The name of the TAZ the flow starts at"));
2939
2943 TL("The name of the TAZ the flow ends at"));
2944
2945 // add common attributes
2947
2948 // add flow attributes
2950 }
2951 currentTag = GNE_TAG_FLOW_ROUTE;
2952 {
2953 // set values of tag
2960 {}, FXRGBA(210, 233, 255, 255), "flow (over route)");
2961
2962 // set values of attributes
2963 fillIDAttribute(myTagProperties[currentTag], true);
2964
2968 TL("The id of the flow type to use for this flow"),
2970
2974 TL("The id of the route the flow shall drive along"));
2975
2979 TL("The index of the edge within route the flow starts at"));
2980
2984 TL("The index of the edge within route the flow ends at"));
2985
2986 // add common attributes
2988
2989 // add flow attributes
2991 }
2992 currentTag = GNE_TAG_FLOW_WITHROUTE;
2993 {
2994 // set values of tag
3001 {}, FXRGBA(210, 233, 255, 255), "flow (embedded route)");
3002
3003 // set values of attributes
3004 fillIDAttribute(myTagProperties[currentTag], true);
3005
3009 TL("The id of the flow type to use for this flow"),
3011
3015 TL("The index of the edge within route the flow starts at"));
3016
3020 TL("The index of the edge within route the flow ends at"));
3021
3022 // add common attributes
3024
3025 // add flow attributes
3027 }
3028}
3029
3030
3031void
3033 // fill stops ACs
3034 SumoXMLTag currentTag = GNE_TAG_STOP_LANE;
3035 {
3036 // set values of tag
3037 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3043 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(255, 213, 213, 255));
3044 // set values of attributes
3045 fillLaneAttribute(myTagProperties[currentTag], false);
3046
3050 TL("The begin position on the lane (the lower position on the lane) in meters"));
3051
3055 TL("The end position on the lane (the higher position on the lane) in meters, must be larger than startPos by more than 0.1m"));
3056
3058
3062 TL("The lateral offset on the named lane at which the vehicle must stop"));
3063
3064 // fill common stop attributes
3065 fillCommonStopAttributes(myTagProperties[currentTag], false);
3066 /*
3067 // netedit attributes
3068 new GNEAttributeProperties(myTagProperties[currentTag], GNE_ATTR_SIZE,
3069 GNEAttributeProperties::Property::FLOAT | GNEAttributeProperties::Property::POSITIVE | GNEAttributeProperties::Property::UPDATEGEOMETRY | GNEAttributeProperties::Edit::NETEDITEDITOR,
3070 TLF("Length of %", myTagProperties[currentTag]->getTagStr()));
3071
3072 new GNEAttributeProperties(myTagProperties[currentTag], GNE_ATTR_FORCESIZE,
3073 GNEAttributeProperties::Property::BOOL | GNEAttributeProperties::Property::DEFAULTVALUE | GNEAttributeProperties::Edit::NETEDITEDITOR,
3074 GNEAttributeProperties::Edit::CREATEMODE | GNEAttributeProperties::Edit::EDITMODE,
3075 TL("Force size during creation"),
3076 GNEAttributeCarrier::False);
3077
3078 new GNEAttributeProperties(myTagProperties[currentTag], GNE_ATTR_REFERENCE,
3079 GNEAttributeProperties::Property::STRING | GNEAttributeProperties::Property::DISCRETE | GNEAttributeProperties::Edit::NETEDITEDITOR,
3080 TLF("Reference position used for creating %", myTagProperties[currentTag]->getTagStr()));
3081 attrProperty->setDiscreteValues(SUMOXMLDefinitions::ReferencePositions.getStrings());
3082 */
3083 }
3084 currentTag = GNE_TAG_STOP_BUSSTOP;
3085 {
3086 // set values of tag
3087 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3093 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(255, 213, 213, 255));
3094 // set values of attributes
3098 TL("BusStop associated with this stop"));
3099
3100 // fill common stop attributes
3101 fillCommonStopAttributes(myTagProperties[currentTag], false);
3102 }
3103 currentTag = GNE_TAG_STOP_TRAINSTOP;
3104 {
3105 // set values of tag
3106 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3112 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(255, 213, 213, 255));
3113 // set values of attributes
3117 TL("TrainStop associated with this stop"));
3118
3119 // fill common stop attributes
3120 fillCommonStopAttributes(myTagProperties[currentTag], false);
3121 }
3122 currentTag = GNE_TAG_STOP_CONTAINERSTOP;
3123 {
3124 // set values of tag
3125 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3131 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(255, 213, 213, 255));
3132 // set values of attributes
3136 TL("ContainerStop associated with this stop"));
3137
3138 // fill common stop attributes
3139 fillCommonStopAttributes(myTagProperties[currentTag], false);
3140 }
3141 currentTag = GNE_TAG_STOP_CHARGINGSTATION;
3142 {
3143 // set values of tag
3144 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3150 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(255, 213, 213, 255));
3151 // set values of attributes
3155 TL("ChargingStation associated with this stop"));
3156
3157 // fill common stop attributes
3158 fillCommonStopAttributes(myTagProperties[currentTag], false);
3159 }
3160 currentTag = GNE_TAG_STOP_PARKINGAREA;
3161 {
3162 // set values of tag
3163 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3169 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(255, 213, 213, 255));
3170 // set values of attributes
3174 TL("ParkingArea associated with this stop"));
3175
3176 // fill common stop attributes (no parking)
3177 fillCommonStopAttributes(myTagProperties[currentTag], false);
3178 }
3179}
3180
3181
3182void
3184 // fill waypoints ACs
3185 SumoXMLTag currentTag = GNE_TAG_WAYPOINT_LANE;
3186 {
3187 // set values of tag
3188 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3194 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(240, 255, 205, 255));
3195 // set values of attributes
3196 fillLaneAttribute(myTagProperties[currentTag], false);
3197
3201 TL("The begin position on the lane (the lower position on the lane) in meters"));
3202
3206 TL("The end position on the lane (the higher position on the lane) in meters, must be larger than startPos by more than 0.1m"));
3207
3209
3213 TL("The lateral offset on the named lane at which the vehicle must waypoint"));
3214
3215 // fill common waypoint (stop) attributes
3216 fillCommonStopAttributes(myTagProperties[currentTag], true);
3217 /*
3218 // netedit attributes
3219 new GNEAttributeProperties(myTagProperties[currentTag], GNE_ATTR_SIZE,
3220 GNEAttributeProperties::Property::FLOAT | GNEAttributeProperties::Property::POSITIVE | GNEAttributeProperties::Property::UPDATEGEOMETRY | GNEAttributeProperties::Edit::NETEDITEDITOR,
3221 TLF("Length of %", myTagProperties[currentTag]->getTagStr()));
3222
3223 new GNEAttributeProperties(myTagProperties[currentTag], GNE_ATTR_FORCESIZE,
3224 GNEAttributeProperties::Property::BOOL | GNEAttributeProperties::Property::DEFAULTVALUE | GNEAttributeProperties::Edit::NETEDITEDITOR,
3225 GNEAttributeProperties::Edit::CREATEMODE | GNEAttributeProperties::Edit::EDITMODE,
3226 TL("Force size during creation"),
3227 GNEAttributeCarrier::False);
3228
3229 new GNEAttributeProperties(myTagProperties[currentTag], GNE_ATTR_REFERENCE,
3230 GNEAttributeProperties::Property::STRING | GNEAttributeProperties::Property::DISCRETE | GNEAttributeProperties::Edit::NETEDITEDITOR,
3231 TLF("Reference position used for creating %", myTagProperties[currentTag]->getTagStr()));
3232 attrProperty->setDiscreteValues(SUMOXMLDefinitions::ReferencePositions.getStrings());
3233 */
3234 }
3235 currentTag = GNE_TAG_WAYPOINT_BUSSTOP;
3236 {
3237 // set values of tag
3238 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3244 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(240, 255, 205, 255));
3245 // set values of attributes
3249 TL("BusWaypoint associated with this waypoint"));
3250
3251 // fill common waypoint (stop) attributes
3252 fillCommonStopAttributes(myTagProperties[currentTag], true);
3253 }
3254 currentTag = GNE_TAG_WAYPOINT_TRAINSTOP;
3255 {
3256 // set values of tag
3257 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3263 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(240, 255, 205, 255));
3264 // set values of attributes
3268 TL("TrainWaypoint associated with this waypoint"));
3269
3270 // fill common waypoint (stop) attributes
3271 fillCommonStopAttributes(myTagProperties[currentTag], true);
3272 }
3273 currentTag = GNE_TAG_WAYPOINT_CONTAINERSTOP;
3274 {
3275 // set values of tag
3276 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3281 GUIIcon::WAYPOINT, GUIGlObjectType::GLO_STOP, SUMO_TAG_STOP, TL("WaypointContainerStop"),
3282 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(240, 255, 205, 255));
3283 // set values of attributes
3287 TL("ContainerWaypoint associated with this waypoint"));
3288
3289 // fill common waypoint (stop) attributes
3290 fillCommonStopAttributes(myTagProperties[currentTag], true);
3291 }
3293 {
3294 // set values of tag
3295 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3300 GUIIcon::WAYPOINT, GUIGlObjectType::GLO_STOP, SUMO_TAG_STOP, TL("WaypointChargingStation"),
3301 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(240, 255, 205, 255));
3302 // set values of attributes
3306 TL("ChargingStation associated with this waypoint"));
3307
3308 // fill common waypoint (stop) attributes
3309 fillCommonStopAttributes(myTagProperties[currentTag], true);
3310 }
3311 currentTag = GNE_TAG_WAYPOINT_PARKINGAREA;
3312 {
3313 // set values of tag
3314 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_STOPS),
3320 {SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_FLOW}, FXRGBA(240, 255, 205, 255));
3321 // set values of attributes
3325 TL("ParkingArea associated with this waypoint"));
3326
3327 // fill common waypoint (stop) attributes
3328 fillCommonStopAttributes(myTagProperties[currentTag], true);
3329 }
3330}
3331
3332
3333void
3369
3370
3371void
3373 // fill vehicle ACs
3374 SumoXMLTag currentTag = SUMO_TAG_CONTAINER;
3375 {
3376 // set values of tag
3382 GUIIcon::CONTAINER, GUIGlObjectType::GLO_CONTAINER, currentTag, TL("Container"));
3383
3384 // add flow attributes
3386
3388 }
3389 currentTag = SUMO_TAG_CONTAINERFLOW;
3390 {
3391 // set values of tag
3397 GUIIcon::CONTAINERFLOW, GUIGlObjectType::GLO_CONTAINERFLOW, currentTag, TL("ContainerFlow"));
3398
3399 // add common container attribute
3401
3402 // add flow attributes
3404 }
3405}
3406
3407
3408void
3410 // declare common tag types and properties
3413 const auto tagPropertyTAZ = GNETagProperties::Property::RTREE | tagProperty;
3414 const auto conflicts = GNETagProperties::Conflicts::NO_CONFLICTS;
3415 const std::vector<SumoXMLTag> parents({SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW});
3416 const unsigned int color = FXRGBA(240, 255, 205, 255);
3417 const GUIIcon icon = GUIIcon::TRANSPORT_EDGE;
3419 const SumoXMLTag xmlTag = SUMO_TAG_TRANSPORT;
3420 // from edge
3422 {
3423 // set values of tag
3424 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3426 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("edge"), TL("edge")), parents, color);
3427 // set values of attributes
3430 }
3431 currentTag = GNE_TAG_TRANSPORT_EDGE_TAZ;
3432 {
3433 // set values of tag
3434 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3436 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("edge"), TL("taz")), parents, color);
3437 // set values of attributes
3440 }
3442 {
3443 // set values of tag
3444 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3446 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("edge"), TL("junction")), parents, color);
3447 // set values of attributes
3450 }
3451 currentTag = GNE_TAG_TRANSPORT_EDGE_BUSSTOP;
3452 {
3453 // set values of tag
3454 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3456 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("edge"), TL("busStop")), parents, color);
3457 // set values of attributes
3460 }
3462 {
3463 // set values of tag
3464 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3466 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("edge"), TL("trainStop")), parents, color);
3467 // set values of attributes
3470 }
3472 {
3473 // set values of tag
3474 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3476 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("edge"), TL("containerStop")), parents, color);
3477 // set values of attributes
3480 }
3482 {
3483 // set values of tag
3484 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3486 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("edge"), TL("chargingStation")), parents, color);
3487 // set values of attributes
3490 }
3492 {
3493 // set values of tag
3494 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3496 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("edge"), TL("parkingArea")), parents, color);
3497 // set values of attributes
3500 }
3501 // from taz
3502 currentTag = GNE_TAG_TRANSPORT_TAZ_EDGE;
3503 {
3504 // set values of tag
3505 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3507 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("taz"), TL("taz")), parents, color);
3508 // set values of attributes
3511 }
3512 currentTag = GNE_TAG_TRANSPORT_TAZ_TAZ;
3513 {
3514 // set values of tag
3515 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3517 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("taz"), TL("taz")), parents, color);
3518 // set values of attributes
3521 }
3522 currentTag = GNE_TAG_TRANSPORT_TAZ_JUNCTION;
3523 {
3524 // set values of tag
3525 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3527 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("taz"), TL("junction")), parents, color);
3528 // set values of attributes
3531 }
3532 currentTag = GNE_TAG_TRANSPORT_TAZ_BUSSTOP;
3533 {
3534 // set values of tag
3535 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3537 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("taz"), TL("busStop")), parents, color);
3538 // set values of attributes
3541 }
3543 {
3544 // set values of tag
3545 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3547 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("taz"), TL("trainStop")), parents, color);
3548 // set values of attributes
3551 }
3553 {
3554 // set values of tag
3555 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3557 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("taz"), TL("containerStop")), parents, color);
3558 // set values of attributes
3561 }
3563 {
3564 // set values of tag
3565 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3567 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("taz"), TL("chargingStation")), parents, color);
3568 // set values of attributes
3571 }
3573 {
3574 // set values of tag
3575 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3577 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("taz"), TL("parkingArea")), parents, color);
3578 // set values of attributes
3581 }
3582 // from junction
3584 {
3585 // set values of tag
3586 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3588 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("junction"), TL("edge")), parents, color);
3589 // set values of attributes
3592 }
3593 currentTag = GNE_TAG_TRANSPORT_JUNCTION_TAZ;
3594 {
3595 // set values of tag
3596 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3598 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("junction"), TL("taz")), parents, color);
3599 // set values of attributes
3602 }
3604 {
3605 // set values of tag
3606 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3608 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("junction"), TL("junction")), parents, color);
3609 // set values of attributes
3612 }
3614 {
3615 // set values of tag
3616 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3618 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("junction"), TL("busStop")), parents, color);
3619 // set values of attributes
3622 }
3624 {
3625 // set values of tag
3626 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3628 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("junction"), TL("trainStop")), parents, color);
3629 // set values of attributes
3632 }
3634 {
3635 // set values of tag
3636 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3638 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("junction"), TL("containerStop")), parents, color);
3639 // set values of attributes
3642 }
3644 {
3645 // set values of tag
3646 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3648 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("junction"), TL("chargingStation")), parents, color);
3649 // set values of attributes
3652 }
3654 {
3655 // set values of tag
3656 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3658 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("junction"), TL("parkingArea")), parents, color);
3659 // set values of attributes
3662 }
3663 // from busStop
3664 currentTag = GNE_TAG_TRANSPORT_BUSSTOP_EDGE;
3665 {
3666 // set values of tag
3667 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3669 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("busStop"), TL("edge")), parents, color);
3670 // set values of attributes
3673 }
3674 currentTag = GNE_TAG_TRANSPORT_BUSSTOP_TAZ;
3675 {
3676 // set values of tag
3677 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3679 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("busStop"), TL("taz")), parents, color);
3680 // set values of attributes
3683 }
3685 {
3686 // set values of tag
3687 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3689 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("busStop"), TL("junction")), parents, color);
3690 // set values of attributes
3693 }
3695 {
3696 // set values of tag
3697 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3699 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("busStop"), TL("busStop")), parents, color);
3700 // set values of attributes
3703 }
3705 {
3706 // set values of tag
3707 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3709 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("busStop"), TL("trainStop")), parents, color);
3710 // set values of attributes
3713 }
3715 {
3716 // set values of tag
3717 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3719 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("busStop"), TL("containerStop")), parents, color);
3720 // set values of attributes
3723 }
3725 {
3726 // set values of tag
3727 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3729 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("busStop"), TL("chargingStation")), parents, color);
3730 // set values of attributes
3733 }
3735 {
3736 // set values of tag
3737 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3739 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("busStop"), TL("parkingArea")), parents, color);
3740 // set values of attributes
3743 }
3744 // from trainStop
3746 {
3747 // set values of tag
3748 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3750 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("trainStop"), TL("edge")), parents, color);
3751 // set values of attributes
3754 }
3756 {
3757 // set values of tag
3758 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3760 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("trainStop"), TL("taz")), parents, color);
3761 // set values of attributes
3764 }
3766 {
3767 // set values of tag
3768 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3770 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("trainStop"), TL("junction")), parents, color);
3771 // set values of attributes
3774 }
3776 {
3777 // set values of tag
3778 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3780 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("trainStop"), TL("busStop")), parents, color);
3781 // set values of attributes
3784 }
3786 {
3787 // set values of tag
3788 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3790 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("trainStop"), TL("trainStop")), parents, color);
3791 // set values of attributes
3794 }
3796 {
3797 // set values of tag
3798 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3800 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("trainStop"), TL("containerStop")), parents, color);
3801 // set values of attributes
3804 }
3806 {
3807 // set values of tag
3808 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3810 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("trainStop"), TL("chargingStation")), parents, color);
3811 // set values of attributes
3814 }
3816 {
3817 // set values of tag
3818 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3820 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("trainStop"), TL("parkingArea")), parents, color);
3821 // set values of attributes
3824 }
3825 // from containerStop
3827 {
3828 // set values of tag
3829 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3831 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("containerStop"), TL("edge")), parents, color);
3832 // set values of attributes
3835 }
3837 {
3838 // set values of tag
3839 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3841 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("containerStop"), TL("taz")), parents, color);
3842 // set values of attributes
3845 }
3847 {
3848 // set values of tag
3849 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3851 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("containerStop"), TL("junction")), parents, color);
3852 // set values of attributes
3855 }
3857 {
3858 // set values of tag
3859 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3861 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("containerStop"), TL("busStop")), parents, color);
3862 // set values of attributes
3865 }
3867 {
3868 // set values of tag
3869 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3871 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("containerStop"), TL("trainStop")), parents, color);
3872 // set values of attributes
3875 }
3877 {
3878 // set values of tag
3879 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3881 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("containerStop"), TL("containerStop")), parents, color);
3882 // set values of attributes
3885 }
3887 {
3888 // set values of tag
3889 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3891 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("containerStop"), TL("chargingStation")), parents, color);
3892 // set values of attributes
3895 }
3897 {
3898 // set values of tag
3899 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3901 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("containerStop"), TL("parkingArea")), parents, color);
3902
3903 // set values of attributes
3906 }
3907 // from chargingStation
3909 {
3910 // set values of tag
3911 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3913 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("chargingStation"), TL("edge")), parents, color);
3914 // set values of attributes
3917 }
3919 {
3920 // set values of tag
3921 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
3923 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("chargingStation"), TL("taz")), parents, color);
3924 // set values of attributes
3927 }
3929 {
3930 // set values of tag
3931 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3933 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("chargingStation"), TL("junction")), parents, color);
3934 // set values of attributes
3937 }
3939 {
3940 // set values of tag
3941 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3943 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("chargingStation"), TL("busStop")), parents, color);
3944 // set values of attributes
3947 }
3949 {
3950 // set values of tag
3951 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3953 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("chargingStation"), TL("trainStop")), parents, color);
3954 // set values of attributes
3957 }
3959 {
3960 // set values of tag
3961 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3963 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("chargingStation"), TL("containerStop")), parents, color);
3964 // set values of attributes
3967 }
3969 {
3970 // set values of tag
3971 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3973 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("chargingStation"), TL("chargingStation")), parents, color);
3974 // set values of attributes
3977 }
3979 {
3980 // set values of tag
3981 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3983 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("chargingStation"), TL("parkingArea")), parents, color);
3984 // set values of attributes
3987 }
3988 // from parkingArea
3990 {
3991 // set values of tag
3992 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
3994 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("parkingArea"), TL("edge")), parents, color);
3995 // set values of attributes
3998 }
4000 {
4001 // set values of tag
4002 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagPropertyTAZ,
4004 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("parkingArea"), TL("taz")), parents, color);
4005 // set values of attributes
4008 }
4010 {
4011 // set values of tag
4012 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
4014 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("parkingArea"), TL("junction")), parents, color);
4015 // set values of attributes
4018 }
4020 {
4021 // set values of tag
4022 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
4024 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("parkingArea"), TL("busStop")), parents, color);
4025 // set values of attributes
4028 }
4030 {
4031 // set values of tag
4032 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
4034 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("parkingArea"), TL("trainStop")), parents, color);
4035 // set values of attributes
4038 }
4040 {
4041 // set values of tag
4042 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
4044 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("parkingArea"), TL("containerStop")), parents, color);
4045 // set values of attributes
4048 }
4050 {
4051 // set values of tag
4052 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
4054 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("parkingArea"), TL("chargingStation")), parents, color);
4055 // set values of attributes
4058 }
4060 {
4061 // set values of tag
4062 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSPORTS), tagType, tagProperty,
4064 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Transport"), TL("parkingArea"), TL("parkingArea")), parents, color);
4065 // set values of attributes
4068 }
4069}
4070
4071
4072void
4074 // declare common tag types and properties
4077 const auto tagPropertyTAZ = GNETagProperties::Property::RTREE | tagProperty;
4078 const auto conflicts = GNETagProperties::Conflicts::NO_CONFLICTS;
4079 const std::vector<SumoXMLTag> parents({SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW});
4080 const unsigned int color = FXRGBA(210, 233, 255, 255);
4081 const GUIIcon icon = GUIIcon::TRANSHIP_EDGES;
4083 const SumoXMLTag xmlTag = SUMO_TAG_TRANSHIP;
4084 // fill tags
4086 {
4087 // set values of tag
4088 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4090 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("Tranship"), TL("edges")), parents, color);
4091 // set values of attributes
4094 }
4095 // from edge
4096 currentTag = GNE_TAG_TRANSHIP_EDGE_EDGE;
4097 {
4098 // set values of tag
4099 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4101 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("edge"), TL("edge")), parents, color);
4102 // set values of attributes
4105 }
4106 currentTag = GNE_TAG_TRANSHIP_EDGE_TAZ;
4107 {
4108 // set values of tag
4109 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4111 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("edge"), TL("taz")), parents, color);
4112 // set values of attributes
4115 }
4116 currentTag = GNE_TAG_TRANSHIP_EDGE_JUNCTION;
4117 {
4118 // set values of tag
4119 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4121 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("edge"), TL("junction")), parents, color);
4122 // set values of attributes
4125 }
4126 currentTag = GNE_TAG_TRANSHIP_EDGE_BUSSTOP;
4127 {
4128 // set values of tag
4129 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4131 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("edge"), TL("busStop")), parents, color);
4132 // set values of attributes
4135 }
4137 {
4138 // set values of tag
4139 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4141 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("edge"), TL("trainStop")), parents, color);
4142 // set values of attributes
4145 }
4147 {
4148 // set values of tag
4149 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4151 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("edge"), TL("containerStop")), parents, color);
4152 // set values of attributes
4155 }
4157 {
4158 // set values of tag
4159 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4161 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("edge"), TL("chargingStation")), parents, color);
4162 // set values of attributes
4165 }
4167 {
4168 // set values of tag
4169 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4171 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("edge"), TL("parkingArea")), parents, color);
4172 // set values of attributes
4175 }
4176 // from taz
4177 currentTag = GNE_TAG_TRANSHIP_TAZ_EDGE;
4178 {
4179 // set values of tag
4180 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4182 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("taz"), TL("taz")), parents, color);
4183 // set values of attributes
4186 }
4187 currentTag = GNE_TAG_TRANSHIP_TAZ_TAZ;
4188 {
4189 // set values of tag
4190 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4192 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("taz"), TL("taz")), parents, color);
4193 // set values of attributes
4196 }
4197 currentTag = GNE_TAG_TRANSHIP_TAZ_JUNCTION;
4198 {
4199 // set values of tag
4200 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4202 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("taz"), TL("junction")), parents, color);
4203 // set values of attributes
4206 }
4207 currentTag = GNE_TAG_TRANSHIP_TAZ_BUSSTOP;
4208 {
4209 // set values of tag
4210 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4212 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("taz"), TL("busStop")), parents, color);
4213 // set values of attributes
4216 }
4217 currentTag = GNE_TAG_TRANSHIP_TAZ_TRAINSTOP;
4218 {
4219 // set values of tag
4220 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4222 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("taz"), TL("trainStop")), parents, color);
4223 // set values of attributes
4226 }
4228 {
4229 // set values of tag
4230 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4232 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("taz"), TL("containerStop")), parents, color);
4233 // set values of attributes
4236 }
4238 {
4239 // set values of tag
4240 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4242 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("taz"), TL("chargingStation")), parents, color);
4243 // set values of attributes
4246 }
4248 {
4249 // set values of tag
4250 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4252 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("taz"), TL("parkingArea")), parents, color);
4253 // set values of attributes
4256 }
4257 // from junction
4258 currentTag = GNE_TAG_TRANSHIP_JUNCTION_EDGE;
4259 {
4260 // set values of tag
4261 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4263 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("junction"), TL("edge")), parents, color);
4264 // set values of attributes
4267 }
4268 currentTag = GNE_TAG_TRANSHIP_JUNCTION_TAZ;
4269 {
4270 // set values of tag
4271 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4273 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("junction"), TL("taz")), parents, color);
4274 // set values of attributes
4277 }
4279 {
4280 // set values of tag
4281 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4283 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("junction"), TL("junction")), parents, color);
4284 // set values of attributes
4287 }
4289 {
4290 // set values of tag
4291 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4293 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("junction"), TL("busStop")), parents, color);
4294 // set values of attributes
4297 }
4299 {
4300 // set values of tag
4301 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4303 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("junction"), TL("trainStop")), parents, color);
4304 // set values of attributes
4307 }
4309 {
4310 // set values of tag
4311 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4313 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("junction"), TL("containerStop")), parents, color);
4314 // set values of attributes
4317 }
4319 {
4320 // set values of tag
4321 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4323 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("junction"), TL("chargingStation")), parents, color);
4324 // set values of attributes
4327 }
4329 {
4330 // set values of tag
4331 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4333 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("junction"), TL("parkingArea")), parents, color);
4334 // set values of attributes
4337 }
4338 // from busStop
4339 currentTag = GNE_TAG_TRANSHIP_BUSSTOP_EDGE;
4340 {
4341 // set values of tag
4342 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4344 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("busStop"), TL("edge")), parents, color);
4345 // set values of attributes
4348 }
4349 currentTag = GNE_TAG_TRANSHIP_BUSSTOP_TAZ;
4350 {
4351 // set values of tag
4352 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4354 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("busStop"), TL("taz")), parents, color);
4355 // set values of attributes
4358 }
4360 {
4361 // set values of tag
4362 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4364 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("busStop"), TL("junction")), parents, color);
4365 // set values of attributes
4368 }
4370 {
4371 // set values of tag
4372 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4374 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("busStop"), TL("busStop")), parents, color);
4375 // set values of attributes
4378 }
4380 {
4381 // set values of tag
4382 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4384 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("busStop"), TL("trainStop")), parents, color);
4385 // set values of attributes
4388 }
4390 {
4391 // set values of tag
4392 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4394 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("busStop"), TL("containerStop")), parents, color);
4395 // set values of attributes
4398 }
4400 {
4401 // set values of tag
4402 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4404 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("busStop"), TL("chargingStation")), parents, color);
4405 // set values of attributes
4408 }
4410 {
4411 // set values of tag
4412 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4414 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("busStop"), TL("parkingArea")), parents, color);
4415 // set values of attributes
4418 }
4419 // from trainStop
4421 {
4422 // set values of tag
4423 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4425 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("trainStop"), TL("edge")), parents, color);
4426 // set values of attributes
4429 }
4430 currentTag = GNE_TAG_TRANSHIP_TRAINSTOP_TAZ;
4431 {
4432 // set values of tag
4433 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4435 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("trainStop"), TL("taz")), parents, color);
4436 // set values of attributes
4439 }
4441 {
4442 // set values of tag
4443 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4445 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("trainStop"), TL("junction")), parents, color);
4446 // set values of attributes
4449 }
4451 {
4452 // set values of tag
4453 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4455 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("trainStop"), TL("busStop")), parents, color);
4456 // set values of attributes
4459 }
4461 {
4462 // set values of tag
4463 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4465 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("trainStop"), TL("trainStop")), parents, color);
4466 // set values of attributes
4469 }
4471 {
4472 // set values of tag
4473 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4475 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("trainStop"), TL("containerStop")), parents, color);
4476 // set values of attributes
4479 }
4481 {
4482 // set values of tag
4483 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4485 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("trainStop"), TL("chargingStation")), parents, color);
4486 // set values of attributes
4489 }
4491 {
4492 // set values of tag
4493 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4495 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("trainStop"), TL("parkingArea")), parents, color);
4496 // set values of attributes
4499 }
4500 // from containerStop
4502 {
4503 // set values of tag
4504 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4506 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("containerStop"), TL("edge")), parents, color);
4507 // set values of attributes
4510 }
4512 {
4513 // set values of tag
4514 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4516 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("containerStop"), TL("taz")), parents, color);
4517 // set values of attributes
4520 }
4522 {
4523 // set values of tag
4524 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4526 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("containerStop"), TL("junction")), parents, color);
4527 // set values of attributes
4530 }
4532 {
4533 // set values of tag
4534 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4536 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("containerStop"), TL("busStop")), parents, color);
4537 // set values of attributes
4540 }
4542 {
4543 // set values of tag
4544 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4546 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("containerStop"), TL("trainStop")), parents, color);
4547 // set values of attributes
4550 }
4552 {
4553 // set values of tag
4554 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4556 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("containerStop"), TL("containerStop")), parents, color);
4557 // set values of attributes
4560 }
4562 {
4563 // set values of tag
4564 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4566 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("containerStop"), TL("chargingStation")), parents, color);
4567 // set values of attributes
4570 }
4572 {
4573 // set values of tag
4574 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4576 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("containerStop"), TL("parkingArea")), parents, color);
4577 // set values of attributes
4580 }
4581 // from chargingStation
4583 {
4584 // set values of tag
4585 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4587 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("chargingStation"), TL("edge")), parents, color);
4588 // set values of attributes
4591 }
4593 {
4594 // set values of tag
4595 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4597 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("chargingStation"), TL("taz")), parents, color);
4598 // set values of attributes
4601 }
4603 {
4604 // set values of tag
4605 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4607 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("chargingStation"), TL("junction")), parents, color);
4608 // set values of attributes
4611 }
4613 {
4614 // set values of tag
4615 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4617 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("chargingStation"), TL("busStop")), parents, color);
4618 // set values of attributes
4621 }
4623 {
4624 // set values of tag
4625 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4627 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("chargingStation"), TL("trainStop")), parents, color);
4628 // set values of attributes
4631 }
4633 {
4634 // set values of tag
4635 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4637 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("chargingStation"), TL("containerStop")), parents, color);
4638 // set values of attributes
4641 }
4643 {
4644 // set values of tag
4645 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4647 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("chargingStation"), TL("chargingStation")), parents, color);
4648 // set values of attributes
4651 }
4653 {
4654 // set values of tag
4655 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4657 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("chargingStation"), TL("parkingArea")), parents, color);
4658 // set values of attributes
4661 }
4662 // from parkingArea
4664 {
4665 // set values of tag
4666 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4668 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("parkingArea"), TL("edge")), parents, color);
4669 // set values of attributes
4672 }
4674 {
4675 // set values of tag
4676 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagPropertyTAZ,
4678 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("parkingArea"), TL("taz")), parents, color);
4679 // set values of attributes
4682 }
4684 {
4685 // set values of tag
4686 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4688 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("parkingArea"), TL("junction")), parents, color);
4689 // set values of attributes
4692 }
4694 {
4695 // set values of tag
4696 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4698 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("parkingArea"), TL("busStop")), parents, color);
4699 // set values of attributes
4702 }
4704 {
4705 // set values of tag
4706 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4708 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("parkingArea"), TL("trainStop")), parents, color);
4709 // set values of attributes
4712 }
4714 {
4715 // set values of tag
4716 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4718 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("parkingArea"), TL("containerStop")), parents, color);
4719 // set values of attributes
4722 }
4724 {
4725 // set values of tag
4726 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4728 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("parkingArea"), TL("chargingStation")), parents, color);
4729 // set values of attributes
4732 }
4734 {
4735 // set values of tag
4736 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_TRANSHIPS), tagType, tagProperty,
4738 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Tranship"), TL("parkingArea"), TL("parkingArea")), parents, color);
4739 // set values of attributes
4742 }
4743}
4744
4745
4746void
4748 // declare common tag types and properties
4751 const auto conflicts = GNETagProperties::Conflicts::NO_CONFLICTS;
4752 const std::vector<SumoXMLTag> parents({SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW});
4753 const unsigned int color = FXRGBA(255, 213, 213, 255);
4754 const GUIIcon icon = GUIIcon::STOPELEMENT;
4756 const SumoXMLTag xmlTag = SUMO_TAG_STOP;
4757 // fill tags
4759 {
4760 // set values of tag
4761 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_CONTAINERSTOPS), tagType, tagProperty,
4763 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("ContainerStop"), TL("edge")), parents, color);
4764
4765 // set values of attributes
4768 }
4769 currentTag = GNE_TAG_STOPCONTAINER_BUSSTOP;
4770 {
4771 // set values of tag
4772 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_CONTAINERSTOPS), tagType, tagProperty,
4774 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("ContainerStop"), TL("busStop")), parents, color);
4775
4776 // set values of attributes
4779 }
4781 {
4782 // set values of tag
4783 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_CONTAINERSTOPS), tagType, tagProperty,
4785 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("ContainerStop"), TL("trainStop")), parents, color);
4786
4787 // set values of attributes
4790 }
4792 {
4793 // set values of tag
4794 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_CONTAINERSTOPS), tagType, tagProperty,
4796 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("ContainerStop"), TL("containerStop")), parents, color);
4797
4798 // set values of attributes
4801 }
4803 {
4804 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_CONTAINERSTOPS), tagType, tagProperty,
4806 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("ContainerStop"), TL("chargingStation")), parents, color);
4807
4808 // set values of attributes
4811 }
4813 {
4814 // set values of tag
4815 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_CONTAINERSTOPS), tagType, tagProperty,
4817 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("ContainerStop"), TL("parkingArea")), parents, color);
4818
4819 // set values of attributes
4822 }
4823}
4824
4825
4826void
4828 // declare common tag types and properties
4831 const auto tagPropertyTAZ = GNETagProperties::Property::RTREE | tagProperty;
4832 const auto conflicts = GNETagProperties::Conflicts::NO_CONFLICTS;
4833 const std::vector<SumoXMLTag> parents({SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW});
4834 const unsigned int color = FXRGBA(253, 255, 206, 255);
4835 const GUIIcon icon = GUIIcon::PERSONTRIP_EDGE;
4837 const SumoXMLTag xmlTag = SUMO_TAG_PERSONTRIP;
4838 // from edge
4840 {
4841 // set values of tag
4842 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
4844 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("edge"), TL("edge")), parents, color);
4845 // set values of attributes
4848 }
4849 currentTag = GNE_TAG_PERSONTRIP_EDGE_TAZ;
4850 {
4851 // set values of tag
4852 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4854 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("edge"), TL("taz")), parents, color);
4855 // set values of attributes
4858 }
4860 {
4861 // set values of tag
4862 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
4864 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("edge"), TL("junction")), parents, color);
4865 // set values of attributes
4868 }
4870 {
4871 // set values of tag
4872 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
4874 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("edge"), TL("busStop")), parents, color);
4875 // set values of attributes
4878 }
4880 {
4881 // set values of tag
4882 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
4884 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("edge"), TL("trainStop")), parents, color);
4885 // set values of attributes
4888 }
4890 {
4891 // set values of tag
4892 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
4894 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("edge"), TL("containerStop")), parents, color);
4895 // set values of attributes
4898 }
4900 {
4901 // set values of tag
4902 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
4904 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("edge"), TL("chargingStation")), parents, color);
4905 // set values of attributes
4908 }
4910 {
4911 // set values of tag
4912 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
4914 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("edge"), TL("parkingArea")), parents, color);
4915 // set values of attributes
4918 }
4919 // from taz
4920 currentTag = GNE_TAG_PERSONTRIP_TAZ_EDGE;
4921 {
4922 // set values of tag
4923 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4925 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("taz"), TL("taz")), parents, color);
4926 // set values of attributes
4929 }
4930 currentTag = GNE_TAG_PERSONTRIP_TAZ_TAZ;
4931 {
4932 // set values of tag
4933 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4935 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("taz"), TL("taz")), parents, color);
4936 // set values of attributes
4939 }
4941 {
4942 // set values of tag
4943 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4945 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("taz"), TL("junction")), parents, color);
4946 // set values of attributes
4949 }
4950 currentTag = GNE_TAG_PERSONTRIP_TAZ_BUSSTOP;
4951 {
4952 // set values of tag
4953 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4955 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("taz"), TL("busStop")), parents, color);
4956 // set values of attributes
4959 }
4961 {
4962 // set values of tag
4963 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4965 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("taz"), TL("trainStop")), parents, color);
4966 // set values of attributes
4969 }
4971 {
4972 // set values of tag
4973 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4975 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("taz"), TL("containerStop")), parents, color);
4976 // set values of attributes
4979 }
4981 {
4982 // set values of tag
4983 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4985 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("taz"), TL("chargingStation")), parents, color);
4986 // set values of attributes
4989 }
4991 {
4992 // set values of tag
4993 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
4995 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("taz"), TL("parkingArea")), parents, color);
4996 // set values of attributes
4999 }
5000 // from junction
5002 {
5003 // set values of tag
5004 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5006 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("junction"), TL("edge")), parents, color);
5007 // set values of attributes
5010 }
5012 {
5013 // set values of tag
5014 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
5016 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("junction"), TL("taz")), parents, color);
5017 // set values of attributes
5020 }
5022 {
5023 // set values of tag
5024 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5026 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("junction"), TL("junction")), parents, color);
5027 // set values of attributes
5030 }
5032 {
5033 // set values of tag
5034 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5036 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("junction"), TL("busStop")), parents, color);
5037 // set values of attributes
5040 }
5042 {
5043 // set values of tag
5044 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5046 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("junction"), TL("trainStop")), parents, color);
5047 // set values of attributes
5050 }
5052 {
5053 // set values of tag
5054 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5056 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("junction"), TL("containerStop")), parents, color);
5057 // set values of attributes
5060 }
5062 {
5063 // set values of tag
5064 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5066 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("junction"), TL("chargingStation")), parents, color);
5067 // set values of attributes
5070 }
5072 {
5073 // set values of tag
5074 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5076 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("junction"), TL("parkingArea")), parents, color);
5077 // set values of attributes
5080 }
5081 // from busStop
5083 {
5084 // set values of tag
5085 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5087 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("busStop"), TL("edge")), parents, color);
5088 // set values of attributes
5091 }
5092 currentTag = GNE_TAG_PERSONTRIP_BUSSTOP_TAZ;
5093 {
5094 // set values of tag
5095 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
5097 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("busStop"), TL("taz")), parents, color);
5098 // set values of attributes
5101 }
5103 {
5104 // set values of tag
5105 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5107 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("busStop"), TL("junction")), parents, color);
5108 // set values of attributes
5111 }
5113 {
5114 // set values of tag
5115 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5117 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("busStop"), TL("busStop")), parents, color);
5118 // set values of attributes
5121 }
5123 {
5124 // set values of tag
5125 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5127 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("busStop"), TL("trainStop")), parents, color);
5128 // set values of attributes
5131 }
5133 {
5134 // set values of tag
5135 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5137 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("busStop"), TL("containerStop")), parents, color);
5138 // set values of attributes
5141 }
5143 {
5144 // set values of tag
5145 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5147 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("busStop"), TL("chargingStation")), parents, color);
5148 // set values of attributes
5151 }
5153 {
5154 // set values of tag
5155 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5157 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("busStop"), TL("parkingArea")), parents, color);
5158 // set values of attributes
5161 }
5162 // from trainStop
5164 {
5165 // set values of tag
5166 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5168 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("trainStop"), TL("edge")), parents, color);
5169 // set values of attributes
5172 }
5174 {
5175 // set values of tag
5176 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
5178 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("trainStop"), TL("taz")), parents, color);
5179 // set values of attributes
5182 }
5184 {
5185 // set values of tag
5186 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5188 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("trainStop"), TL("junction")), parents, color);
5189 // set values of attributes
5192 }
5194 {
5195 // set values of tag
5196 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5198 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("trainStop"), TL("busStop")), parents, color);
5199 // set values of attributes
5202 }
5204 {
5205 // set values of tag
5206 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5208 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("trainStop"), TL("trainStop")), parents, color);
5209 // set values of attributes
5212 }
5214 {
5215 // set values of tag
5216 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5218 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("trainStop"), TL("containerStop")), parents, color);
5219 // set values of attributes
5222 }
5224 {
5225 // set values of tag
5226 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5228 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("trainStop"), TL("chargingStation")), parents, color);
5229 // set values of attributes
5232 }
5234 {
5235 // set values of tag
5236 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5238 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("trainStop"), TL("parkingArea")), parents, color);
5239 // set values of attributes
5242 }
5243 // from containerStop
5245 {
5246 // set values of tag
5247 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5249 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("containerStop"), TL("edge")), parents, color);
5250 // set values of attributes
5253 }
5255 {
5256 // set values of tag
5257 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
5259 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("containerStop"), TL("taz")), parents, color);
5260 // set values of attributes
5263 }
5265 {
5266 // set values of tag
5267 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5269 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("containerStop"), TL("junction")), parents, color);
5270 // set values of attributes
5273 }
5275 {
5276 // set values of tag
5277 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5279 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("containerStop"), TL("busStop")), parents, color);
5280 // set values of attributes
5283 }
5285 {
5286 // set values of tag
5287 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5289 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("containerStop"), TL("trainStop")), parents, color);
5290 // set values of attributes
5293 }
5295 {
5296 // set values of tag
5297 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5299 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("containerStop"), TL("containerStop")), parents, color);
5300 // set values of attributes
5303 }
5305 {
5306 // set values of tag
5307 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5309 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("containerStop"), TL("chargingStation")), parents, color);
5310 // set values of attributes
5313 }
5315 {
5316 // set values of tag
5317 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5319 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("containerStop"), TL("parkingArea")), parents, color);
5320 // set values of attributes
5323 }
5324 // from chargingStation
5326 {
5327 // set values of tag
5328 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5330 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("chargingStation"), TL("edge")), parents, color);
5331 // set values of attributes
5334 }
5336 {
5337 // set values of tag
5338 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
5340 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("chargingStation"), TL("taz")), parents, color);
5341 // set values of attributes
5344 }
5346 {
5347 // set values of tag
5348 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5350 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("chargingStation"), TL("junction")), parents, color);
5351 // set values of attributes
5354 }
5356 {
5357 // set values of tag
5358 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5360 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("chargingStation"), TL("busStop")), parents, color);
5361 // set values of attributes
5364 }
5366 {
5367 // set values of tag
5368 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5370 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("chargingStation"), TL("trainStop")), parents, color);
5371 // set values of attributes
5374 }
5376 {
5377 // set values of tag
5378 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5380 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("chargingStation"), TL("containerStop")), parents, color);
5381 // set values of attributes
5384 }
5386 {
5387 // set values of tag
5388 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5390 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("chargingStation"), TL("chargingStation")), parents, color);
5391 // set values of attributes
5394 }
5396 {
5397 // set values of tag
5398 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5400 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("chargingStation"), TL("parkingArea")), parents, color);
5401 // set values of attributes
5404 }
5405 // from parkingArea
5407 {
5408 // set values of tag
5409 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5411 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("parkingArea"), TL("edge")), parents, color);
5412 // set values of attributes
5415 }
5417 {
5418 // set values of tag
5419 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagPropertyTAZ,
5421 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("parkingArea"), TL("taz")), parents, color);
5422 // set values of attributes
5425 }
5427 {
5428 // set values of tag
5429 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5431 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("parkingArea"), TL("junction")), parents, color);
5432 // set values of attributes
5435 }
5437 {
5438 // set values of tag
5439 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5441 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("parkingArea"), TL("busStop")), parents, color);
5442 // set values of attributes
5445 }
5447 {
5448 // set values of tag
5449 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5451 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("parkingArea"), TL("trainStop")), parents, color);
5452 // set values of attributes
5455 }
5457 {
5458 // set values of tag
5459 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5461 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("parkingArea"), TL("containerStop")), parents, color);
5462 // set values of attributes
5465 }
5467 {
5468 // set values of tag
5469 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5471 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("parkingArea"), TL("chargingStation")), parents, color);
5472 // set values of attributes
5475 }
5477 {
5478 // set values of tag
5479 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONTRIPS), tagType, tagProperty,
5481 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("PersonTrip"), TL("parkingArea"), TL("parkingArea")), parents, color);
5482 // set values of attributes
5485 }
5486}
5487
5488
5489void
5491 // declare common tag types and properties
5494 const auto tagPropertyTAZ = GNETagProperties::Property::RTREE | tagProperty;
5495 const auto conflicts = GNETagProperties::Conflicts::NO_CONFLICTS;
5496 const std::vector<SumoXMLTag> parents({SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW});
5497 const unsigned int color = FXRGBA(240, 255, 205, 255);
5498 const GUIIcon icon = GUIIcon::WALK_EDGES;
5500 const SumoXMLTag xmlTag = SUMO_TAG_WALK;
5501 // fill tags
5502 SumoXMLTag currentTag = GNE_TAG_WALK_EDGES;
5503 {
5504 // set values of tag
5505 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5507 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("Walk"), TL("edges")), parents, color);
5508 // set values of attributes
5511 }
5512 currentTag = GNE_TAG_WALK_ROUTE;
5513 {
5514 // set values of tag
5515 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5517 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("Walk"), TL("route")), parents, color);
5518 // set values of attributes
5521 }
5522 // from edge
5523 currentTag = GNE_TAG_WALK_EDGE_EDGE;
5524 {
5525 // set values of tag
5526 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5528 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("edge"), TL("edge")), parents, color);
5529 // set values of attributes
5532 }
5533 currentTag = GNE_TAG_WALK_EDGE_TAZ;
5534 {
5535 // set values of tag
5536 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5538 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("edge"), TL("taz")), parents, color);
5539 // set values of attributes
5542 }
5543 currentTag = GNE_TAG_WALK_EDGE_JUNCTION;
5544 {
5545 // set values of tag
5546 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5548 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("edge"), TL("junction")), parents, color);
5549 // set values of attributes
5552 }
5553 currentTag = GNE_TAG_WALK_EDGE_BUSSTOP;
5554 {
5555 // set values of tag
5556 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5558 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("edge"), TL("busStop")), parents, color);
5559 // set values of attributes
5562 }
5563 currentTag = GNE_TAG_WALK_EDGE_TRAINSTOP;
5564 {
5565 // set values of tag
5566 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5568 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("edge"), TL("trainStop")), parents, color);
5569 // set values of attributes
5572 }
5574 {
5575 // set values of tag
5576 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5578 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("edge"), TL("containerStop")), parents, color);
5579 // set values of attributes
5582 }
5584 {
5585 // set values of tag
5586 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5588 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("edge"), TL("chargingStation")), parents, color);
5589 // set values of attributes
5592 }
5593 currentTag = GNE_TAG_WALK_EDGE_PARKINGAREA;
5594 {
5595 // set values of tag
5596 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5598 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("edge"), TL("parkingArea")), parents, color);
5599 // set values of attributes
5602 }
5603 // from taz
5604 currentTag = GNE_TAG_WALK_TAZ_EDGE;
5605 {
5606 // set values of tag
5607 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5609 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("taz"), TL("taz")), parents, color);
5610 // set values of attributes
5613 }
5614 currentTag = GNE_TAG_WALK_TAZ_TAZ;
5615 {
5616 // set values of tag
5617 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5619 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("taz"), TL("taz")), parents, color);
5620 // set values of attributes
5623 }
5624 currentTag = GNE_TAG_WALK_TAZ_JUNCTION;
5625 {
5626 // set values of tag
5627 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5629 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("taz"), TL("junction")), parents, color);
5630 // set values of attributes
5633 }
5634 currentTag = GNE_TAG_WALK_TAZ_BUSSTOP;
5635 {
5636 // set values of tag
5637 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5639 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("taz"), TL("busStop")), parents, color);
5640 // set values of attributes
5643 }
5644 currentTag = GNE_TAG_WALK_TAZ_TRAINSTOP;
5645 {
5646 // set values of tag
5647 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5649 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("taz"), TL("trainStop")), parents, color);
5650 // set values of attributes
5653 }
5654 currentTag = GNE_TAG_WALK_TAZ_CONTAINERSTOP;
5655 {
5656 // set values of tag
5657 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5659 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("taz"), TL("containerStop")), parents, color);
5660 // set values of attributes
5663 }
5665 {
5666 // set values of tag
5667 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5669 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("taz"), TL("chargingStation")), parents, color);
5670 // set values of attributes
5673 }
5674 currentTag = GNE_TAG_WALK_TAZ_PARKINGAREA;
5675 {
5676 // set values of tag
5677 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5679 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("taz"), TL("parkingArea")), parents, color);
5680 // set values of attributes
5683 }
5684 // from junction
5685 currentTag = GNE_TAG_WALK_JUNCTION_EDGE;
5686 {
5687 // set values of tag
5688 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5690 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("junction"), TL("edge")), parents, color);
5691 // set values of attributes
5694 }
5695 currentTag = GNE_TAG_WALK_JUNCTION_TAZ;
5696 {
5697 // set values of tag
5698 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5700 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("junction"), TL("taz")), parents, color);
5701 // set values of attributes
5704 }
5705 currentTag = GNE_TAG_WALK_JUNCTION_JUNCTION;
5706 {
5707 // set values of tag
5708 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5710 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("junction"), TL("junction")), parents, color);
5711 // set values of attributes
5714 }
5715 currentTag = GNE_TAG_WALK_JUNCTION_BUSSTOP;
5716 {
5717 // set values of tag
5718 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5720 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("junction"), TL("busStop")), parents, color);
5721 // set values of attributes
5724 }
5726 {
5727 // set values of tag
5728 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5730 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("junction"), TL("trainStop")), parents, color);
5731 // set values of attributes
5734 }
5736 {
5737 // set values of tag
5738 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5740 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("junction"), TL("containerStop")), parents, color);
5741 // set values of attributes
5744 }
5746 {
5747 // set values of tag
5748 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5750 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("junction"), TL("chargingStation")), parents, color);
5751 // set values of attributes
5754 }
5756 {
5757 // set values of tag
5758 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5760 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("junction"), TL("parkingArea")), parents, color);
5761 // set values of attributes
5764 }
5765 // from busStop
5766 currentTag = GNE_TAG_WALK_BUSSTOP_EDGE;
5767 {
5768 // set values of tag
5769 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5771 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("busStop"), TL("edge")), parents, color);
5772 // set values of attributes
5775 }
5776 currentTag = GNE_TAG_WALK_BUSSTOP_TAZ;
5777 {
5778 // set values of tag
5779 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5781 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("busStop"), TL("taz")), parents, color);
5782 // set values of attributes
5785 }
5786 currentTag = GNE_TAG_WALK_BUSSTOP_JUNCTION;
5787 {
5788 // set values of tag
5789 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5791 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("busStop"), TL("junction")), parents, color);
5792 // set values of attributes
5795 }
5796 currentTag = GNE_TAG_WALK_BUSSTOP_BUSSTOP;
5797 {
5798 // set values of tag
5799 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5801 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("busStop"), TL("busStop")), parents, color);
5802 // set values of attributes
5805 }
5806 currentTag = GNE_TAG_WALK_BUSSTOP_TRAINSTOP;
5807 {
5808 // set values of tag
5809 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5811 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("busStop"), TL("trainStop")), parents, color);
5812 // set values of attributes
5815 }
5817 {
5818 // set values of tag
5819 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5821 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("busStop"), TL("containerStop")), parents, color);
5822 // set values of attributes
5825 }
5827 {
5828 // set values of tag
5829 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5831 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("busStop"), TL("chargingStation")), parents, color);
5832 // set values of attributes
5835 }
5837 {
5838 // set values of tag
5839 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5841 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("busStop"), TL("parkingArea")), parents, color);
5842 // set values of attributes
5845 }
5846 // from trainStop
5847 currentTag = GNE_TAG_WALK_TRAINSTOP_EDGE;
5848 {
5849 // set values of tag
5850 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5852 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("trainStop"), TL("edge")), parents, color);
5853 // set values of attributes
5856 }
5857 currentTag = GNE_TAG_WALK_TRAINSTOP_TAZ;
5858 {
5859 // set values of tag
5860 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5862 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("trainStop"), TL("taz")), parents, color);
5863 // set values of attributes
5866 }
5868 {
5869 // set values of tag
5870 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5872 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("trainStop"), TL("junction")), parents, color);
5873 // set values of attributes
5876 }
5877 currentTag = GNE_TAG_WALK_TRAINSTOP_BUSSTOP;
5878 {
5879 // set values of tag
5880 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5882 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("trainStop"), TL("busStop")), parents, color);
5883 // set values of attributes
5886 }
5888 {
5889 // set values of tag
5890 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5892 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("trainStop"), TL("trainStop")), parents, color);
5893 // set values of attributes
5896 }
5898 {
5899 // set values of tag
5900 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5902 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("trainStop"), TL("containerStop")), parents, color);
5903 // set values of attributes
5906 }
5908 {
5909 // set values of tag
5910 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5912 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("trainStop"), TL("chargingStation")), parents, color);
5913 // set values of attributes
5916 }
5918 {
5919 // set values of tag
5920 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5922 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("trainStop"), TL("parkingArea")), parents, color);
5923 // set values of attributes
5926 }
5927 // from containerStop
5929 {
5930 // set values of tag
5931 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5933 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("containerStop"), TL("edge")), parents, color);
5934 // set values of attributes
5937 }
5938 currentTag = GNE_TAG_WALK_CONTAINERSTOP_TAZ;
5939 {
5940 // set values of tag
5941 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
5943 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("containerStop"), TL("taz")), parents, color);
5944 // set values of attributes
5947 }
5949 {
5950 // set values of tag
5951 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5953 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("containerStop"), TL("junction")), parents, color);
5954 // set values of attributes
5957 }
5959 {
5960 // set values of tag
5961 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5963 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("containerStop"), TL("busStop")), parents, color);
5964 // set values of attributes
5967 }
5969 {
5970 // set values of tag
5971 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5973 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("containerStop"), TL("trainStop")), parents, color);
5974 // set values of attributes
5977 }
5979 {
5980 // set values of tag
5981 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5983 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("containerStop"), TL("containerStop")), parents, color);
5984 // set values of attributes
5987 }
5989 {
5990 // set values of tag
5991 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
5993 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("containerStop"), TL("chargingStation")), parents, color);
5994 // set values of attributes
5997 }
5999 {
6000 // set values of tag
6001 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6003 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("containerStop"), TL("parkingArea")), parents, color);
6004 // set values of attributes
6007 }
6008 // from chargingStation
6010 {
6011 // set values of tag
6012 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6014 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("chargingStation"), TL("edge")), parents, color);
6015 // set values of attributes
6018 }
6020 {
6021 // set values of tag
6022 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
6024 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("chargingStation"), TL("taz")), parents, color);
6025 // set values of attributes
6028 }
6030 {
6031 // set values of tag
6032 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6034 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("chargingStation"), TL("junction")), parents, color);
6035 // set values of attributes
6038 }
6040 {
6041 // set values of tag
6042 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6044 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("chargingStation"), TL("busStop")), parents, color);
6045 // set values of attributes
6048 }
6050 {
6051 // set values of tag
6052 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6054 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("chargingStation"), TL("trainStop")), parents, color);
6055 // set values of attributes
6058 }
6060 {
6061 // set values of tag
6062 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6064 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("chargingStation"), TL("containerStop")), parents, color);
6065 // set values of attributes
6068 }
6070 {
6071 // set values of tag
6072 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6074 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("chargingStation"), TL("chargingStation")), parents, color);
6075 // set values of attributes
6078 }
6080 {
6081 // set values of tag
6082 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6084 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("chargingStation"), TL("parkingArea")), parents, color);
6085 // set values of attributes
6088 }
6089 // from parkingArea
6090 currentTag = GNE_TAG_WALK_PARKINGAREA_EDGE;
6091 {
6092 // set values of tag
6093 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6095 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("parkingArea"), TL("edge")), parents, color);
6096 // set values of attributes
6099 }
6100 currentTag = GNE_TAG_WALK_PARKINGAREA_TAZ;
6101 {
6102 // set values of tag
6103 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagPropertyTAZ,
6105 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("parkingArea"), TL("taz")), parents, color);
6106 // set values of attributes
6109 }
6111 {
6112 // set values of tag
6113 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6115 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("parkingArea"), TL("junction")), parents, color);
6116 // set values of attributes
6119 }
6121 {
6122 // set values of tag
6123 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6125 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("parkingArea"), TL("busStop")), parents, color);
6126 // set values of attributes
6129 }
6131 {
6132 // set values of tag
6133 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6135 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("parkingArea"), TL("trainStop")), parents, color);
6136 // set values of attributes
6139 }
6141 {
6142 // set values of tag
6143 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6145 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("parkingArea"), TL("containerStop")), parents, color);
6146 // set values of attributes
6149 }
6151 {
6152 // set values of tag
6153 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6155 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("parkingArea"), TL("chargingStation")), parents, color);
6156 // set values of attributes
6159 }
6161 {
6162 // set values of tag
6163 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_WALKS), tagType, tagProperty,
6165 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Walk"), TL("parkingArea"), TL("parkingArea")), parents, color);
6166 // set values of attributes
6169 }
6170}
6171
6172
6173void
6175 // declare common tag types and properties
6178 const auto tagPropertyTAZ = GNETagProperties::Property::RTREE | tagProperty;
6179 const auto conflicts = GNETagProperties::Conflicts::NO_CONFLICTS;
6180 const std::vector<SumoXMLTag> parents({SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW});
6181 const unsigned int color = FXRGBA(253, 255, 206, 255);
6182 const GUIIcon icon = GUIIcon::RIDE_EDGE;
6184 const SumoXMLTag xmlTag = SUMO_TAG_RIDE;
6185 // from edge
6187 {
6188 // set values of tag
6189 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6191 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("edge"), TL("edge")), parents, color);
6192 // set values of attributes
6195 }
6196 currentTag = GNE_TAG_RIDE_EDGE_TAZ;
6197 {
6198 // set values of tag
6199 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6201 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("edge"), TL("taz")), parents, color);
6202 // set values of attributes
6205 }
6206 currentTag = GNE_TAG_RIDE_EDGE_JUNCTION;
6207 {
6208 // set values of tag
6209 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6211 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("edge"), TL("junction")), parents, color);
6212 // set values of attributes
6215 }
6216 currentTag = GNE_TAG_RIDE_EDGE_BUSSTOP;
6217 {
6218 // set values of tag
6219 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6221 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("edge"), TL("busStop")), parents, color);
6222 // set values of attributes
6225 }
6226 currentTag = GNE_TAG_RIDE_EDGE_TRAINSTOP;
6227 {
6228 // set values of tag
6229 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6231 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("edge"), TL("trainStop")), parents, color);
6232 // set values of attributes
6235 }
6237 {
6238 // set values of tag
6239 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6241 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("edge"), TL("containerStop")), parents, color);
6242 // set values of attributes
6245 }
6247 {
6248 // set values of tag
6249 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6251 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("edge"), TL("chargingStation")), parents, color);
6252 // set values of attributes
6255 }
6256 currentTag = GNE_TAG_RIDE_EDGE_PARKINGAREA;
6257 {
6258 // set values of tag
6259 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6261 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("edge"), TL("parkingArea")), parents, color);
6262 // set values of attributes
6265 }
6266 // from taz
6267 currentTag = GNE_TAG_RIDE_TAZ_EDGE;
6268 {
6269 // set values of tag
6270 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6272 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("taz"), TL("taz")), parents, color);
6273 // set values of attributes
6276 }
6277 currentTag = GNE_TAG_RIDE_TAZ_TAZ;
6278 {
6279 // set values of tag
6280 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6282 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("taz"), TL("taz")), parents, color);
6283 // set values of attributes
6286 }
6287 currentTag = GNE_TAG_RIDE_TAZ_JUNCTION;
6288 {
6289 // set values of tag
6290 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6292 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("taz"), TL("junction")), parents, color);
6293 // set values of attributes
6296 }
6297 currentTag = GNE_TAG_RIDE_TAZ_BUSSTOP;
6298 {
6299 // set values of tag
6300 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6302 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("taz"), TL("busStop")), parents, color);
6303 // set values of attributes
6306 }
6307 currentTag = GNE_TAG_RIDE_TAZ_TRAINSTOP;
6308 {
6309 // set values of tag
6310 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6312 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("taz"), TL("trainStop")), parents, color);
6313 // set values of attributes
6316 }
6317 currentTag = GNE_TAG_RIDE_TAZ_CONTAINERSTOP;
6318 {
6319 // set values of tag
6320 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6322 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("taz"), TL("containerStop")), parents, color);
6323 // set values of attributes
6326 }
6328 {
6329 // set values of tag
6330 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6332 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("taz"), TL("chargingStation")), parents, color);
6333 // set values of attributes
6336 }
6337 currentTag = GNE_TAG_RIDE_TAZ_PARKINGAREA;
6338 {
6339 // set values of tag
6340 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6342 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("taz"), TL("parkingArea")), parents, color);
6343 // set values of attributes
6346 }
6347 // from junction
6348 currentTag = GNE_TAG_RIDE_JUNCTION_EDGE;
6349 {
6350 // set values of tag
6351 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6353 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("junction"), TL("edge")), parents, color);
6354 // set values of attributes
6357 }
6358 currentTag = GNE_TAG_RIDE_JUNCTION_TAZ;
6359 {
6360 // set values of tag
6361 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6363 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("junction"), TL("taz")), parents, color);
6364 // set values of attributes
6367 }
6368 currentTag = GNE_TAG_RIDE_JUNCTION_JUNCTION;
6369 {
6370 // set values of tag
6371 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6373 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("junction"), TL("junction")), parents, color);
6374 // set values of attributes
6377 }
6378 currentTag = GNE_TAG_RIDE_JUNCTION_BUSSTOP;
6379 {
6380 // set values of tag
6381 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6383 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("junction"), TL("busStop")), parents, color);
6384 // set values of attributes
6387 }
6389 {
6390 // set values of tag
6391 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6393 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("junction"), TL("trainStop")), parents, color);
6394 // set values of attributes
6397 }
6399 {
6400 // set values of tag
6401 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6403 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("junction"), TL("containerStop")), parents, color);
6404 // set values of attributes
6407 }
6409 {
6410 // set values of tag
6411 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6413 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("junction"), TL("chargingStation")), parents, color);
6414 // set values of attributes
6417 }
6419 {
6420 // set values of tag
6421 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6423 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("junction"), TL("parkingArea")), parents, color);
6424 // set values of attributes
6427 }
6428 // from busStop
6429 currentTag = GNE_TAG_RIDE_BUSSTOP_EDGE;
6430 {
6431 // set values of tag
6432 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6434 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("busStop"), TL("edge")), parents, color);
6435 // set values of attributes
6438 }
6439 currentTag = GNE_TAG_RIDE_BUSSTOP_TAZ;
6440 {
6441 // set values of tag
6442 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6444 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("busStop"), TL("taz")), parents, color);
6445 // set values of attributes
6448 }
6449 currentTag = GNE_TAG_RIDE_BUSSTOP_JUNCTION;
6450 {
6451 // set values of tag
6452 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6454 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("busStop"), TL("junction")), parents, color);
6455 // set values of attributes
6458 }
6459 currentTag = GNE_TAG_RIDE_BUSSTOP_BUSSTOP;
6460 {
6461 // set values of tag
6462 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6464 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("busStop"), TL("busStop")), parents, color);
6465 // set values of attributes
6468 }
6469 currentTag = GNE_TAG_RIDE_BUSSTOP_TRAINSTOP;
6470 {
6471 // set values of tag
6472 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6474 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("busStop"), TL("trainStop")), parents, color);
6475 // set values of attributes
6478 }
6480 {
6481 // set values of tag
6482 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6484 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("busStop"), TL("containerStop")), parents, color);
6485 // set values of attributes
6488 }
6490 {
6491 // set values of tag
6492 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6494 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("busStop"), TL("chargingStation")), parents, color);
6495 // set values of attributes
6498 }
6500 {
6501 // set values of tag
6502 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6504 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("busStop"), TL("parkingArea")), parents, color);
6505 // set values of attributes
6508 }
6509 // from trainStop
6510 currentTag = GNE_TAG_RIDE_TRAINSTOP_EDGE;
6511 {
6512 // set values of tag
6513 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6515 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("trainStop"), TL("edge")), parents, color);
6516 // set values of attributes
6519 }
6520 currentTag = GNE_TAG_RIDE_TRAINSTOP_TAZ;
6521 {
6522 // set values of tag
6523 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6525 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("trainStop"), TL("taz")), parents, color);
6526 // set values of attributes
6529 }
6531 {
6532 // set values of tag
6533 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6535 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("trainStop"), TL("junction")), parents, color);
6536 // set values of attributes
6539 }
6540 currentTag = GNE_TAG_RIDE_TRAINSTOP_BUSSTOP;
6541 {
6542 // set values of tag
6543 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6545 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("trainStop"), TL("busStop")), parents, color);
6546 // set values of attributes
6549 }
6551 {
6552 // set values of tag
6553 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6555 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("trainStop"), TL("trainStop")), parents, color);
6556 // set values of attributes
6559 }
6561 {
6562 // set values of tag
6563 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6565 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("trainStop"), TL("containerStop")), parents, color);
6566 // set values of attributes
6569 }
6571 {
6572 // set values of tag
6573 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6575 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("trainStop"), TL("chargingStation")), parents, color);
6576 // set values of attributes
6579 }
6581 {
6582 // set values of tag
6583 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6585 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("trainStop"), TL("parkingArea")), parents, color);
6586 // set values of attributes
6589 }
6590 // from containerStop
6592 {
6593 // set values of tag
6594 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6596 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("containerStop"), TL("edge")), parents, color);
6597 // set values of attributes
6600 }
6601 currentTag = GNE_TAG_RIDE_CONTAINERSTOP_TAZ;
6602 {
6603 // set values of tag
6604 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6606 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("containerStop"), TL("taz")), parents, color);
6607 // set values of attributes
6610 }
6612 {
6613 // set values of tag
6614 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6616 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("containerStop"), TL("junction")), parents, color);
6617 // set values of attributes
6620 }
6622 {
6623 // set values of tag
6624 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6626 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("containerStop"), TL("busStop")), parents, color);
6627 // set values of attributes
6630 }
6632 {
6633 // set values of tag
6634 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6636 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("containerStop"), TL("trainStop")), parents, color);
6637 // set values of attributes
6640 }
6642 {
6643 // set values of tag
6644 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6646 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("containerStop"), TL("containerStop")), parents, color);
6647 // set values of attributes
6650 }
6652 {
6653 // set values of tag
6654 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6656 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("containerStop"), TL("chargingStation")), parents, color);
6657 // set values of attributes
6660 }
6662 {
6663 // set values of tag
6664 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6666 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("containerStop"), TL("parkingArea")), parents, color);
6667 // set values of attributes
6670 }
6671 // from chargingStation
6673 {
6674 // set values of tag
6675 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6677 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("chargingStation"), TL("edge")), parents, color);
6678 // set values of attributes
6681 }
6683 {
6684 // set values of tag
6685 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6687 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("chargingStation"), TL("taz")), parents, color);
6688 // set values of attributes
6691 }
6693 {
6694 // set values of tag
6695 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6697 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("chargingStation"), TL("junction")), parents, color);
6698 // set values of attributes
6701 }
6703 {
6704 // set values of tag
6705 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6707 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("chargingStation"), TL("busStop")), parents, color);
6708 // set values of attributes
6711 }
6713 {
6714 // set values of tag
6715 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6717 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("chargingStation"), TL("trainStop")), parents, color);
6718 // set values of attributes
6721 }
6723 {
6724 // set values of tag
6725 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6727 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("chargingStation"), TL("containerStop")), parents, color);
6728 // set values of attributes
6731 }
6733 {
6734 // set values of tag
6735 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6737 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("chargingStation"), TL("chargingStation")), parents, color);
6738 // set values of attributes
6741 }
6743 {
6744 // set values of tag
6745 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6747 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("chargingStation"), TL("parkingArea")), parents, color);
6748 // set values of attributes
6751 }
6752 // from parkingArea
6753 currentTag = GNE_TAG_RIDE_PARKINGAREA_EDGE;
6754 {
6755 // set values of tag
6756 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6758 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("parkingArea"), TL("edge")), parents, color);
6759 // set values of attributes
6762 }
6763 currentTag = GNE_TAG_RIDE_PARKINGAREA_TAZ;
6764 {
6765 // set values of tag
6766 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagPropertyTAZ,
6768 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("parkingArea"), TL("taz")), parents, color);
6769 // set values of attributes
6772 }
6774 {
6775 // set values of tag
6776 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6778 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("parkingArea"), TL("junction")), parents, color);
6779 // set values of attributes
6782 }
6784 {
6785 // set values of tag
6786 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6788 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("parkingArea"), TL("busStop")), parents, color);
6789 // set values of attributes
6792 }
6794 {
6795 // set values of tag
6796 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6798 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("parkingArea"), TL("trainStop")), parents, color);
6799 // set values of attributes
6802 }
6804 {
6805 // set values of tag
6806 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6808 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("parkingArea"), TL("containerStop")), parents, color);
6809 // set values of attributes
6812 }
6814 {
6815 // set values of tag
6816 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6818 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("parkingArea"), TL("chargingStation")), parents, color);
6819 // set values of attributes
6822 }
6824 {
6825 // set values of tag
6826 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_RIDES), tagType, tagProperty,
6828 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %->%", TL("Ride"), TL("parkingArea"), TL("parkingArea")), parents, color);
6829 // set values of attributes
6832 }
6833}
6834
6835
6836void
6838 // declare common tag types and properties
6841 const auto conflicts = GNETagProperties::Conflicts::NO_CONFLICTS;
6842 const std::vector<SumoXMLTag> parents({SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW});
6843 const unsigned int color = FXRGBA(255, 213, 213, 255);
6844 const GUIIcon icon = GUIIcon::STOPELEMENT;
6846 const SumoXMLTag xmlTag = SUMO_TAG_STOP;
6847 // fill tags
6849 {
6850 // set values of tag
6851 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONSTOPS), tagType, tagProperty,
6853 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("PersonStop"), TL("edge")), parents, color);
6854
6855 // set values of attributes
6858 }
6859 currentTag = GNE_TAG_STOPPERSON_BUSSTOP;
6860 {
6861 // set values of tag
6862 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONSTOPS), tagType, tagProperty,
6864 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("PersonStop"), TL("busStop")), parents, color);
6865
6866 // set values of attributes
6869 }
6870 currentTag = GNE_TAG_STOPPERSON_TRAINSTOP;
6871 {
6872 // set values of tag
6873 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONSTOPS), tagType, tagProperty,
6875 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("PersonStop"), TL("trainStop")), parents, color);
6876
6877 // set values of attributes
6880 }
6882 {
6883 // set values of tag
6884 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONSTOPS), tagType, tagProperty,
6886 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("PersonStop"), TL("containerStop")), parents, color);
6887
6888 // set values of attributes
6891 }
6893 {
6894 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONSTOPS), tagType, tagProperty,
6896 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("PersonStop"), TL("chargingStation")), parents, color);
6897
6898 // set values of attributes
6901 }
6902 currentTag = GNE_TAG_STOPPERSON_PARKINGAREA;
6903 {
6904 // set values of tag
6905 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_PERSONSTOPS), tagType, tagProperty,
6907 conflicts, icon, GLType, xmlTag, StringUtils::format("%: %", TL("PersonStop"), TL("parkingArea")), parents, color);
6908
6909 // set values of attributes
6912 }
6913}
6914
6915
6916void
6918 GNEAttributeProperties* commonAttribute = nullptr;
6919 // check if element can be reparent
6920 if (tagProperties->canCenterCameraAfterCreation()) {
6921 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_CENTER_AFTER_CREATION,
6924 TLF("Center view over element % after creation", tagProperties->getTagStr()));
6925 commonAttribute->setAlternativeName(TL("center view"));
6926 }
6927 // fill file attributes
6928 if (!tagProperties->isChild() && !tagProperties->isSymbol()) {
6929 if (tagProperties->isAdditionalElement()) {
6930 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_ADDITIONAL_FILE,
6933 TL("The path to the additional file"));
6934 commonAttribute->setFilenameExtensions(SUMOXMLDefinitions::AdditionalFileExtensions.getMultilineString());
6935 commonAttribute->setAlternativeName(TL("add. file"));
6936 } else if (tagProperties->isDemandElement()) {
6937 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_DEMAND_FILE,
6940 TL("The path to the route file"));
6941 commonAttribute->setFilenameExtensions(SUMOXMLDefinitions::RouteFileExtensions.getMultilineString());
6942 commonAttribute->setAlternativeName(TL("route file"));
6943 } else if (tagProperties->isDataElement()) {
6944 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_DATA_FILE,
6947 TL("The path to the data file"));
6948 commonAttribute->setFilenameExtensions(SUMOXMLDefinitions::EdgeDataFileExtensions.getMultilineString());
6949 commonAttribute->setAlternativeName(TL("data file"));
6950 } else if (tagProperties->isMeanData()) {
6951 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_MEANDATA_FILE,
6954 TL("The path to the data file"));
6955 commonAttribute->setFilenameExtensions(SUMOXMLDefinitions::MeanDataFileExtensions.getMultilineString());
6956 commonAttribute->setAlternativeName(TL("mean file"));
6957 }
6958 }
6959 /*
6960 new GNEAttributeProperties(myTagProperties[currentTag], relativePath,
6961 GNEAttributeProperties::Property::BOOL | GNEAttributeProperties::Property::DEFAULTVALUE,
6962 GNEAttributeProperties::Edit::CREATEMODE | GNEAttributeProperties::Edit::EDITMODE,
6963 TL("Enable or disable use image file as a relative path"),
6964 toString(Shape::DEFAULT_RELATIVEPATH));
6965 */
6966 // if this is a drawable element, add front and select attributes
6967 if (tagProperties->isDrawable()) {
6968 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_FRONTELEMENT,
6971 TL("Toggle front element"));
6972
6973 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_SELECTED,
6976 TL("Toggle select element"),
6978 }
6979 // check if element can be reparent
6980 if (tagProperties->canBeReparent()) {
6981 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_PARENT,
6984 TL("Change element parent"));
6985 }
6986 // check if element has parameters
6987 if (tagProperties->hasParameters()) {
6988 commonAttribute = new GNEAttributeProperties(tagProperties, GNE_ATTR_PARAMETERS,
6991 TL("Generic parameters (Format: key1=value1|key2=value2|..."));
6992 commonAttribute->setAlternativeName(TL("parameters"));
6993 }
6994}
6995
6996
6997void
6999 // set values of attributes
7000 fillIDAttribute(tagProperties, true);
7001
7002 fillLaneAttribute(tagProperties, false);
7003
7004 new GNEAttributeProperties(tagProperties, SUMO_ATTR_STARTPOS,
7007 TL("The begin position on the lane (the lower position on the lane) in meters"),
7008 GNEAttributeCarrier::LANE_START, "INVALID_DOUBLE");
7009
7010 new GNEAttributeProperties(tagProperties, SUMO_ATTR_ENDPOS,
7013 TL("The end position on the lane (the higher position on the lane) in meters, must be larger than startPos by more than 0.1m"),
7014 GNEAttributeCarrier::LANE_END, "INVALID_DOUBLE");
7015
7016 fillFriendlyPosAttribute(tagProperties);
7017
7018 fillNameAttribute(tagProperties);
7019
7020 if (includeColor) {
7021 fillColorAttribute(tagProperties, "");
7022 }
7023
7024 // netedit attributes
7025 new GNEAttributeProperties(tagProperties, GNE_ATTR_SIZE,
7028 TLF("Length of %", tagProperties->getTagStr()),
7029 "10");
7030
7031 auto forceSize = new GNEAttributeProperties(tagProperties, GNE_ATTR_FORCESIZE,
7034 TL("Force size during creation"),
7036 forceSize->setAlternativeName(TL("force size"));
7037
7038 auto reference = new GNEAttributeProperties(tagProperties, GNE_ATTR_REFERENCE,
7041 TLF("Reference position used for creating %", tagProperties->getTagStr()));
7042 reference->setDiscreteValues(SUMOXMLDefinitions::ReferencePositions.getStrings());
7043}
7044
7045
7046void
7048 // fill POI attributes
7049 fillNameAttribute(tagProperties);
7050
7051 fillColorAttribute(tagProperties, "red");
7052
7053 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TYPE,
7056 TL("A typename for the POI"),
7058
7059 auto icon = new GNEAttributeProperties(tagProperties, SUMO_ATTR_ICON,
7062 TL("POI Icon"),
7064 icon->setDiscreteValues(SUMOXMLDefinitions::POIIcons.getStrings());
7065
7066 new GNEAttributeProperties(tagProperties, SUMO_ATTR_LAYER,
7069 TL("The layer of the POI for drawing and selecting"),
7071
7072 new GNEAttributeProperties(tagProperties, SUMO_ATTR_WIDTH,
7075 TL("Width of rendered image in meters"),
7077
7078 new GNEAttributeProperties(tagProperties, SUMO_ATTR_HEIGHT,
7081 TL("Height of rendered image in meters"),
7083
7084 fillImgFileAttribute(tagProperties, false);
7085
7086 new GNEAttributeProperties(tagProperties, SUMO_ATTR_ANGLE,
7089 TL("Angle of rendered image in degree"),
7091}
7092
7093
7094void
7096 // fill route attributes
7097 new GNEAttributeProperties(tagProperties, SUMO_ATTR_EDGES,
7100 TL("The edges the vehicle shall drive along, given as their ids, separated using spaces"));
7101
7102 fillColorAttribute(tagProperties, "");
7103
7104 new GNEAttributeProperties(tagProperties, SUMO_ATTR_REPEAT,
7107 TL("The number of times that the edges of this route shall be repeated"),
7108 "0");
7109
7113 TL("When defining a repeating route with stops and those stops use the until attribute,") + std::string("\n") +
7114 TL("the times will be shifted forward by 'cycleTime' on each repeat"),
7115 "0");
7116}
7117
7118
7119void
7121 auto vClass = new GNEAttributeProperties(tagProperties, SUMO_ATTR_VCLASS,
7124 TL("An abstract vehicle class"),
7125 "passenger");
7126 vClass->setDiscreteValues(SumoVehicleClassStrings.getStrings());
7127
7128 fillColorAttribute(tagProperties, "");
7129
7130 new GNEAttributeProperties(tagProperties, SUMO_ATTR_LENGTH,
7133 TL("The vehicle's netto-length (length) [m]"));
7134
7135 new GNEAttributeProperties(tagProperties, SUMO_ATTR_MINGAP,
7138 TL("Empty space after leader [m]"));
7139
7140 new GNEAttributeProperties(tagProperties, SUMO_ATTR_MAXSPEED,
7143 TL("The vehicle's maximum velocity [m/s]"));
7144
7148 TL("The vehicle's expected multiplicator for lane speed limits (or a distribution specifier)"));
7149
7153 TL("The vehicle's desired maximum velocity (interacts with speedFactor).") + std::string("\n") +
7154 TL("Applicable when no speed limit applies (bicycles, some motorways) [m/s]"));
7155
7156 auto emissionClass = new GNEAttributeProperties(tagProperties, SUMO_ATTR_EMISSIONCLASS,
7159 TL("An abstract emission class"));
7160 emissionClass->setDiscreteValues(PollutantsInterface::getAllClassesStr());
7161
7162 auto GUIShape = new GNEAttributeProperties(tagProperties, SUMO_ATTR_GUISHAPE,
7165 TL("How this vehicle is rendered"));
7166 GUIShape->setDiscreteValues(SumoVehicleShapeStrings.getStrings());
7167
7168 new GNEAttributeProperties(tagProperties, SUMO_ATTR_WIDTH,
7171 TL("The vehicle's width [m] (only used for drawing)"),
7172 "1.8");
7173
7174 new GNEAttributeProperties(tagProperties, SUMO_ATTR_HEIGHT,
7177 TL("The vehicle's height [m] (only used for drawing)"),
7178 "1.5");
7179
7183 TL("The parking badges assigned to the vehicle"));
7184
7185 fillImgFileAttribute(tagProperties, true);
7186
7187 auto laneChangeModel = new GNEAttributeProperties(tagProperties, SUMO_ATTR_LANE_CHANGE_MODEL,
7190 TL("The model used for changing lanes"),
7192 laneChangeModel->setDiscreteValues(SUMOXMLDefinitions::LaneChangeModels.getStrings());
7193
7194 auto carFollowModel = new GNEAttributeProperties(tagProperties, SUMO_ATTR_CAR_FOLLOW_MODEL,
7197 TL("The model used for car-following"),
7199 carFollowModel->setDiscreteValues(SUMOXMLDefinitions::CarFollowModels.getStrings());
7200
7204 TL("The number of persons (excluding an autonomous driver) the vehicle can transport"));
7205
7209 TL("The number of containers the vehicle can transport"));
7210
7214 TL("The time required by a person to board the vehicle"),
7215 "0.50");
7216
7220 TL("The time required to load a container onto the vehicle"),
7221 "90");
7222
7223 auto latAlignment = new GNEAttributeProperties(tagProperties, SUMO_ATTR_LATALIGNMENT,
7226 TL("The preferred lateral alignment when using the sublane-model"),
7227 "center");
7228 latAlignment->setDiscreteValues(SUMOVTypeParameter::getLatAlignmentStrings());
7229
7233 TL("The minimum lateral gap at a speed difference of 50km/h when using the sublane-model"),
7234 "0.12");
7235
7239 TL("The maximum lateral speed when using the sublane-model"),
7240 "1");
7241
7245 TL("The interval length for which vehicle performs its decision logic (acceleration and lane-changing)"),
7246 toString(OptionsCont::getOptions().getFloat("default.action-step-length")));
7247
7248 fillDistributionProbability(tagProperties, false);
7249
7250 new GNEAttributeProperties(tagProperties, SUMO_ATTR_OSGFILE,
7253 TL("3D model file for this class"));
7254 /*
7255 Waiting for #16343
7256 new GNEAttributeProperties(tagProperties, SUMO_ATTR_CARRIAGE_LENGTH,
7257 GNEAttributeProperties::Property::FLOAT | GNEAttributeProperties::Property::POSITIVE,
7258 GNEAttributeProperties::Edit::CREATEMODE | GNEAttributeProperties::Edit::EDITMODE | GNEAttributeProperties::Edit::EXTENDEDEDITOR,
7259 TL("Carriage lengths"));
7260
7261 new GNEAttributeProperties(tagProperties, SUMO_ATTR_LOCOMOTIVE_LENGTH,
7262 GNEAttributeProperties::Property::FLOAT | GNEAttributeProperties::Property::POSITIVE,
7263 GNEAttributeProperties::Edit::CREATEMODE | GNEAttributeProperties::Edit::EDITMODE | GNEAttributeProperties::Edit::EXTENDEDEDITOR,
7264 TL("Locomotive lengths"));
7265
7266 new GNEAttributeProperties(tagProperties, SUMO_ATTR_CARRIAGE_GAP,
7267 GNEAttributeProperties::Property::FLOAT | GNEAttributeProperties::Property::POSITIVE | GNEAttributeProperties::Property::DEFAULTVALUE,
7268 GNEAttributeProperties::Edit::CREATEMODE | GNEAttributeProperties::Edit::EDITMODE | GNEAttributeProperties::Edit::EXTENDEDEDITOR,
7269 TL("Gap between carriages"),
7270 "1");
7271 */
7272 // fill VType Car Following Model Values (implemented in a separated function to improve code legibility)
7273 fillCarFollowingModelAttributes(tagProperties);
7274
7275 // fill VType Junction Model Parameters (implemented in a separated function to improve code legibility)
7276 fillJunctionModelAttributes(tagProperties);
7277
7278 // fill VType Lane Change Model Parameters (implemented in a separated function to improve code legibility)
7279 fillLaneChangingModelAttributes(tagProperties);
7280}
7281
7282
7283void
7285 // fill vehicle attributes
7286 fillColorAttribute(tagProperties, "yellow");
7287
7291 TL("The lane on which the vehicle shall be inserted"),
7292 "first");
7293
7297 TL("The position at which the vehicle shall enter the net"),
7298 "base");
7299
7303 TL("The speed with which the vehicle shall enter the network"),
7304 "0");
7305
7309 TL("The lane at which the vehicle shall leave the network"),
7310 "current");
7311
7315 TL("The position at which the vehicle shall leave the network"),
7316 "max");
7317
7321 TL("The speed with which the vehicle shall leave the network"),
7322 "current");
7323
7324 new GNEAttributeProperties(tagProperties, SUMO_ATTR_LINE,
7327 TL("A string specifying the id of a public transport line which can be used when specifying person rides"));
7328
7332 TL("The number of occupied seats when the vehicle is inserted"),
7333 "0");
7334
7338 TL("The number of occupied container places when the vehicle is inserted"),
7339 "0");
7340
7344 TL("The lateral position on the departure lane at which the vehicle shall enter the net"),
7345 "center");
7346
7350 TL("The lateral position on the arrival lane at which the vehicle shall arrive"),
7351 "center");
7352
7356 TL("Insertion checks"),
7358}
7359
7360
7361void
7363 // fill common flow attributes
7364 new GNEAttributeProperties(tagProperties, SUMO_ATTR_BEGIN,
7367 TL("First flow departure time"),
7368 "0");
7369
7370 auto flowTerminate = new GNEAttributeProperties(tagProperties, GNE_ATTR_FLOW_TERMINATE,
7373 TL("Criterion for flow termination"),
7375 flowTerminate->setDiscreteValues({toString(SUMO_ATTR_END), toString(SUMO_ATTR_NUMBER), toString(SUMO_ATTR_END) + "-" + toString(SUMO_ATTR_NUMBER)});
7376
7377 auto flowSpacing = new GNEAttributeProperties(tagProperties, GNE_ATTR_FLOW_SPACING,
7380 TL("Criterion for flow spacing"),
7381 toString(perHour));
7382 flowSpacing->setDiscreteValues({toString(perHour), toString(SUMO_ATTR_PERIOD), toString(SUMO_ATTR_PROB), toString(GNE_ATTR_POISSON)});
7383
7384 new GNEAttributeProperties(tagProperties, SUMO_ATTR_END,
7387 TL("End of departure interval"),
7388 "3600");
7389
7390 new GNEAttributeProperties(tagProperties, SUMO_ATTR_NUMBER,
7393 TL("probability for emitting a flow each second") + std::string("\n") +
7394 TL("(not together with vehsPerHour or period)"),
7395 "1800");
7396
7397 new GNEAttributeProperties(tagProperties, perHour,
7400 TL("Number of flows per hour, equally spaced") + std::string("\n") +
7401 TL("(not together with period or probability or poisson)"),
7402 "1800");
7403
7404 new GNEAttributeProperties(tagProperties, SUMO_ATTR_PERIOD,
7407 TL("Insert equally spaced flows at that period") + std::string("\n") +
7408 TL("(not together with vehsPerHour or probability or poisson)"),
7409 "2");
7410
7411 new GNEAttributeProperties(tagProperties, SUMO_ATTR_PROB,
7414 TL("probability for emitting a flow each second") + std::string("\n") +
7415 TL("(not together with vehsPerHour or period or poisson)"),
7416 "0.5");
7417
7418 new GNEAttributeProperties(tagProperties, GNE_ATTR_POISSON,
7421 TL("Insert flow expected vehicles per second with poisson distributed insertion rate") + std::string("\n") +
7422 TL("(not together with period or vehsPerHour or probability)"),
7423 "0.5");
7424}
7425
7426
7427void
7429 // fill CFM attributes
7430 new GNEAttributeProperties(tagProperties, SUMO_ATTR_ACCEL,
7433 TL("The acceleration ability of vehicles of this type [m/s^2]"),
7435
7436 new GNEAttributeProperties(tagProperties, SUMO_ATTR_DECEL,
7439 TL("The deceleration ability of vehicles of this type [m/s^2]"),
7441
7445 TL("The apparent deceleration of the vehicle as used by the standard model [m/s^2]"),
7447
7451 TL("The maximal physically possible deceleration for the vehicle [m/s^2]"),
7455
7456 auto sigma = new GNEAttributeProperties(tagProperties, SUMO_ATTR_SIGMA,
7459 TL("Car-following model parameter"),
7461 sigma->setRange(0, 1);
7462
7463 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TAU,
7466 TL("Car-following model parameter"),
7467 "1");
7468
7469 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TMP1,
7472 TL("SKRAUSSX parameter 1"));
7473
7474 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TMP2,
7477 TL("SKRAUSSX parameter 2"));
7478
7479 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TMP3,
7482 TL("SKRAUSSX parameter 3"));
7483
7484 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TMP4,
7487 TL("SKRAUSSX parameter 4"));
7488
7489 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TMP5,
7492 TL("SKRAUSSX parameter 5"));
7493
7497 TL("EIDM Look ahead / preview parameter [s]"),
7498 "4");
7499
7503 TL("EIDM AP Reaction Time parameter [s]"),
7504 "0.50");
7505
7509 TL("EIDM Wiener Process parameter for the Driving Error [s]"),
7510 "3");
7511
7515 TL("EIDM Wiener Process parameter for the Estimation Error [s]"),
7516 "10");
7517
7518 auto coolness = new GNEAttributeProperties(tagProperties, SUMO_ATTR_CF_EIDM_C_COOLNESS,
7521 TL("EIDM Coolness parameter of the Enhanced IDM [-]"),
7522 "0.99");
7523 coolness->setRange(0, 1);
7524
7528 TL("EIDM leader speed estimation error parameter [-]"),
7529 "0.02");
7530
7534 TL("EIDM gap estimation error parameter [-]"),
7535 "0.10");
7536
7540 TL("EIDM driving error parameter [-]"),
7541 "0.04");
7542
7546 TL("EIDM maximal jerk parameter [m/s^3]"),
7547 "3");
7548
7552 TL("EIDM maximal negative acceleration between two Action Points (threshold) [m/s^2]"),
7553 "1");
7554
7558 TL("EIDM Time parameter until vehicle reaches amax after startup/driveoff [s]"),
7559 "1.20");
7560
7564 TL("EIDM Flatness parameter of startup/driveoff curve [-]"),
7565 "2");
7566
7570 TL("EIDM Shift parameter of startup/driveoff curve [-]"),
7571 "0.70");
7572
7576 TL("EIDM parameter if model shall include vehicle dynamics into the acceleration calculation [0/1]"),
7577 "0");
7578
7582 TL("EIDM parameter how many vehicles are taken into the preview calculation of the driver (at least always 1!) [-]"),
7583 "0");
7584
7588 TL("Peter Wagner 2009 parameter"),
7589 "0");
7590
7594 TL("Peter Wagner 2009 parameter"),
7595 "0");
7596
7600 TL("IDMM parameter"),
7601 "0");
7602
7606 TL("IDMM parameter"),
7607 "0");
7608
7612 TL("W99 parameter"),
7613 "1.3");
7614
7618 TL("W99 parameter"),
7619 "8");
7620
7624 TL("W99 parameter"),
7625 "-12");
7626
7630 TL("W99 parameter"),
7631 "-0.25");
7632
7636 TL("W99 parameter"),
7637 "0.35");
7638
7642 TL("W99 parameter"),
7643 "6");
7644
7648 TL("W99 parameter"),
7649 "0.25");
7650
7654 TL("W99 parameter"),
7655 "2");
7656
7660 TL("W99 parameter"),
7661 "1.5");
7662
7666 TL("Wiedemann parameter"));
7667
7671 TL("Wiedemann parameter"));
7672
7676 TL("MinGap factor parameter"));
7677
7678 new GNEAttributeProperties(tagProperties, SUMO_ATTR_K,
7681 TL("K parameter"));
7682
7686 TL("Kerner Phi parameter"));
7687
7691 TL("IDM Delta parameter"));
7692
7696 TL("IDM Stepping parameter"));
7697
7698 auto trainType = new GNEAttributeProperties(tagProperties, SUMO_ATTR_TRAIN_TYPE,
7701 TL("Train Types"),
7703 trainType->setDiscreteValues(SUMOXMLDefinitions::TrainTypes.getStrings());
7704}
7705
7706
7707void
7709 // fill junction model attributes
7713 TL("Minimum distance to pedestrians that are walking towards the conflict point with the ego vehicle."),
7714 "10");
7715
7719 TL("The accumulated waiting time after which a vehicle will drive onto an intersection even though this might cause jamming."),
7720 "", "-1");
7721
7725 TL("This value causes vehicles to violate a yellow light if the duration of the yellow phase is lower than the given threshold."),
7726 "", "-1");
7727
7731 TL("This value causes vehicles to violate a red light if the duration of the red phase is lower than the given threshold."),
7732 "", "-1");
7733
7737 TL("This value causes vehicles affected by jmDriveAfterRedTime to slow down when violating a red light."),
7738 "0");
7739
7743 TL("This value causes vehicles to ignore foe vehicles that have right-of-way with the given probability."),
7744 "0");
7745
7749 TL("This value is used in conjunction with jmIgnoreFoeProb.") + std::string("\n") +
7750 TL("Only vehicles with a speed below or equal to the given value may be ignored."),
7751 "0");
7752
7756 TL("This value configures driving imperfection (dawdling) while passing a minor link."),
7757 "0");
7758
7762 TL("This value defines the minimum time gap when passing ahead of a prioritized vehicle. "),
7763 "1");
7764
7768 TL("Willingess of drivers to impede vehicles with higher priority"),
7769 "0");
7770}
7771
7772
7773void
7775 // fill lane changing model
7779 TL("The eagerness for performing strategic lane changing. Higher values result in earlier lane-changing."),
7780 "1");
7781
7785 TL("The willingness for performing cooperative lane changing. Lower values result in reduced cooperation."),
7786 "1");
7787
7791 TL("The eagerness for performing lane changing to gain speed. Higher values result in more lane-changing."),
7792 "1");
7793
7797 TL("The eagerness for following the obligation to keep right. Higher values result in earlier lane-changing."),
7798 "1");
7799
7803 TL("The eagerness for using the configured lateral alignment within the lane.") + std::string("\n") +
7804 TL("Higher values result in increased willingness to sacrifice speed for alignment."),
7805 "1");
7806
7810 TL("The eagerness for overtaking through the opposite-direction lane. Higher values result in more lane-changing."),
7811 "1");
7812
7816 TL("Willingness to encroach laterally on other drivers."),
7817 "0");
7818
7822 TL("Minimum lateral gap when encroaching laterally on other drives (alternative way to define lcPushy)"),
7823 "0");
7824
7828 TL("Willingness to accept lower front and rear gaps on the target lane."),
7829 "1");
7830
7834 TL("Dynamic factor for modifying lcAssertive and lcPushy."),
7835 "0");
7836
7840 TL("Time to reach maximum impatience (of 1). Impatience grows whenever a lane-change manoeuvre is blocked."),
7841 "infinity");
7842
7846 TL("Maximum lateral acceleration per second."),
7847 "1");
7848
7852 TL("Factor for configuring the strategic lookahead distance when a change to the left is necessary (relative to right lookahead)."),
7853 "2");
7854
7858 TL("Factor for configuring the threshold asymmetry when changing to the left or to the right for speed gain."),
7859 "0.1");
7860
7864 TL("Upper bound on lateral speed when standing."),
7865 "0");
7866
7870 TL("Upper bound on lateral speed while moving computed as lcMaxSpeedLatStanding + lcMaxSpeedLatFactor * getSpeed()"),
7871 "1");
7872
7876 TL("Distance to an upcoming turn on the vehicles route, below which the alignment") + std::string("\n") +
7877 TL("should be dynamically adapted to match the turn direction."),
7878 "0");
7879
7883 TL("The probability for violating rules gainst overtaking on the right."),
7884 "0");
7885
7889 TL("Time threshold for the willingness to change right."),
7890 "", "-1");
7891
7895 TL("Speed difference factor for the eagerness of overtaking a neighbor vehicle before changing lanes (threshold = factor*speedlimit)."),
7896 "0");
7897 factor->setRange(-1, 1);
7898
7899}
7900
7901
7902void
7921
7922
7923void
7942
7943
7944void
7946 // fill common stop attributes
7947 auto duration = new GNEAttributeProperties(tagProperties, SUMO_ATTR_DURATION,
7950 TL("Minimum duration for stopping"),
7951 "60");
7952 duration->setDefaultActivated(true);
7953
7954 new GNEAttributeProperties(tagProperties, SUMO_ATTR_UNTIL,
7957 TL("The time step at which the route continues"),
7958 "0");
7959
7963 TL("If set to a non-negative time value, then the stop duration can be extended at most by the extension value in seconds"),
7964 "0");
7965
7966 if (!waypoint) {
7967 auto triggered = new GNEAttributeProperties(tagProperties, SUMO_ATTR_TRIGGERED,
7970 TL("Whether a person or container or both may end the stop"),
7971 "false");
7972 triggered->setDiscreteValues({"false", "person", "container", "join"});
7973
7974 new GNEAttributeProperties(tagProperties, SUMO_ATTR_EXPECTED,
7977 TL("List of elements that must board the vehicle before it may continue"));
7978
7979 new GNEAttributeProperties(tagProperties, SUMO_ATTR_JOIN,
7982 TL("Joins this train to another upon reaching the stop"));
7983 }
7984
7988 TL("List of elements that can board the vehicle before it may continue"));
7989
7990 auto parking = new GNEAttributeProperties(tagProperties, SUMO_ATTR_PARKING,
7993 TL("Whether the vehicle stops on the road or beside"),
7994 "false");
7995 parking->setDiscreteValues({"true", "false", "opportunistic"});
7996
7997 new GNEAttributeProperties(tagProperties, SUMO_ATTR_ACTTYPE,
8000 TL("Activity displayed for stopped person in GUI and output files"));
8001
8002 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TRIP_ID,
8005 TL("Parameter to be applied to the vehicle to track the trip id within a cyclical public transport route"));
8006
8007 new GNEAttributeProperties(tagProperties, SUMO_ATTR_LINE,
8010 TL("New line attribute to be set on the vehicle when reaching this stop (for cyclical public transport route)"));
8011
8012 if (waypoint) {
8013 new GNEAttributeProperties(tagProperties, SUMO_ATTR_SPEED,
8016 TL("Speed to be kept while driving between startPos and endPos"),
8017 "0");
8018 } else {
8019 new GNEAttributeProperties(tagProperties, SUMO_ATTR_ONDEMAND,
8022 TL("Whether the stop may be skipped if no passengers wants to embark or disembark"),
8024 }
8025
8026 new GNEAttributeProperties(tagProperties, SUMO_ATTR_JUMP,
8029 TL("transfer time if there shall be a jump from this stop to the next route edge"),
8030 "", "-1");
8031
8032 new GNEAttributeProperties(tagProperties, SUMO_ATTR_SPLIT,
8035 TL("Splits the train upon reaching the stop"));
8036}
8037
8038
8039void
8041 // fill plan parents
8042 // basic parents
8043 if (tagProperties->planConsecutiveEdges()) {
8044 new GNEAttributeProperties(tagProperties, SUMO_ATTR_EDGES,
8047 TL("list of consecutive edges"));
8048
8052 TL("Arrival position on the last edge"),
8053 "", "-1");
8054 }
8055 if (tagProperties->planRoute()) {
8056 new GNEAttributeProperties(tagProperties, SUMO_ATTR_ROUTE,
8059 TL("Route ID"));
8060
8064 TL("Arrival position on the destination edge"),
8065 "", "-1");
8066 }
8067 if (tagProperties->planEdge()) {
8068
8069 fillEdgeAttribute(tagProperties, false);
8070
8071 new GNEAttributeProperties(tagProperties, SUMO_ATTR_ENDPOS,
8074 TL("The end position on the lane (the higher position on the lane) in meters, must be larger than startPos by more than 0.1m"));
8075 }
8076 if (tagProperties->planBusStop()) {
8077 new GNEAttributeProperties(tagProperties, SUMO_ATTR_BUS_STOP,
8080 TL("Bus stop ID"));
8081 }
8082 if (tagProperties->planTrainStop()) {
8086 TL("Train stop ID"));
8087 }
8088 if (tagProperties->planContainerStop()) {
8092 TL("Container stop ID"));
8093 }
8094 if (tagProperties->planChargingStation()) {
8098 TL("Charging station ID"));
8099 }
8100 if (tagProperties->planParkingArea()) {
8104 TL("Parking area ID"));
8105 }
8106 // from parents
8107 if (tagProperties->planFromEdge()) {
8108 new GNEAttributeProperties(tagProperties, SUMO_ATTR_FROM,
8111 TL("Edge start ID"));
8112 }
8113 if (tagProperties->planFromTAZ()) {
8114 new GNEAttributeProperties(tagProperties, SUMO_ATTR_FROM_TAZ,
8117 TL("TAZ start ID"));
8118 }
8119 if (tagProperties->planFromJunction()) {
8123 TL("Junction start ID"));
8124 }
8125 if (tagProperties->planFromBusStop()) {
8129 TL("BusStop start ID"));
8130 }
8131 if (tagProperties->planFromTrainStop()) {
8135 TL("TrainStop start ID"));
8136 }
8137 if (tagProperties->planFromContainerStop()) {
8141 TL("ContainerStop start ID"));
8142 }
8143 if (tagProperties->planFromChargingStation()) {
8147 TL("ChargingStation start ID"));
8148 }
8149 if (tagProperties->planFromParkingArea()) {
8153 TL("ParkingArea start ID"));
8154 }
8155 // to parents
8156 if (tagProperties->planToEdge()) {
8157 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TO,
8160 TL("Edge end ID"));
8161 // departPos only for tranships
8162 if (tagProperties->isPlanTranship()) {
8163 // depart pos
8167 TL("The position at which the tranship shall enter the net"),
8168 "0");
8169 }
8173 TL("arrival position on the destination edge"),
8174 "", "-1");
8175 }
8176 if (tagProperties->planToTAZ()) {
8177 new GNEAttributeProperties(tagProperties, SUMO_ATTR_TO_TAZ,
8180 TL("TAZ end ID"));
8181 }
8182 if (tagProperties->planToJunction()) {
8186 TL("Junction end ID"));
8187 }
8188 if (tagProperties->planToBusStop()) {
8189 new GNEAttributeProperties(tagProperties, SUMO_ATTR_BUS_STOP,
8192 TL("BusStop end ID"));
8193 }
8194 if (tagProperties->planToTrainStop()) {
8198 TL("TrainStop end ID"));
8199 }
8200 if (tagProperties->planToContainerStop()) {
8204 TL("ContainerStop end ID"));
8205 }
8206 if (tagProperties->planToChargingStation()) {
8210 TL("ChargingStation end ID"));
8211 }
8212 if (tagProperties->planToParkingArea()) {
8216 TL("ParkingArea end ID"));
8217 }
8218}
8219
8220
8221void
8223 // fill person trip common attributes
8224 fillVTypesAttribute(tagProperties);
8225
8226 new GNEAttributeProperties(tagProperties, SUMO_ATTR_MODES,
8229 TL("List of possible traffic modes. Walking is always possible regardless of this value"));
8230
8231 new GNEAttributeProperties(tagProperties, SUMO_ATTR_LINES,
8234 TL("list of vehicle alternatives to take for the person trip"));
8235
8239 TL("Walk factor"),
8240 "0");
8241
8242 new GNEAttributeProperties(tagProperties, SUMO_ATTR_GROUP,
8245 TL("id of the travel group. Persons with the same group may share a taxi ride"));
8246}
8247
8248
8249void
8264
8265
8266void
8279
8280
8281void
8293
8294
8295void
8310
8311
8312void
8314 // fill plan stop common attributes
8315 auto duration = new GNEAttributeProperties(tagProperties, SUMO_ATTR_DURATION,
8318 TL("Minimum duration for stopping"),
8319 "60");
8320 duration->setDefaultActivated(true);
8321
8322 new GNEAttributeProperties(tagProperties, SUMO_ATTR_UNTIL,
8325 TL("The time step at which the route continues"),
8326 "0");
8327
8328 new GNEAttributeProperties(tagProperties, SUMO_ATTR_ACTTYPE,
8331 TL("Activity displayed for stopped person in GUI and output files "));
8332
8333 // friendlyPos attribute only for stops over edges
8334 if (tagProperties->hasAttribute(SUMO_ATTR_EDGE)) {
8335 fillFriendlyPosAttribute(tagProperties);
8336 }
8337}
8338
8339
8340void
8342 // fill data set element
8343 SumoXMLTag currentTag = SUMO_TAG_DATASET;
8344 {
8345 // set values of tag
8351 GUIIcon::DATASET, GUIGlObjectType::GLO_DATASET, currentTag, TL("DataSet"));
8352
8353 // set values of attributes
8354 fillIDAttribute(myTagProperties[currentTag], true);
8355 }
8356 // fill data interval element
8357 currentTag = SUMO_TAG_DATAINTERVAL;
8358 {
8359 // set values of tag
8365 GUIIcon::DATAINTERVAL, GUIGlObjectType::GLO_DATAINTERVAL, currentTag, TL("DataInterval"),
8367
8368 // set values of attributes
8369 fillIDAttribute(myTagProperties[currentTag], true);
8370
8371 // set values of attributes
8375 TL("Data interval begin time"),
8376 "0");
8377
8381 TL("Data interval end time"),
8382 "3600");
8383 }
8384 // fill edge data element
8385 currentTag = GNE_TAG_EDGEREL_SINGLE;
8386 {
8387 // set values of tag
8388 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DATAS),
8394 }
8395 currentTag = SUMO_TAG_EDGEREL;
8396 {
8397 // set values of tag
8398 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DATAS),
8403 GUIIcon::EDGERELDATA, GUIGlObjectType::GLO_EDGERELDATA, currentTag, TL("EdgeRelation"));
8404
8405 // set values of attributes
8409 TL("The ID of the edge the edgeRel starts at"));
8410
8414 TL("The ID of the edge the edgeRel ends at"));
8415 }
8416 currentTag = SUMO_TAG_TAZREL;
8417 {
8418 // set values of tag
8419 myTagProperties[currentTag] = new GNETagProperties(currentTag, mySetTagProperties.at(GNE_TAG_DATAS),
8424 GUIIcon::TAZRELDATA, GUIGlObjectType::GLO_TAZRELDATA, currentTag, TL("TAZRelation"),
8426
8427 // set values of attributes
8431 TL("The name of the TAZ the TAZRel starts at"));
8432
8436 TL("The name of the TAZ the TAZRel ends at"));
8437 }
8438 currentTag = SUMO_TAG_MEANDATA_EDGE;
8439 {
8440 // set values of tag
8446 GUIIcon::MEANDATAEDGE, GUIGlObjectType::GLO_MEANDATA, currentTag, TL("MeanDataEdge"));
8447
8448 // set values of attributes
8450 }
8451 currentTag = SUMO_TAG_MEANDATA_LANE;
8452 {
8453 // set values of tag
8459 GUIIcon::MEANDATALANE, GUIGlObjectType::GLO_MEANDATA, currentTag, TL("MeanDataLane"));
8460
8461 // set values of attributes
8463 }
8464}
8465
8466
8467void
8469 // fill all meanData attributes
8470 fillIDAttribute(tagProperties, true);
8471
8472 fillFileAttribute(tagProperties);
8473
8474 new GNEAttributeProperties(tagProperties, SUMO_ATTR_PERIOD,
8477 TL("The aggregation period the values the detector collects shall be summed up"),
8478 "-1");
8479
8480 new GNEAttributeProperties(tagProperties, SUMO_ATTR_BEGIN,
8483 TL("The time to start writing. If not given, the simulation's begin is used."),
8484 "-1");
8485
8486 new GNEAttributeProperties(tagProperties, SUMO_ATTR_END,
8489 TL("The time to end writing. If not given the simulation's end is used."),
8490 "-1");
8491
8492 auto excludeEmpty = new GNEAttributeProperties(tagProperties, SUMO_ATTR_EXCLUDE_EMPTY,
8495 TL("If set to true, edges/lanes which were not used by a vehicle during this period will not be written"),
8497 excludeEmpty->setDiscreteValues(SUMOXMLDefinitions::ExcludeEmptys.getStrings());
8498
8502 TL("If set, junction internal edges/lanes will be written as well"),
8504
8508 TL("The maximum travel time in seconds to write if only very small movements occur"),
8509 toString(100000));
8510
8514 TL("Consider an edge/lane unused if it has at most this many sampled seconds"),
8515 "0");
8516
8520 TL("The maximum speed to consider a vehicle halting;"),
8521 "0.1");
8522
8523 new GNEAttributeProperties(tagProperties, SUMO_ATTR_VTYPES,
8526 TL("space separated list of vehicle type ids to consider"));
8527
8531 TL("whether aggregation should be performed over all vehicles that entered the edge/lane in the aggregation interval"),
8533
8534 fillDetectPersonsAttribute(tagProperties);
8535
8539 TL("List of attribute names that shall be written"));
8540
8541 new GNEAttributeProperties(tagProperties, SUMO_ATTR_EDGES,
8544 TL("Restrict output to the given list of edge ids"));
8545
8546 auto edgesFile = new GNEAttributeProperties(tagProperties, SUMO_ATTR_EDGESFILE,
8549 TL("Restrict output to the given list of edges given in file"));
8550 edgesFile->setFilenameExtensions(SUMOXMLDefinitions::OutputFileExtensions.getMultilineString());
8551
8555 TL("Whether the traffic statistic of all edges shall be aggregated into a single value"),
8557}
8558
8559void
8573
8574
8575void
8582
8583
8584void
8586 if (synonymID) {
8587 // set values of attributes
8588 auto edge = new GNEAttributeProperties(tagProperties, SUMO_ATTR_EDGE,
8591 TL("The id of an edge in the simulation network"));
8592 edge->setSynonym(SUMO_ATTR_ID);
8593 } else {
8594 new GNEAttributeProperties(tagProperties, SUMO_ATTR_EDGE,
8597 TL("The id of an edge in the simulation network"));
8598 }
8599}
8600
8601
8602void
8604 if (synonymID) {
8605 auto lane = new GNEAttributeProperties(tagProperties, SUMO_ATTR_LANE,
8608 TLF("The name of the lane the % shall be located at", tagProperties->getTagStr()));
8609 lane->setSynonym(SUMO_ATTR_ID);
8610 } else {
8611 new GNEAttributeProperties(tagProperties, SUMO_ATTR_LANE,
8614 TLF("The name of the lane the % shall be located at", tagProperties->getTagStr()));
8615 }
8616}
8617
8618
8619void
8624 TL("If set, no error will be reported if element is placed behind the lane.") + std::string("\n") +
8625 TL("Instead, it will be placed 0.1 meters from the lanes end or at position 0.1,") + std::string("\n") +
8626 TL("if the position was negative and larger than the lanes length after multiplication with - 1"),
8628}
8629
8630
8631void
8638
8639
8640void
8648
8649
8650void
8658
8659
8660void
8676
8677
8678void
8680 new GNEAttributeProperties(tagProperties, SUMO_ATTR_DEPART,
8683 TLF("The departure time of the (first) % which is generated using this trip definition", tagProperties->getTagStr()),
8684 "0");
8685}
8686
8687
8688void
8701
8702
8703void
8711
8712
8713void
8722
8723
8724void
8732
8733
8734void
8742
8743
8744void
8751
8752
8753void
8758 TL("The time-based threshold that describes how much time has to pass until a vehicle is recognized as halting)"),
8759 "1");
8760
8764 TL("The speed-based threshold that describes how slow a vehicle has to be to be recognized as halting) in m/s"),
8765 "1.39");
8766 if (includingJam) {
8770 TL("The maximum distance to the next standing vehicle in order to make this vehicle count as a participant to the jam in m"),
8771 "10");
8772 }
8773}
8774
8775
8776void
8778 if (visible) {
8779 new GNEAttributeProperties(tagProperties, SUMO_ATTR_PROB,
8782 TL("The probability when being added to a distribution without an explicit probability"),
8783 "1");
8784 } else {
8785 new GNEAttributeProperties(tagProperties, SUMO_ATTR_PROB,
8788 TL("The probability when being added to a distribution without an explicit probability"),
8789 "1");
8790 }
8791}
8792
8793
8794void
8796 for (const auto& tagPropertyItem : myTagProperties) {
8797 int basicEditableAttributes = 0;
8798 int geoAttributes = 0;
8799 int flowAttributes = 0;
8800 int neteditAttributes = 0;
8801 for (const auto& attributeProperty : tagPropertyItem.second->getAttributeProperties()) {
8802 if (attributeProperty->isCreateMode() || attributeProperty->isEditMode()) {
8803 if (attributeProperty->isBasicEditor()) {
8804 basicEditableAttributes++;
8805 }
8806 if (attributeProperty->isGeoEditor()) {
8807 geoAttributes++;
8808 }
8809 if (attributeProperty->isFlowEditor()) {
8810 flowAttributes++;
8811 }
8812 if (attributeProperty->isNeteditEditor()) {
8813 neteditAttributes++;
8814 }
8815 }
8816 }
8817 if (myMaxNumberOfEditableAttributeRows < basicEditableAttributes) {
8818 myMaxNumberOfEditableAttributeRows = basicEditableAttributes;
8819 }
8820 if (myMaxNumberOfGeoAttributeRows < geoAttributes) {
8821 myMaxNumberOfGeoAttributeRows = geoAttributes;
8822 }
8823 if (myMaxNumberOfFlowAttributeRows < flowAttributes) {
8824 myMaxNumberOfFlowAttributeRows = flowAttributes;
8825 }
8826 if (myMaxNumberOfNeteditAttributeRows < neteditAttributes) {
8827 myMaxNumberOfNeteditAttributeRows = neteditAttributes;
8828 }
8829 }
8830}
8831
8832
8833void
8835 for (const auto& tagPropertyItem : myTagProperties) {
8836 const int hierarchySize = (int)tagPropertyItem.second->getHierarchicalParentsRecuersively().size();
8837 if (hierarchySize > myHierarchyDepth) {
8838 myHierarchyDepth = hierarchySize;
8839 }
8840 }
8841}
8842
8843/****************************************************************************/
GUIGlObjectType
@ GLO_EDGERELDATA
edge relation data
@ GLO_DET_EXIT
a DetExit detector
@ GLO_TAZRELDATA
TAZ relation data.
@ GLO_WALKINGAREA
a walkingArea
@ GLO_VTYPE
@bief vTypes
@ GLO_DATASET
data set
@ GLO_JPS_WALKABLEAREA
walkable area
@ GLO_TRIP
a trip
@ GLO_ROUTE_EMBEDDED
a route
@ GLO_BUS_STOP
a busStop
@ GLO_REROUTER_DESTPROBREROUTE
a destination probability reroute
@ GLO_E2DETECTOR
a E2 detector
@ GLO_DET_ENTRY
a DetEntry detector
@ GLO_TRANSHIP
a container tranship
@ GLO_ROUTEPROBE
a RouteProbe
@ GLO_E1DETECTOR
a E1 detector
@ GLO_STOP_PLAN
a stop plan stop
@ GLO_ACCESS
a Acces
@ GLO_VAPORIZER
a Vaporizer
@ GLO_ROUTEFLOW
a routeFlow
@ GLO_WALK
a walk
@ GLO_CONTAINER_STOP
a containerStop
@ GLO_CALIBRATOR_FLOW
a calibrator flow
@ GLO_ROUTE
a route
@ GLO_MEANDATA
meanData
@ GLO_CALIBRATOR
a calibrator
@ GLO_JUNCTION
a junction
@ GLO_LANE
a lane
@ GLO_TRAIN_STOP
a trainStop
@ GLO_RIDE
a ride
@ GLO_FLOW
a flow
@ GLO_CHARGING_STATION
a chargingStation
@ GLO_EDGETYPE
an edgeType
@ GLO_PARKING_AREA
a ParkingArea
@ GLO_VSS_STEP
a Variable Speed Sign step
@ GLO_DATAINTERVAL
data interval
@ GLO_TAZ
Traffic Assignment Zones (TAZs)
@ GLO_CONTAINER
a container
@ GLO_JPS_OBSTACLE
obstacles
@ GLO_EDGEDATA
edge data
@ GLO_CONNECTION
a connection
@ GLO_REROUTER_PARKINGAREAREROUTE
a parking area reroute
@ GLO_VTYPE_DISTRIBUTION
vtype distribution
@ GLO_PERSONTRIP
a person trip
@ GLO_VTYPE_REF
vtype ref
@ GLO_EDGE
an edge
@ GLO_VEHICLE
a vehicle
@ GLO_PERSON
a person
@ GLO_TRANSPORT
a container transport
@ GLO_DET_ENTRYEXIT
a DetExit detector
@ GLO_POI
poi (over view, geo and lane)
@ GLO_REROUTER_CLOSINGLANEREROUTE
a closing lane reroute
@ GLO_STOP
a stop
@ GLO_LANETYPE
a laneType
@ GLO_OVERHEAD_WIRE_SEGMENT
a segment of an overhead line
@ GLO_REROUTER_CLOSINGREROUTE
a closing reroute
@ GLO_PARKING_SPACE
a ParkingSpace
@ GLO_CONTAINERFLOW
a person flow
@ GLO_POLYGON
polygon
@ GLO_TLLOGIC
a tl-logic
@ GLO_CROSSING
a tl-logic
@ GLO_REROUTER
a Rerouter
@ GLO_PERSONFLOW
a person flow
@ GLO_ROUTE_REF
route ref
@ GLO_E1DETECTOR_INSTANT
a E1 detector
@ GLO_REROUTER_INTERVAL
a rerouter interval
@ GLO_REROUTER_ROUTEPROBREROUTE
a route probability reroute
@ GLO_TRACTIONSUBSTATION
a segment of an overhead line
@ GLO_ROUTE_DISTRIBUTION
route distribution
@ GLO_VSS
a Variable Speed Sign
GUIIcon
An enumeration of icons used by the gui applications.
Definition GUIIcons.h:33
@ PARKINGSPACE
@ TRANSHIP_BUSSTOP
@ MEANDATALANE
@ MODEPERSONPLAN
@ MODEADDITIONAL
@ SUPERMODEDEMAND
@ CONTAINERFLOW
@ PERSONTRIP_BUSSTOP
@ NETEDIT_MINI
@ CLOSINGREROUTE
@ MODECREATEEDGE
@ MEANDATAEDGE
@ CONTAINERSTOP
@ TRANSHIP_EDGES
@ TRIP_JUNCTIONS
@ DATAINTERVAL
@ FLOW_JUNCTIONS
@ ROUTEPROBREROUTE
@ JPS_WALKABLEAREA
@ TRACTION_SUBSTATION
@ ROUTEDISTRIBUTION
@ CHARGINGSTATION
@ WALK_BUSSTOP
@ TRANSPORT_EDGE
@ PARKINGZONEREROUTE
@ CLOSINGLANEREROUTE
@ RIDE_BUSSTOP
@ SUPERMODENETWORK
@ JPS_OBSTACLE
@ DESTPROBREROUTE
@ SUPERMODEDATA
@ REROUTERINTERVAL
@ VTYPEDISTRIBUTION
@ TRANSPORT_BUSSTOP
@ MODECONTAINERPLAN
@ VARIABLESPEEDSIGN
@ OVERHEADWIRE
@ PERSONTRIP_EDGE
@ OVERHEADWIRE_CLAMP
#define TL(string)
Definition MsgHandler.h:305
#define TLF(string,...)
Definition MsgHandler.h:307
const int VTYPEPARS_DEFAULT_EMERGENCYDECEL_DEFAULT
StringBijection< SUMOVehicleShape > SumoVehicleShapeStrings(sumoVehicleShapeStringInitializer, SUMOVehicleShape::UNKNOWN, false)
StringBijection< SUMOVehicleClass > SumoVehicleClassStrings(sumoVehicleClassStringInitializer, SVC_CUSTOM2, false)
const std::string DEFAULT_VTYPE_ID
const std::string DEFAULT_CONTAINERTYPE_ID
@ SVC_IGNORING
vehicles ignoring classes
SumoXMLTag
Numbers representing SUMO-XML - element names.
@ GNE_TAG_RIDE_CHARGINGSTATION_CHARGINGSTATION
@ GNE_TAG_TRIP_JUNCTIONS
a trip between junctions
@ SUMO_TAG_TRACTION_SUBSTATION
A traction substation.
@ GNE_TAG_TRANSHIP_TAZ_TAZ
@ GNE_TAG_TRANSPORT_CONTAINERSTOP_TRAINSTOP
@ GNE_TAG_TRANSPORT_CONTAINERSTOP_BUSSTOP
@ GNE_TAG_TRANSHIP_PARKINGAREA_BUSSTOP
@ GNE_TAG_TRANSPORT_TAZ_CONTAINERSTOP
@ GNE_TAG_TRANSHIP_PARKINGAREA_CHARGINGSTATION
@ GNE_TAG_RIDE_EDGE_TAZ
@ GNE_TAG_WALK_BUSSTOP_BUSSTOP
@ GNE_TAG_TRANSPORT_JUNCTION_CHARGINGSTATION
@ GNE_TAG_TRIP_TAZS
a single trip definition that uses TAZs
@ GNE_TAG_PERSONTRIPS
@ GNE_TAG_TRANSHIP_JUNCTION_EDGE
@ GNE_TAG_PERSONTRIP_EDGE_EDGE
@ GNE_TAG_PERSONTRIP_TAZ_EDGE
@ GNE_TAG_TRANSHIP_JUNCTION_CONTAINERSTOP
@ GNE_TAG_PERSONTRIP_EDGE_CONTAINERSTOP
@ GNE_TAG_WALK_EDGE_TAZ
@ GNE_TAG_VTYPEREF
reference to a vType (used in VType distributions)
@ GNE_TAG_WALK_PARKINGAREA_CHARGINGSTATION
@ SUMO_TAG_INTERVAL
an aggreagated-output interval
@ GNE_TAG_WALK_CHARGINGSTATION_JUNCTION
@ GNE_TAG_RIDE_CHARGINGSTATION_TAZ
@ GNE_TAG_PERSONTRIP_CONTAINERSTOP_TAZ
@ SUMO_TAG_CLOSING_REROUTE
reroute of type closing
@ GNE_TAG_RIDE_CONTAINERSTOP_BUSSTOP
@ GNE_TAG_TRANSPORT_BUSSTOP_JUNCTION
@ GNE_TAG_RIDE_BUSSTOP_BUSSTOP
@ GNE_TAG_WALK_PARKINGAREA_CONTAINERSTOP
@ GNE_TAG_PERSONTRIP_TAZ_CONTAINERSTOP
@ SUMO_TAG_NET
root element of a network file
@ GNE_TAG_TRANSHIP_CHARGINGSTATION_BUSSTOP
@ GNE_TAG_PERSONTRIP_CHARGINGSTATION_TRAINSTOP
@ GNE_TAG_PERSONTRIP_EDGE_JUNCTION
@ GNE_TAG_TRANSPORT_CHARGINGSTATION_JUNCTION
@ GNE_TAG_TRANSHIP_TRAINSTOP_CHARGINGSTATION
@ GNE_TAG_RIDE_CONTAINERSTOP_CONTAINERSTOP
@ SUMO_TAG_REROUTER
A rerouter.
@ GNE_TAG_TRANSHIP_TRAINSTOP_EDGE
@ SUMO_TAG_EDGEREL
a relation between two edges
@ GNE_TAG_WAYPOINT_PARKINGAREA
@ GNE_TAG_WALK_TAZ_BUSSTOP
@ GNE_TAG_PERSONTRIP_EDGE_PARKINGAREA
@ SUMO_TAG_DATAINTERVAL
@ GNE_TAG_PERSONTRIP_TRAINSTOP_EDGE
@ GNE_TAG_PERSONTRIP_TRAINSTOP_CONTAINERSTOP
@ GNE_TAG_MULTI_LANE_AREA_DETECTOR
an e2 detector over multiple lanes (placed here due create Additional Frame)
@ GNE_TAG_PERSONTRIP_PARKINGAREA_TRAINSTOP
@ GNE_TAG_STOPCONTAINER_TRAINSTOP
@ GNE_TAG_RIDE_JUNCTION_BUSSTOP
@ GNE_TAG_RIDE_PARKINGAREA_CONTAINERSTOP
@ GNE_TAG_PERSONTRIP_CHARGINGSTATION_PARKINGAREA
@ GNE_TAG_PERSONTRIP_TRAINSTOP_PARKINGAREA
@ GNE_TAG_TRANSPORT_TAZ_PARKINGAREA
@ SUMO_TAG_ROUTEPROBE
a routeprobe detector
@ GNE_TAG_PERSONTRIP_TAZ_CHARGINGSTATION
@ GNE_TAG_RIDE_CONTAINERSTOP_EDGE
@ SUMO_TAG_CF_KRAUSS
@ GNE_TAG_STOP_PARKINGAREA
stop placed over a parking area
@ GNE_TAG_TRANSHIP_TAZ_EDGE
@ GNE_TAG_WALK_BUSSTOP_CHARGINGSTATION
@ GNE_TAG_PERSONTRIP_BUSSTOP_EDGE
@ GNE_TAG_WALK_TRAINSTOP_CHARGINGSTATION
@ SUMO_TAG_TAZ
a traffic assignment zone
@ GNE_TAG_WALK_PARKINGAREA_TRAINSTOP
@ GNE_TAG_WALK_PARKINGAREA_PARKINGAREA
@ GNE_TAG_TRANSPORT_EDGE_TRAINSTOP
@ GNE_TAG_WALK_BUSSTOP_TRAINSTOP
@ GNE_TAG_TRANSHIP_EDGE_CHARGINGSTATION
@ GNE_TAG_PERSONTRIP_TAZ_TRAINSTOP
@ GNE_TAG_TRANSPORT_CONTAINERSTOP_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_CHARGINGSTATION_TAZ
@ GNE_TAG_WALK_TAZ_CONTAINERSTOP
@ GNE_TAG_WALK_PARKINGAREA_JUNCTION
@ GNE_TAG_WALK_CONTAINERSTOP_EDGE
@ SUMO_TAG_CHARGING_STATION
A Charging Station.
@ GNE_TAG_TRANSHIP_JUNCTION_BUSSTOP
@ GNE_TAG_PERSONTRIP_EDGE_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_EDGE_PARKINGAREA
@ GNE_TAG_TRANSPORT_TRAINSTOP_JUNCTION
@ GNE_TAG_TRANSHIP_PARKINGAREA_JUNCTION
@ SUMO_TAG_VTYPE
description of a vehicle/person/container type
@ GNE_TAG_TRANSHIP_BUSSTOP_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_TAZ_TRAINSTOP
@ SUMO_TAG_ACCESS
An access point for a train stop.
@ GNE_TAG_WALK_EDGE_PARKINGAREA
@ GNE_TAG_TRANSPORT_EDGE_BUSSTOP
@ GNE_TAG_TRANSPORT_CONTAINERSTOP_EDGE
@ SUMO_TAG_WALK
@ GNE_TAG_TRANSPORT_CHARGINGSTATION_PARKINGAREA
@ GNE_TAG_WALK_PARKINGAREA_EDGE
@ GNE_TAG_TRANSHIP_EDGE_EDGE
@ GNE_TAG_RIDE_TAZ_EDGE
@ GNE_TAG_RIDE_TRAINSTOP_JUNCTION
@ SUMO_TAG_TRANSHIP
@ GNE_TAG_WALK_EDGES
@ GNE_TAG_RIDE_TRAINSTOP_CONTAINERSTOP
@ GNE_TAG_TRANSPORT_JUNCTION_PARKINGAREA
@ SUMO_TAG_CONTAINER_STOP
A container stop.
@ GNE_TAG_STOP_BUSSTOP
stop placed over a busStop
@ GNE_TAG_RIDE_CHARGINGSTATION_EDGE
@ GNE_TAG_RIDE_CHARGINGSTATION_CONTAINERSTOP
@ GNE_TAG_WALK_CONTAINERSTOP_CHARGINGSTATION
@ SUMO_TAG_CONTAINERFLOW
@ GNE_TAG_TRANSHIP_PARKINGAREA_CONTAINERSTOP
@ SUMO_TAG_PARKING_AREA_REROUTE
entry for an alternative parking zone
@ GNE_TAG_JUPEDSIM
@ GNE_TAG_TRANSPORT_TRAINSTOP_TAZ
@ GNE_TAG_WALK_BUSSTOP_JUNCTION
@ GNE_TAG_TRANSHIP_CHARGINGSTATION_TRAINSTOP
@ SUMO_TAG_ROOTFILE
root file
@ GNE_TAG_TRANSHIP_EDGE_CONTAINERSTOP
@ GNE_TAG_WALK_CONTAINERSTOP_JUNCTION
@ GNE_TAG_TRANSPORT_PARKINGAREA_PARKINGAREA
@ GNE_TAG_RIDE_EDGE_JUNCTION
@ GNE_TAG_WAYPOINT_TRAINSTOP
@ GNE_TAG_TRANSPORT_CHARGINGSTATION_TRAINSTOP
@ GNE_TAG_TRANSPORT_TRAINSTOP_TRAINSTOP
@ GNE_TAG_RIDE_PARKINGAREA_TAZ
@ GNE_TAG_WALK_CHARGINGSTATION_TRAINSTOP
@ GNE_TAG_PERSONTRIP_BUSSTOP_CONTAINERSTOP
@ SUMO_TAG_TAZSINK
a sink within a district (connection road)
@ GNE_TAG_EDGEREL_SINGLE
@ GNE_TAG_TRANSPORT_TRAINSTOP_CONTAINERSTOP
@ GNE_TAG_WAYPOINT_CONTAINERSTOP
@ GNE_TAG_PERSONTRIP_PARKINGAREA_TAZ
@ GNE_TAG_CONTAINERPLANS
@ GNE_TAG_STOPCONTAINER_EDGE
@ GNE_TAG_WAYPOINT_BUSSTOP
@ GNE_TAG_WALK_TRAINSTOP_TAZ
@ GNE_TAG_PERSONTRIP_PARKINGAREA_JUNCTION
@ GNE_TAG_TRANSPORT_JUNCTION_BUSSTOP
@ SUMO_TAG_BUS_STOP
A bus stop.
@ SUMO_TAG_POI
begin/end of the description of a Point of interest
@ GNE_TAG_TRANSHIP_JUNCTION_PARKINGAREA
@ GNE_TAG_STOPCONTAINER_PARKINGAREA
@ GNE_TAG_PERSONTRIP_CONTAINERSTOP_TRAINSTOP
@ GNE_TAG_TRANSPORT_CHARGINGSTATION_CONTAINERSTOP
@ GNE_TAG_WAYPOINT_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_TRAINSTOP_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_PARKINGAREA_CONTAINERSTOP
@ GNE_TAG_STOPPERSON_BUSSTOP
@ GNE_TAG_WIRES
@ GNE_TAG_INTERNAL_LANE
internal lane
@ GNE_TAG_TRANSPORT_BUSSTOP_CONTAINERSTOP
@ SUMO_TAG_STOP
stop for vehicles
@ GNE_TAG_PERSONTRIP_BUSSTOP_TRAINSTOP
@ SUMO_TAG_MEANDATA_LANE
a lane based mean data detector
@ GNE_TAG_RIDE_PARKINGAREA_BUSSTOP
@ SUMO_TAG_STEP
trigger: a step description
@ GNE_TAG_PERSONTRIP_CHARGINGSTATION_TAZ
@ GNE_TAG_RIDE_TAZ_TRAINSTOP
@ GNE_TAG_PERSONTRIP_CONTAINERSTOP_EDGE
@ GNE_TAG_TRANSHIP_CONTAINERSTOP_PARKINGAREA
@ GNE_TAG_PERSONTRIP_JUNCTION_BUSSTOP
@ GNE_TAG_TRANSHIP_BUSSTOP_CONTAINERSTOP
@ GNE_TAG_PERSONTRIP_CHARGINGSTATION_BUSSTOP
@ SUMO_TAG_VEHICLE
description of a vehicle
@ GNE_TAG_TRANSPORT_PARKINGAREA_EDGE
@ GNE_TAG_FLOW_ROUTE
a flow definition using a route instead of a from-to edges route
@ GNE_TAG_PERSONTRIP_TRAINSTOP_TAZ
@ SUMO_TAG_ROUTE_DISTRIBUTION
distribution of a route
@ GNE_TAG_RIDE_PARKINGAREA_JUNCTION
@ GNE_TAG_TRANSHIP_PARKINGAREA_TRAINSTOP
@ GNE_TAG_RIDE_JUNCTION_JUNCTION
@ GNE_TAG_WALK_BUSSTOP_CONTAINERSTOP
@ GNE_TAG_RIDE_BUSSTOP_TAZ
@ GNE_TAG_PERSONTRIP_TAZ_PARKINGAREA
@ GNE_TAG_TRANSHIP_BUSSTOP_JUNCTION
@ GNE_TAG_RIDE_JUNCTION_PARKINGAREA
@ SUMO_TAG_OVERHEAD_WIRE_CLAMP
An overhead wire clamp (connection of wires in opposite directions)
@ GNE_TAG_TRANSPORT_EDGE_TAZ
@ GNE_TAG_PERSONTRIP_CONTAINERSTOP_PARKINGAREA
@ GNE_TAG_WALK_JUNCTION_PARKINGAREA
@ GNE_TAG_TRANSHIP_EDGE_TAZ
@ GNE_TAG_RIDE_TRAINSTOP_TAZ
@ GNE_TAG_RIDE_TRAINSTOP_CHARGINGSTATION
@ GNE_TAG_WALK_CHARGINGSTATION_BUSSTOP
@ GNE_TAG_PERSONTRIP_JUNCTION_TRAINSTOP
@ GNE_TAG_VSS_SYMBOL
VSS Symbol.
@ GNE_TAG_RIDE_JUNCTION_TRAINSTOP
@ GNE_TAG_WALK_CONTAINERSTOP_TAZ
@ GNE_TAG_FLOW_JUNCTIONS
a flow between junctions
@ GNE_TAG_PERSONTRIP_TRAINSTOP_BUSSTOP
@ GNE_TAG_TRANSHIP_BUSSTOP_EDGE
@ GNE_TAG_TRANSHIP_TRAINSTOP_JUNCTION
@ GNE_TAG_POIGEO
Point of interest over view with GEO attributes.
@ GNE_TAG_TRANSPORT_CHARGINGSTATION_CHARGINGSTATION
@ GNE_TAG_TRANSHIP_EDGE_JUNCTION
@ GNE_TAG_PERSONTRIP_BUSSTOP_JUNCTION
@ GNE_TAG_TRANSHIP_EDGES
@ SUMO_TAG_LANETYPE
lane type
@ GNE_TAG_TRANSHIP_TAZ_TRAINSTOP
@ GNE_TAG_STOP_CONTAINERSTOP
stop placed over a containerStop
@ GNE_TAG_WALK_JUNCTION_CONTAINERSTOP
@ GNE_TAG_STOPCONTAINER_CONTAINERSTOP
@ GNE_TAG_FLOW_WITHROUTE
description of a vehicle with an embedded route
@ GNE_TAG_RIDE_TAZ_CONTAINERSTOP
@ GNE_TAG_RIDE_BUSSTOP_TRAINSTOP
@ GNE_TAG_TRANSHIP_CHARGINGSTATION_EDGE
@ SUMO_TAG_FLOW
a flow definition using from and to edges or a route
@ GNE_TAG_PERSONTRIP_EDGE_TRAINSTOP
@ GNE_TAG_RIDE_BUSSTOP_EDGE
@ GNE_TAG_RIDE_TRAINSTOP_BUSSTOP
@ SUMO_TAG_CONNECTION
connectioon between two lanes
@ SUMO_TAG_PARKING_AREA
A parking area.
@ GNE_TAG_SUPERMODE_DATA
@ GNE_TAG_TRANSPORT_CONTAINERSTOP_TAZ
@ SUMO_TAG_TRANSPORT
@ GNE_TAG_WALK_TRAINSTOP_EDGE
@ GNE_TAG_RIDE_EDGE_EDGE
@ GNE_TAG_PERSONTRIP_PARKINGAREA_EDGE
@ GNE_TAG_TRANSPORT_BUSSTOP_CHARGINGSTATION
@ GNE_TAG_RIDE_JUNCTION_CONTAINERSTOP
@ GNE_TAG_TRANSPORT_PARKINGAREA_TAZ
@ GNE_TAG_PERSONTRIP_PARKINGAREA_CONTAINERSTOP
@ SUMO_TAG_WALKINGAREA
walking area for pedestrians
@ GNE_TAG_PERSONTRIP_TRAINSTOP_TRAINSTOP
@ GNE_TAG_TRANSPORT_EDGE_EDGE
@ GNE_TAG_WALK_EDGE_TRAINSTOP
@ GNE_TAG_WALK_TAZ_CHARGINGSTATION
@ SUMO_TAG_ROUTE_PROB_REROUTE
probability of route of a reroute
@ GNE_TAG_FLOW_TAZS
a flow between TAZs
@ GNE_TAG_CALIBRATOR_LANE
A calibrator placed over lane.
@ GNE_TAG_TRANSPORT_EDGE_CONTAINERSTOP
@ GNE_TAG_STOPCONTAINER_BUSSTOP
@ GNE_TAG_WALK_JUNCTION_TAZ
@ SUMO_TAG_DET_ENTRY
an e3 entry point
@ GNE_TAG_WALK_JUNCTION_CHARGINGSTATION
@ GNE_TAG_DETECTORS
@ GNE_TAG_WALK_CHARGINGSTATION_TAZ
@ GNE_TAG_PERSONTRIP_TAZ_BUSSTOP
@ GNE_TAG_RIDE_PARKINGAREA_CHARGINGSTATION
@ GNE_TAG_RIDE_BUSSTOP_JUNCTION
@ GNE_TAG_PERSONTRIP_CHARGINGSTATION_JUNCTION
@ GNE_TAG_PERSONTRIP_CHARGINGSTATION_CHARGINGSTATION
@ GNE_TAG_WALK_JUNCTION_JUNCTION
@ SUMO_TAG_VIEWSETTINGS_ADDITIONALS
@ SUMO_TAG_PARKING_SPACE
A parking space for a single vehicle within a parking area.
@ GNE_TAG_TRANSPORT_BUSSTOP_TAZ
@ GNE_TAG_RIDE_JUNCTION_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_PARKINGAREA_TRAINSTOP
@ SUMO_TAG_CONTAINER
@ SUMO_TAG_JUNCTION
begin/end of the description of a junction
@ GNE_TAG_DATAS
@ GNE_TAG_TRANSHIP_PARKINGAREA_TAZ
@ SUMO_TAG_CROSSING
crossing between edges for pedestrians
@ GNE_TAG_TRANSHIP_PARKINGAREA_PARKINGAREA
@ GNE_TAG_WALK_CONTAINERSTOP_PARKINGAREA
@ GNE_TAG_TRANSHIP_TAZ_PARKINGAREA
@ GNE_TAG_WALK_EDGE_EDGE
@ GNE_TAG_PERSONTRIP_TAZ_TAZ
@ GNE_TAG_TRANSPORT_CONTAINERSTOP_JUNCTION
@ GNE_TAG_TRANSHIP_TAZ_BUSSTOP
@ GNE_TAG_TRANSPORT_TAZ_EDGE
@ GNE_TAG_TRANSHIP_CHARGINGSTATION_CHARGINGSTATION
@ GNE_TAG_STOPS
@ SUMO_TAG_VIEWSETTINGS_VEHICLES
@ SUMO_TAG_ROUTE
description of a route
@ GNE_TAG_RIDE_EDGE_CHARGINGSTATION
@ SUMO_TAG_MEANDATA_EDGE
an edge based mean data detector
@ GNE_TAG_TRANSPORT_TAZ_TAZ
@ SUMO_TAG_POLY
begin/end of the description of a polygon
@ SUMO_TAG_RIDE
@ SUMO_TAG_OVERHEAD_WIRE_SECTION
An overhead wire section.
@ GNE_TAG_PERSONTRIP_CHARGINGSTATION_EDGE
@ GNE_TAG_PERSONTRIP_EDGE_BUSSTOP
@ GNE_TAG_TRANSPORT_EDGE_JUNCTION
@ GNE_TAG_WALK_CHARGINGSTATION_CONTAINERSTOP
@ GNE_TAG_TRANSPORT_TAZ_BUSSTOP
@ GNE_TAG_WALK_BUSSTOP_PARKINGAREA
@ GNE_TAG_WALK_CHARGINGSTATION_PARKINGAREA
@ GNE_TAG_TRANSPORT_JUNCTION_JUNCTION
@ GNE_TAG_SUPERMODE_NETWORK
@ GNE_TAG_PERSONTRIP_CHARGINGSTATION_CONTAINERSTOP
@ GNE_TAG_TRANSHIP_BUSSTOP_TRAINSTOP
@ GNE_TAG_PERSONTRIP_BUSSTOP_TAZ
@ GNE_TAG_RIDE_TAZ_PARKINGAREA
@ GNE_TAG_WALK_CONTAINERSTOP_BUSSTOP
@ SUMO_TAG_TRAIN_STOP
A train stop (alias for bus stop)
@ GNE_TAG_RIDE_CHARGINGSTATION_PARKINGAREA
@ GNE_TAG_RIDE_CHARGINGSTATION_BUSSTOP
@ GNE_TAG_PERSONTRIP_CONTAINERSTOP_CONTAINERSTOP
@ GNE_TAG_TRANSHIP_CONTAINERSTOP_TAZ
@ GNE_TAG_TRANSPORT_CHARGINGSTATION_EDGE
@ GNE_TAG_PERSONTRIP_BUSSTOP_CHARGINGSTATION
@ SUMO_TAG_VTYPE_DISTRIBUTION
distribution of a vehicle type
@ SUMO_TAG_LANE
begin/end of the description of a single lane
@ GNE_TAG_WALK_BUSSTOP_EDGE
@ GNE_TAG_RIDE_JUNCTION_TAZ
@ GNE_TAG_TRANSPORT_TRAINSTOP_BUSSTOP
@ SUMO_TAG_INSTANT_INDUCTION_LOOP
An instantenous induction loop.
@ GNE_TAG_WALK_JUNCTION_TRAINSTOP
@ GNE_TAG_RIDE_TAZ_TAZ
@ GNE_TAG_TRANSHIP_EDGE_TRAINSTOP
@ GNE_TAG_TRANSHIP_TRAINSTOP_TRAINSTOP
@ GNE_TAG_VEHICLE_WITHROUTE
description of a vehicle with an embedded route
@ GNE_TAG_CALIBRATOR_FLOW
a flow definition within in Calibrator
@ GNE_TAG_RIDE_PARKINGAREA_PARKINGAREA
@ GNE_TAG_WALK_TRAINSTOP_PARKINGAREA
@ GNE_TAG_RIDE_EDGE_BUSSTOP
@ SUMO_TAG_DEST_PROB_REROUTE
probability of destination of a reroute
@ GNE_TAG_WALK_TAZ_JUNCTION
@ GNE_TAG_POILANE
Point of interest over Lane.
@ SUMO_TAG_DATASET
@ GNE_TAG_RIDE_TAZ_JUNCTION
@ GNE_TAG_PERSONTRIP_JUNCTION_PARKINGAREA
@ GNE_TAG_TRANSPORT_BUSSTOP_TRAINSTOP
@ GNE_TAG_TRANSPORT_TRAINSTOP_PARKINGAREA
@ GNE_TAG_TRANSPORT_PARKINGAREA_JUNCTION
@ GNE_TAG_STOPPINGPLACES
@ GNE_TAG_STOPPERSON_CONTAINERSTOP
@ GNE_TAG_WALK_BUSSTOP_TAZ
@ GNE_TAG_RIDE_CONTAINERSTOP_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_CONTAINERSTOP_CONTAINERSTOP
@ GNE_TAG_PERSONTRIP_BUSSTOP_BUSSTOP
@ GNE_TAG_TRANSHIP_BUSSTOP_PARKINGAREA
@ GNE_TAG_PERSONTRIP_JUNCTION_JUNCTION
@ GNE_TAG_TRANSHIP_CONTAINERSTOP_JUNCTION
@ GNE_TAG_WALK_TAZ_TAZ
@ GNE_TAG_WALK_TRAINSTOP_BUSSTOP
@ GNE_TAG_TRANSHIP_JUNCTION_TRAINSTOP
@ GNE_TAG_WALK_TAZ_EDGE
@ GNE_TAG_PERSONTRIP_TAZ_JUNCTION
@ GNE_TAG_WAYPOINT_LANE
@ GNE_TAG_JPS_OBSTACLE
polygon used for draw juPedSim obstacles
@ GNE_TAG_WALK_EDGE_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_JUNCTION_TAZ
@ GNE_TAG_TRANSPORT_PARKINGAREA_BUSSTOP
@ GNE_TAG_RIDE_EDGE_TRAINSTOP
@ GNE_TAG_TRANSHIP_TAZ_JUNCTION
@ SUMO_TAG_PERSON
@ SUMO_TAG_DET_EXIT
an e3 exit point
@ SUMO_TAG_PERSONTRIP
@ GNE_TAG_TRANSPORTS
@ SUMO_TAG_TYPE
type (edge)
@ GNE_TAG_TRANSHIP_JUNCTION_CHARGINGSTATION
@ GNE_TAG_WALK_TRAINSTOP_CONTAINERSTOP
@ GNE_TAG_WALK_JUNCTION_BUSSTOP
@ GNE_TAG_TRANSHIP_JUNCTION_JUNCTION
@ GNE_TAG_PERSONTRIP_CONTAINERSTOP_JUNCTION
@ GNE_TAG_PERSONPLANS
@ GNE_TAG_WALK_JUNCTION_EDGE
@ GNE_TAG_CONTAINERSTOPS
@ GNE_TAG_PERSONTRIP_BUSSTOP_PARKINGAREA
@ GNE_TAG_TRANSHIP_CONTAINERSTOP_TRAINSTOP
@ GNE_TAG_PERSONTRIP_PARKINGAREA_BUSSTOP
@ SUMO_TAG_VAPORIZER
vaporizer of vehicles
@ GNE_TAG_RIDE_CHARGINGSTATION_JUNCTION
@ SUMO_TAG_LANE_AREA_DETECTOR
alternative tag for e2 detector
@ GNE_TAG_SHAPES
@ GNE_TAG_RIDE_BUSSTOP_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_JUNCTION_TRAINSTOP
@ GNE_TAG_REROUTER_SYMBOL
Rerouter Symbol.
@ GNE_TAG_STOP_LANE
stop placed over a lane
@ GNE_TAG_WALK_EDGE_CONTAINERSTOP
@ GNE_TAG_WALK_TRAINSTOP_JUNCTION
@ GNE_TAG_SUPERMODE_DEMAND
@ GNE_TAG_TRANSHIP_CHARGINGSTATION_PARKINGAREA
@ GNE_TAG_STOPPERSON_CHARGINGSTATION
@ GNE_TAG_TRANSHIP_CHARGINGSTATION_TAZ
@ GNE_TAG_TRANSPORT_BUSSTOP_EDGE
@ GNE_TAG_TRANSHIP_CONTAINERSTOP_BUSSTOP
@ GNE_TAG_WALK_PARKINGAREA_TAZ
@ GNE_TAG_PERSONTRIP_JUNCTION_EDGE
@ GNE_TAG_RIDE_CONTAINERSTOP_PARKINGAREA
@ GNE_TAG_RIDE_CHARGINGSTATION_TRAINSTOP
@ GNE_TAG_STOPPERSON_TRAINSTOP
@ GNE_TAG_TRANSPORT_CHARGINGSTATION_BUSSTOP
@ GNE_TAG_PERSONTRIP_PARKINGAREA_CHARGINGSTATION
@ GNE_TAG_TRANSHIP_CHARGINGSTATION_CONTAINERSTOP
@ SUMO_TAG_TAZREL
a relation between two TAZs
@ GNE_TAG_TRANSHIP_EDGE_BUSSTOP
@ GNE_TAG_RIDE_BUSSTOP_PARKINGAREA
@ GNE_TAG_WALK_EDGE_JUNCTION
@ GNE_TAG_RIDE_PARKINGAREA_EDGE
@ GNE_TAG_PERSONTRIP_JUNCTION_TAZ
@ GNE_TAG_TRANSHIP_PARKINGAREA_EDGE
@ GNE_TAG_TRANSPORT_PARKINGAREA_CHARGINGSTATION
@ GNE_TAG_TRANSHIP_TRAINSTOP_CONTAINERSTOP
@ GNE_TAG_FLOWS
@ SUMO_TAG_TAZSOURCE
a source within a district (connection road)
@ GNE_TAG_PERSONTRIP_JUNCTION_CONTAINERSTOP
@ GNE_TAG_WALK_TRAINSTOP_TRAINSTOP
@ GNE_TAG_WALK_CHARGINGSTATION_EDGE
@ GNE_TAG_TRANSHIP_EDGE_PARKINGAREA
@ GNE_TAG_WALK_EDGE_BUSSTOP
@ GNE_TAG_PERSONTRIP_PARKINGAREA_PARKINGAREA
@ GNE_TAG_TRANSHIP_TRAINSTOP_BUSSTOP
@ GNE_TAG_TRANSHIP_BUSSTOP_BUSSTOP
@ GNE_TAG_TRANSPORT_TRAINSTOP_EDGE
@ SUMO_TAG_CLOSING_LANE_REROUTE
lane of a reroute of type closing
@ GNE_TAG_STOP_TRAINSTOP
stop placed over a trainStop
@ GNE_TAG_STOP_CHARGINGSTATION
stop placed over a charging station
@ GNE_TAG_WALKS
@ GNE_TAG_ROUTEREF
virtual element used to reference routes with distributions
@ GNE_TAG_PERSONTRIP_TRAINSTOP_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_EDGE_CHARGINGSTATION
@ GNE_TAG_TRANSHIP_CONTAINERSTOP_CONTAINERSTOP
@ GNE_TAG_ROUTE_EMBEDDED
embedded route
@ GNE_TAG_WALK_CONTAINERSTOP_TRAINSTOP
@ GNE_TAG_RIDE_EDGE_PARKINGAREA
@ GNE_TAG_TRANSHIP_CHARGINGSTATION_JUNCTION
@ GNE_TAG_RIDE_BUSSTOP_CONTAINERSTOP
@ GNE_TAG_WALK_TAZ_TRAINSTOP
@ SUMO_TAG_INDUCTION_LOOP
alternative tag for e1 detector
@ GNE_TAG_JPS_WALKABLEAREA
polygon used for draw juPedSim walkable areas
@ GNE_TAG_PERSONTRIP_CONTAINERSTOP_CHARGINGSTATION
@ GNE_TAG_RIDE_JUNCTION_EDGE
@ GNE_TAG_TRANSHIP_TRAINSTOP_PARKINGAREA
@ GNE_TAG_TAZS
@ GNE_TAG_PERSONTRIP_CONTAINERSTOP_BUSSTOP
@ GNE_TAG_TRANSHIP_JUNCTION_TAZ
@ GNE_TAG_TRANSPORT_JUNCTION_CONTAINERSTOP
@ GNE_TAG_RIDES
@ GNE_TAG_TRANSPORT_TAZ_CHARGINGSTATION
@ GNE_TAG_TRANSPORT_TAZ_JUNCTION
@ GNE_TAG_RIDE_TRAINSTOP_TRAINSTOP
@ GNE_TAG_TRANSPORT_JUNCTION_EDGE
@ GNE_TAG_TRANSPORT_BUSSTOP_BUSSTOP
@ GNE_TAG_WALK_PARKINGAREA_BUSSTOP
@ SUMO_TAG_CALIBRATOR
A calibrator placed over edge.
@ GNE_TAG_RIDE_CONTAINERSTOP_TAZ
@ GNE_TAG_STOPCONTAINER_CHARGINGSTATION
@ SUMO_TAG_ENTRY_EXIT_DETECTOR
alternative tag for e3 detector
@ GNE_TAG_PERSONSTOPS
@ GNE_TAG_TRANSPORT_BUSSTOP_PARKINGAREA
@ GNE_TAG_WALK_TAZ_PARKINGAREA
@ GNE_TAG_TRANSHIP_TAZ_CHARGINGSTATION
@ GNE_TAG_TRANSHIP_BUSSTOP_TAZ
@ GNE_TAG_PERSONTRIP_TRAINSTOP_JUNCTION
@ GNE_TAG_RIDE_CONTAINERSTOP_TRAINSTOP
@ GNE_TAG_RIDE_TAZ_CHARGINGSTATION
@ SUMO_TAG_VSS
A variable speed sign.
@ GNE_TAG_STOPPERSON_EDGE
@ GNE_TAG_RIDE_CONTAINERSTOP_JUNCTION
@ GNE_TAG_PERSONTRIP_JUNCTION_CHARGINGSTATION
@ GNE_TAG_RIDE_PARKINGAREA_TRAINSTOP
@ GNE_TAG_TRANSPORT_CONTAINERSTOP_PARKINGAREA
@ GNE_TAG_TRANSHIP_CONTAINERSTOP_CHARGINGSTATION
@ GNE_TAG_WALK_ROUTE
@ GNE_TAG_PERSONTRIP_EDGE_TAZ
@ GNE_TAG_RIDE_TAZ_BUSSTOP
@ GNE_TAG_WALK_CONTAINERSTOP_CONTAINERSTOP
@ GNE_TAG_RIDE_TRAINSTOP_PARKINGAREA
@ SUMO_TAG_PERSONFLOW
@ GNE_TAG_TRANSHIP_CONTAINERSTOP_EDGE
@ SUMO_TAG_TRIP
a single trip definition (used by router)
@ GNE_TAG_WALK_CHARGINGSTATION_CHARGINGSTATION
@ GNE_TAG_TRANSHIP_TRAINSTOP_TAZ
@ GNE_TAG_RIDE_EDGE_CONTAINERSTOP
@ GNE_TAG_STOPPERSON_PARKINGAREA
@ SUMO_TAG_EDGE
begin/end of the description of an edge
@ GNE_TAG_RIDE_TRAINSTOP_EDGE
@ GNE_TAG_TRANSHIP_TAZ_CONTAINERSTOP
@ GNE_TAG_TRANSHIPS
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
@ SUMO_ATTR_TMP4
@ SUMO_ATTR_CF_W99_CC9
@ SUMO_ATTR_CF_EIDM_T_ACC_MAX
@ SUMO_ATTR_EXPECT_ARRIVAL
@ SUMO_ATTR_STARTPOS
@ SUMO_ATTR_CF_EIDM_EPSILON_ACC
@ SUMO_ATTR_PARKING
@ SUMO_ATTR_EXTENSION
@ SUMO_ATTR_CF_W99_CC5
@ SUMO_ATTR_LCA_PUSHY
@ SUMO_ATTR_DISALLOW
@ SUMO_ATTR_LINES
@ GNE_ATTR_MEANDATA_FILE
meanData data file
@ GNE_ATTR_FROM_TRAINSTOP
@ SUMO_ATTR_NUMBER
@ SUMO_ATTR_ALLOW
@ SUMO_ATTR_ICON
icon
@ SUMO_ATTR_ARRIVALSPEED
@ GNE_ATTR_DEMAND_FILE
demand demand file
@ SUMO_ATTR_LANE
@ GNE_ATTR_FROM_BUSSTOP
@ GNE_ATTR_FORCESIZE
size (used in stopping places)
@ SUMO_ATTR_EMISSIONCLASS
@ SUMO_ATTR_JM_IGNORE_FOE_SPEED
@ SUMO_ATTR_ARRIVALLANE
@ SUMO_ATTR_DEPART
@ SUMO_ATTR_ACCEPTED_BADGES
@ SUMO_ATTR_DEPARTEDGE
@ SUMO_ATTR_TLLINKINDEX2
link: the index of the opposite direction link of a pedestrian crossing
@ SUMO_ATTR_LON
@ GNE_ATTR_CENTER_AFTER_CREATION
flag to center camera after element creation
@ SUMO_ATTR_REFID
@ SUMO_ATTR_FROM_JUNCTION
@ SUMO_ATTR_VEHSPERHOUR
@ SUMO_ATTR_ARRIVALEDGE
@ SUMO_ATTR_JM_IGNORE_KEEPCLEAR_TIME
@ SUMO_ATTR_SPEED
@ GNE_ATTR_STOPOFFSET
stop offset (virtual, used by edge and lanes)
@ SUMO_ATTR_WAITINGTIME
@ SUMO_ATTR_CF_EIDM_T_LOOK_AHEAD
@ SUMO_ATTR_VIA
@ SUMO_ATTR_CF_WIEDEMANN_SECURITY
@ SUMO_ATTR_LCA_ASSERTIVE
@ SUMO_ATTR_RADIUS
The turning radius at an intersection in m.
@ SUMO_ATTR_TRAIN_TYPE
@ SUMO_ATTR_NEXT_EDGES
@ SUMO_ATTR_FILE
@ SUMO_ATTR_INDIRECT
Whether this connection is an indirect (left) turn.
@ SUMO_ATTR_CONTAINER_STOP
@ SUMO_ATTR_CF_EIDM_USEVEHDYNAMICS
@ SUMO_ATTR_PARKING_AREA
@ GNE_ATTR_OPPOSITE
to busStop (used by personPlans)
@ SUMO_ATTR_CF_IDMM_ADAPT_TIME
@ SUMO_ATTR_SUBSTATIONID
id of a traction substation substation
@ SUMO_ATTR_FROM_LANE
@ SUMO_ATTR_LANE_CHANGE_MODEL
@ SUMO_ATTR_CF_KERNER_PHI
@ SUMO_ATTR_EDGE
@ SUMO_ATTR_LCA_TURN_ALIGNMENT_DISTANCE
@ SUMO_ATTR_JAM_DIST_THRESHOLD
@ SUMO_ATTR_CHARGETYPE
Charge type (fuel or electric)
@ SUMO_ATTR_DEPARTPOS_LAT
@ SUMO_ATTR_PARKING_LENGTH
@ SUMO_ATTR_PARKING_BADGES
@ SUMO_ATTR_BUS_STOP
@ SUMO_ATTR_CF_EIDM_C_COOLNESS
@ SUMO_ATTR_CF_EIDM_SIG_ERROR
@ SUMO_ATTR_TRAIN_STOP
@ SUMO_ATTR_TRACK_VEHICLES
@ SUMO_ATTR_LCA_PUSHYGAP
@ SUMO_ATTR_ENDPOS
@ SUMO_ATTR_LCA_LOOKAHEADLEFT
@ SUMO_ATTR_APPARENTDECEL
@ SUMO_ATTR_VOLTAGE
voltage of the traction substation [V]
@ SUMO_ATTR_TO_JUNCTION
@ GNE_ATTR_PARENT
parent of an additional element
@ SUMO_ATTR_MAXSPEED_LAT
@ SUMO_ATTR_LCA_SPEEDGAIN_PARAM
@ SUMO_ATTR_ARRIVALPOS
@ SUMO_ATTR_SPLIT
@ SUMO_ATTR_TMP3
@ SUMO_ATTR_ACTTYPE
@ SUMO_ATTR_ACTIONSTEPLENGTH
@ SUMO_ATTR_TLLAYOUT
node: the layout of the traffic light program
@ GNE_ATTR_SELECTED
element is selected
@ SUMO_ATTR_CUSTOMSHAPE
whether a given shape is user-defined
@ SUMO_ATTR_LCA_IMPATIENCE
@ SUMO_ATTR_BEGIN
weights: time range begin
@ SUMO_ATTR_MINGAP
@ SUMO_ATTR_WITH_INTERNAL
@ GNE_ATTR_VTYPE_DISTRIBUTION
vehicle type distribution
@ SUMO_ATTR_EDGES
the edges of a route
@ GNE_ATTR_POISSON
poisson definition (used in flow)
@ SUMO_ATTR_OFF
@ SUMO_ATTR_ROUTEPROBE
@ SUMO_ATTR_LINEWIDTH
@ GNE_ATTR_PARAMETERS
parameters "key1=value1|key2=value2|...|keyN=valueN"
@ SUMO_ATTR_POSITION_LAT
@ GNE_ATTR_ADDITIONAL_FILE
additional save file
@ SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME
@ SUMO_ATTR_FRINGE
Fringe type of node.
@ SUMO_ATTR_OVERHEAD_WIRE_FORBIDDEN
forbidden lanes for overhead wire segment
@ SUMO_ATTR_CONTAINER_NUMBER
@ SUMO_ATTR_EXPECTED
@ SUMO_ATTR_AGGREGATE
@ SUMO_ATTR_HALTING_TIME_THRESHOLD
@ SUMO_ATTR_TMP2
@ SUMO_ATTR_GEO
@ SUMO_ATTR_CF_W99_CC8
@ SUMO_ATTR_PRIORITY
@ SUMO_ATTR_LINE
@ SUMO_ATTR_CHARGING_STATION
@ SUMO_ATTR_LOADING_DURATION
@ SUMO_ATTR_CF_IDM_DELTA
@ SUMO_ATTR_CF_EIDM_MAX_VEH_PREVIEW
@ GNE_ATTR_STOPOEXCEPTION
stop exceptions (virtual, used by edge and lanes)
@ SUMO_ATTR_LCA_MAXSPEEDLATFACTOR
@ SUMO_ATTR_GEOSHAPE
@ SUMO_ATTR_CONTAINERSPERHOUR
@ SUMO_ATTR_NUMLANES
@ SUMO_ATTR_LANES
@ SUMO_ATTR_CF_EIDM_T_REACTION
@ SUMO_ATTR_MODES
@ SUMO_ATTR_CF_EIDM_T_PERSISTENCE_ESTIMATE
@ GNE_ATTR_CLOSE_SHAPE
Close shape of a polygon (Used by GNEPolys)
@ SUMO_ATTR_VTYPES
@ SUMO_ATTR_CF_PWAGNER2009_TAULAST
@ GNE_ATTR_SIZE
size (used in stopping places)
@ SUMO_ATTR_OVERHEAD_WIRECLAMP_END
id of the overhead wire, to the end of which the overhead wire clamp is connected
@ SUMO_ATTR_SHAPE
edge: the shape in xml-definition
@ SUMO_ATTR_DEPARTPOS
@ SUMO_ATTR_CF_EIDM_SIG_GAP
@ SUMO_ATTR_CAR_FOLLOW_MODEL
@ SUMO_ATTR_CF_EIDM_JERK_MAX
@ SUMO_ATTR_LEFTHAND
@ SUMO_ATTR_DECEL
@ SUMO_ATTR_LCA_MAXSPEEDLATSTANDING
@ SUMO_ATTR_GROUP
@ SUMO_ATTR_JM_DRIVE_AFTER_YELLOW_TIME
@ SUMO_ATTR_LCA_KEEPRIGHT_PARAM
@ SUMO_ATTR_WEIGHT
@ SUMO_ATTR_GUISHAPE
@ SUMO_ATTR_DESIRED_MAXSPEED
@ SUMO_ATTR_JM_IGNORE_FOE_PROB
@ GNE_ATTR_FROM_CONTAINERSTOP
@ SUMO_ATTR_MAX_TRAVELTIME
@ SUMO_ATTR_TLTYPE
node: the type of traffic light
@ SUMO_ATTR_OVERHEAD_WIRECLAMP_LANESTART
id of the overhead wire lane, to the start of which the overhead wire clamp is connected
@ SUMO_ATTR_CHARGEINTRANSIT
Allow/disallow charge in transit in Charging Stations.
@ SUMO_ATTR_OVERHEAD_WIRECLAMP_START
id of the overhead wire, to the start of which the overhead wire clamp is connected
@ SUMO_ATTR_ONDEMAND
@ SUMO_ATTR_CHANGE_LEFT
@ SUMO_ATTR_CONTAINER_CAPACITY
@ SUMO_ATTR_INDEX
@ SUMO_ATTR_FILL
Fill the polygon.
@ GNE_ATTR_REFERENCE
reference position (used creating stoppingPlaces)
@ SUMO_ATTR_NAME
@ SUMO_ATTR_PERIOD
@ SUMO_ATTR_LAYER
A layer number.
@ SUMO_ATTR_LCA_COOPERATIVE_PARAM
@ SUMO_ATTR_SPREADTYPE
The information about how to spread the lanes from the given position.
@ SUMO_ATTR_LCA_OPPOSITE_PARAM
@ SUMO_ATTR_TO_TAZ
@ SUMO_ATTR_SLOPE
@ GNE_ATTR_DATA_FILE
data data file
@ SUMO_ATTR_HALTING_SPEED_THRESHOLD
@ SUMO_ATTR_CENTER
@ SUMO_ATTR_PASS
@ GNE_ATTR_IS_ROUNDABOUT
@ SUMO_ATTR_DEPARTSPEED
@ SUMO_ATTR_ANGLE
@ SUMO_ATTR_ENDOFFSET
@ SUMO_ATTR_MINGAP_LAT
@ SUMO_ATTR_TRIP_ID
@ GNE_ATTR_SHAPE_END
last coordinate of edge shape
@ SUMO_ATTR_EMERGENCYDECEL
@ SUMO_ATTR_TO
@ SUMO_ATTR_FROM
@ SUMO_ATTR_CF_W99_CC3
@ SUMO_ATTR_LCA_OVERTAKE_DELTASPEED_FACTOR
@ SUMO_ATTR_HEIGHT
@ SUMO_ATTR_END
weights: time range end
@ SUMO_ATTR_PERMITTED
@ SUMO_ATTR_LCA_SUBLANE_PARAM
@ SUMO_ATTR_JM_CROSSING_GAP
@ SUMO_ATTR_ROADSIDE_CAPACITY
@ SUMO_ATTR_ACCELERATION
@ SUMO_ATTR_LATALIGNMENT
@ SUMO_ATTR_FROM_TAZ
@ SUMO_ATTR_CF_IDM_STEPPING
@ SUMO_ATTR_DEPARTLANE
@ SUMO_ATTR_CF_IDMM_ADAPT_FACTOR
@ SUMO_ATTR_CURRENTLIMIT
current limit of the traction substation [A]
@ SUMO_ATTR_BIKELANEWIDTH
@ SUMO_ATTR_IMPATIENCE
@ SUMO_ATTR_COLLISION_MINGAP_FACTOR
@ SUMO_ATTR_CHANGE_RIGHT
@ SUMO_ATTR_JOIN
@ SUMO_ATTR_TLID
link,node: the traffic light id responsible for this link
@ SUMO_ATTR_OPTIONAL
@ SUMO_ATTR_VCLASS
@ SUMO_ATTR_ACCEL
@ SUMO_ATTR_BOARDING_DURATION
@ SUMO_ATTR_DISTANCE
@ SUMO_ATTR_CF_EIDM_M_FLATNESS
@ GNE_ATTR_FRONTELEMENT
@ SUMO_ATTR_CF_W99_CC2
@ SUMO_ATTR_OUTPUT
@ SUMO_ATTR_SHOW_DETECTOR
@ SUMO_ATTR_CF_W99_CC4
@ SUMO_ATTR_JM_SIGMA_MINOR
@ SUMO_ATTR_CF_W99_CC6
@ SUMO_ATTR_CHARGINGPOWER
@ SUMO_ATTR_JUMP
@ SUMO_ATTR_PROB
@ SUMO_ATTR_CF_EIDM_M_BEGIN
@ GNE_ATTR_BIDIR
whether an edge is part of a bidirectional railway
@ SUMO_ATTR_FRIENDLY_POS
@ SUMO_ATTR_CF_EIDM_T_PERSISTENCE_DRIVE
@ SUMO_ATTR_SIDEWALKWIDTH
@ SUMO_ATTR_SPEEDFACTOR
@ GNE_ATTR_FROM_CHARGINGSTATION
@ SUMO_ATTR_ONROAD
@ GNE_ATTR_FLOW_SPACING
flow spacing
@ SUMO_ATTR_LAT
@ SUMO_ATTR_WALKFACTOR
@ SUMO_ATTR_DETERMINISTIC
@ SUMO_ATTR_TO_LANE
@ SUMO_ATTR_MIN_SAMPLES
@ SUMO_ATTR_UNCONTROLLED
@ SUMO_ATTR_CF_EIDM_SIG_LEADER
@ SUMO_ATTR_TYPE
@ SUMO_ATTR_LENGTH
@ SUMO_ATTR_ROUTE
@ SUMO_ATTR_PERSON_NUMBER
@ SUMO_ATTR_COLOR
A color information.
@ SUMO_ATTR_EFFICIENCY
Eficiency of the charge in Charging Stations.
@ SUMO_ATTR_CF_PWAGNER2009_APPROB
@ SUMO_ATTR_MAXSPEED
@ SUMO_ATTR_ID
@ SUMO_ATTR_SIGMA
@ SUMO_ATTR_VISIBLE
@ SUMO_ATTR_UNTIL
@ SUMO_ATTR_RIGHT_OF_WAY
How to compute right of way.
@ SUMO_ATTR_K
@ SUMO_ATTR_TMP1
@ GNE_ATTR_SHAPE_START
first coordinate of edge shape
@ GNE_ATTR_EDGES_WITHIN
virtual attribute used for use edges within during TAZ creation
@ SUMO_ATTR_OSGFILE
@ SUMO_ATTR_LCA_OVERTAKE_RIGHT
@ SUMO_ATTR_ARRIVALPOS_LAT
@ SUMO_ATTR_LCA_ACCEL_LAT
@ SUMO_ATTR_CF_W99_CC7
@ SUMO_ATTR_LCA_STRATEGIC_PARAM
@ SUMO_ATTR_CF_W99_CC1
@ GNE_ATTR_FLOW_TERMINATE
flow terminating
@ SUMO_ATTR_TAU
@ SUMO_ATTR_VISIBILITY_DISTANCE
foe visibility distance of a link
@ GNE_ATTR_ROUTE_DISTRIBUTION
route distribution
@ SUMO_ATTR_OPEN_ENTRY
@ SUMO_ATTR_INSERTIONCHECKS
@ SUMO_ATTR_IMGFILE
@ SUMO_ATTR_TRIGGERED
@ SUMO_ATTR_DURATION
@ SUMO_ATTR_CONTPOS
@ SUMO_ATTR_WIDTH
@ SUMO_ATTR_DIR
The abstract direction of a link.
@ SUMO_ATTR_PERSON_CAPACITY
@ SUMO_ATTR_TLLINKINDEX
link: the index of the link within the traffic light
@ SUMO_ATTR_LCA_KEEPRIGHT_ACCEPTANCE_TIME
@ SUMO_ATTR_REPEAT
@ SUMO_ATTR_KEEP_CLEAR
Whether vehicles must keep the junction clear.
@ SUMO_ATTR_POSITION
@ SUMO_ATTR_TMP5
@ SUMO_ATTR_CYCLETIME
@ SUMO_ATTR_STATE
The state of a link.
@ SUMO_ATTR_JM_DRIVE_RED_SPEED
@ SUMO_ATTR_CHARGEDELAY
Delay in the charge of charging stations (different of waiting time)
@ SUMO_ATTR_LCA_TIME_TO_IMPATIENCE
@ SUMO_ATTR_JM_TIMEGAP_MINOR
@ SUMO_ATTR_TIME
trigger: the time of the step
@ SUMO_ATTR_WRITE_ATTRIBUTES
@ SUMO_ATTR_OVERHEAD_WIRECLAMP_LANEEND
id of the overhead wire lane, to the end of which the overhead wire clamp is connected
@ SUMO_ATTR_DETECT_PERSONS
@ SUMO_ATTR_EXCLUDE_EMPTY
@ SUMO_ATTR_CF_WIEDEMANN_ESTIMATION
@ SUMO_ATTR_EDGESFILE
@ SUMO_ATTR_PERSONSPERHOUR
@ SUMO_ATTR_LCA_SPEEDGAINRIGHT
const double SUMO_const_laneWidth
Definition StdDefs.h:48
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
Definition ToString.h:46
static const std::string LANE_START
lane start
static const std::string LANE_END
lane end
static const std::string True
true value in string format (used for comparing boolean values in getAttribute(......
static const std::string False
true value in string format(used for comparing boolean values in getAttribute(...))
void setAlternativeName(const std::string &alternativeName)
set alternative name
void setFilenameExtensions(const std::string &extensions)
set discrete values
void fillVTypesAttribute(GNETagProperties *tagProperties)
fill vTypes attribute
void fillLaneAttribute(GNETagProperties *tagProperties, const bool synonymID)
fill lane attribute
void fillCommonMeanDataAttributes(GNETagProperties *tagProperties)
fill stop person attributes
std::map< SumoXMLTag, GNETagProperties * > myTagProperties
map with the tags properties
const std::vector< const GNETagProperties * > getTagPropertiesSet(const SumoXMLTag tag, const bool hardFail) const
get tagProperties associated to the given set tag (persons, stops, plans, etc.)
void fillTranshipCommonAttributes(GNETagProperties *tagProperties)
fill ride common attributes
void fillNameAttribute(GNETagProperties *tagProperties)
fill name attribute
void fillCommonRouteAttributes(GNETagProperties *tagProperties)
fill common route attributes
void fillStopElements()
fill stop elements
void fillVehicleElements()
fill vehicle elements
void fillCommonAttributes(GNETagProperties *tagProperties)
fill common attributes
void fillAllowDisallowAttributes(GNETagProperties *tagProperties)
fill allowDisallow attributes
void fillFriendlyPosAttribute(GNETagProperties *tagProperties)
fill friendlyPos attribute
void fillCommonVTypeAttributes(GNETagProperties *tagProperties)
fill common vType attributes
void fillPersonPlanTrips()
fill person plan trips
void fillCommonStoppingPlaceAttributes(GNETagProperties *tagProperties, const bool includeColor)
fill common stoppingPlace attributes
void fillDistributionProbability(GNETagProperties *tagProperties, const bool visible)
fill distribution probability attribute
const GNETagProperties * getTagProperty(const SumoXMLTag tag, const bool hardFail) const
get tagProperty associated to the given tag
void fillPersonPlanRides()
fill person plan rides
void fillPlanParentAttributes(GNETagProperties *tagProperties)
fill plan from-to attribute
void fillCommonFlowAttributes(GNETagProperties *tagProperties, SumoXMLAttr perHour)
fill common flow attributes (used by flows, routeFlows and personFlows)
void fillIDAttribute(GNETagProperties *tagProperties, const bool createMode)
fill ID attribute
int getMaxNumberOfFlowAttributeRows() const
get max number of flow attribute rows
int myMaxNumberOfGeoAttributeRows
max number of geo attributes (needed for geo attributes editor)
void fillCommonPOIAttributes(GNETagProperties *tagProperties)
fill common POI attributes
int myMaxNumberOfFlowAttributeRows
max number of flow attributes (needed for geo attributes editor)
void fillPlanStopCommonAttributes(GNETagProperties *tagProperties)
fill plan stop common attributes
void fillContainerStopElements()
fill container stop elements
void fillCarFollowingModelAttributes(GNETagProperties *tagProperties)
fill Car Following Model of Vehicle/Person Types
void fillDemandElements()
fill demand elements
void fillWaypointElements()
fill waypoint elements
void fillColorAttribute(GNETagProperties *tagProperties, const std::string &defaultColor)
fill color attribute
void fillCommonPersonAttributes(GNETagProperties *tagProperties)
fill common person attributes (used by person and personFlows)
void fillEdgeAttribute(GNETagProperties *tagProperties, const bool synonymID)
fill edge attribute
void fillDepartAttribute(GNETagProperties *tagProperties)
fill depart attribute
int getMaxNumberOfGeoAttributeRows() const
get max number of geo attribute rows
void writeAttributeHelp() const
write machine readable attribute help to file
void fillJuPedSimElements()
fill JuPedSim elements
void fillOutputAttribute(GNETagProperties *tagProperties)
fill output attribute
const std::vector< const GNETagProperties * > getTagPropertiesByType(const GNETagProperties::Type type) const
get tagProperties associated to the given GNETagProperties::Type (NETWORKELEMENT, ADDITIONALELEMENT,...
int getMaxNumberOfNeteditAttributesRows() const
get max number of netedit attribute rows
void updateMaxNumberOfAttributesEditorRows()
update max number of attributes by type
void fillRideCommonAttributes(GNETagProperties *tagProperties)
fill ride common attributes
void fillContainerElements()
fill container elements
void fillContainerTranshipElements()
fill container tranship elements
void fillWireElements()
fill Wire elements
void fillDataElements()
fill Data elements
void fillCommonContainerAttributes(GNETagProperties *tagProperties)
fill common container attributes (used by container and containerFlows)
void fillNetworkElements()
fill network elements
void fillPersonPlanWalks()
fill person plan walks
int getMaxNumberOfEditableAttributeRows() const
max number of editable (non extended) attributes
void fillJunctionModelAttributes(GNETagProperties *tagProperties)
fill Junction Model Attributes of Vehicle/Person Types
void fillDetectorPeriodAttribute(GNETagProperties *tagProperties)
fill detector period attribute
void fillTransportCommonAttributes(GNETagProperties *tagProperties)
fill transport common attributes
void fillImgFileAttribute(GNETagProperties *tagProperties, const bool isExtended)
fill imgFile attribute
void fillWalkCommonAttributes(GNETagProperties *tagProperties)
fill walk common attributes
void fillLaneChangingModelAttributes(GNETagProperties *tagProperties)
fill Junction Model Attributes of Vehicle/Person Types
void fillTAZElements()
fill TAZ elements
std::map< SumoXMLTag, GNETagProperties * > mySetTagProperties
map with tag properties sets (persons, stops, etc.)
void fillPosOverLaneAttribute(GNETagProperties *tagProperties)
fill lane position attribute
void fillContainerTransportElements()
fill container transport elements
int myMaxNumberOfNeteditAttributeRows
max number of netedit attributes (needed for netedit attributes editor)
void fillPersonElements()
fill person elements
int getHierarchyDepth() const
get hierarchy dept
void fillPersonTripCommonAttributes(GNETagProperties *tagProperties)
fill person trip common attributes
void fillDetectorNextEdgesAttribute(GNETagProperties *tagProperties)
fill detector next edges attribute
void fillHierarchy()
fill hierarchy elements
void fillAdditionalElements()
fill additional elements
void fillShapeElements()
fill shape elements
void fillCommonVehicleAttributes(GNETagProperties *tagProperties)
fill common vehicle attributes (used by vehicles, trips, routeFlows and flows)
void fillDetectPersonsAttribute(GNETagProperties *tagProperties)
fill detect person attribute
int myMaxNumberOfEditableAttributeRows
max number of editable (non extended) attributes (needed for attributes editor)
void updateMaxHierarchyDepth()
update max hierarchy depth
void fillDetectorThresholdAttributes(GNETagProperties *tagProperties, const bool includingJam)
fill detector threshold attribute
void fillPersonStopElements()
fill person stop elements
void fillFileAttribute(GNETagProperties *tagProperties)
fill file attribute
void fillCommonStopAttributes(GNETagProperties *tagProperties, const bool waypoint)
fill stop person attributes
bool isMeanData() const
return true if tag correspond to a mean data element
bool planToContainerStop() const
return true if tag correspond to a plan that starts in containerStop
bool canBeReparent() const
return true if tag correspond to an element that can be reparent
bool planFromChargingStation() const
return true if tag correspond to a plan that starts in chargingStation
bool planFromJunction() const
return true if tag correspond to a plan that starts in junction
bool planToBusStop() const
return true if tag correspond to a plan that starts in busStop
bool planFromContainerStop() const
return true if tag correspond to a plan that starts in containerStop
const std::string & getTagStr() const
get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toS...
bool planRoute() const
return true if tag correspond to a plan placed over route
bool isChild() const
return true if tag correspond to an element child of another element (Example: E3->Entry/Exit)
bool isDataElement() const
return true if tag correspond to a data element
bool planToJunction() const
return true if tag correspond to a plan that starts in junction
bool planFromParkingArea() const
return true if tag correspond to a plan that starts in parkingAera
bool planParkingArea() const
return true if tag correspond to a plan placed over parkingArea
bool planToTAZ() const
return true if tag correspond to a plan that starts in TAZ
bool planConsecutiveEdges() const
plan parents
bool hasParameters() const
return true if Tag correspond to an element that supports parameters "key1=value1|key2=value2|....
const GNEAttributeProperties * at(int index) const
get attribute value
bool isDrawable() const
return true if tag correspond to a drawable element
bool planFromEdge() const
return true if tag correspond to a plan that starts in edge
bool planFromBusStop() const
return true if tag correspond to a plan that starts in busStop
bool planFromTrainStop() const
return true if tag correspond to a plan that starts in trainStop
bool planToTrainStop() const
return true if tag correspond to a plan that starts in trainStop
bool planFromTAZ() const
return true if tag correspond to a plan that starts in TAZ
bool canCenterCameraAfterCreation() const
return true if tag correspond to an element that center camera after creation
bool planEdge() const
return true if tag correspond to a plan placed over edge
bool planContainerStop() const
return true if tag correspond to a plan placed over containerStop
bool isDemandElement() const
return true if tag correspond to a demand element
bool planTrainStop() const
return true if tag correspond to a plan placed over trainStop
bool isAdditionalElement() const
return true if tag correspond to an additional element (note: this include TAZ, shapes and wires)
bool isSymbol() const
return true if tag correspond to a symbol element
bool hasAttribute(SumoXMLAttr attr) const
check if current TagProperties owns the attribute "attr"
bool planToParkingArea() const
return true if tag correspond to a plan that starts in parkingArea
bool planToChargingStation() const
return true if tag correspond to a plan that starts in chargingStation
bool planToEdge() const
return true if tag correspond to a plan that starts in edge
bool planBusStop() const
return true if tag correspond to a plan placed over busStop
bool planChargingStation() const
return true if tag correspond to a plan placed over chargingStation
bool isPlanTranship() const
return true if tag correspond to a tranship
static const double UNSPECIFIED_LOADED_LENGTH
no length override given
Definition NBEdge.h:364
static const double UNSPECIFIED_CONTPOS
unspecified internal junction position
Definition NBEdge.h:358
static const double UNSPECIFIED_VISIBILITY_DISTANCE
unspecified foe visibility for connections
Definition NBEdge.h:361
static const double UNSPECIFIED_SPEED
unspecified lane speed
Definition NBEdge.h:352
static OptionsCont & getOptions()
Retrieves the options.
Static storage of an output device and its base (abstract) implementation.
static bool createDeviceByOption(const std::string &optionName, const std::string &rootElement="", const std::string &schemaFile="")
Creates the device using the output definition stored in the named option.
static OutputDevice & getDeviceByOption(const std::string &name)
Returns the device described by the option.
static const std::vector< std::string > & getAllClassesStr()
Get all SUMOEmissionClass in string format.
static double getDefaultDecel(const SUMOVehicleClass vc=SVC_IGNORING)
Returns the default deceleration for the given vehicle class This needs to be a function because the ...
static double getDefaultEmergencyDecel(const SUMOVehicleClass vc, double decel, double defaultOption)
Returns the default emergency deceleration for the given vehicle class This needs to be a function be...
static std::vector< std::string > getLatAlignmentStrings()
return all valid strings for latAlignment
static double getDefaultImperfection(const SUMOVehicleClass vc=SVC_IGNORING)
Returns the default driver's imperfection (sigma or epsilon in Krauss' model) for the given vehicle c...
static double getDefaultAccel(const SUMOVehicleClass vc=SVC_IGNORING)
Returns the default acceleration for the given vehicle class This needs to be a function because the ...
static StringBijection< LaneSpreadFunction > LaneSpreadFunctions
lane spread functions
static StringBijection< SumoXMLTag > CarFollowModels
car following models
static StringBijection< SumoXMLNodeType > NodeTypes
node types
static StringBijection< OutputFileExtension > OutputFileExtensions
output file extensions
static StringBijection< InsertionCheck > InsertionChecks
traffic light layouts
static StringBijection< ChargeType > ChargeTypes
charge type
static StringBijection< AdditionalFileExtension > AdditionalFileExtensions
additional file extensions
static StringBijection< PersonMode > PersonModeValues
person modes
static StringBijection< MeanDataFileExtension > MeanDataFileExtensions
mean data file extensions
static StringBijection< POIIcon > POIIcons
POI icon values.
static StringBijection< RouteFileExtension > RouteFileExtensions
route file extensions
static StringBijection< ExcludeEmpty > ExcludeEmptys
exclude empty values
static StringBijection< ImageFileExtension > ImageFileExtensions
image file extensions
static StringBijection< TrainType > TrainTypes
train types
static StringBijection< EdgeDataFileExtension > EdgeDataFileExtensions
edgedata file extensions
static StringBijection< LaneChangeModel > LaneChangeModels
lane change models
static StringBijection< RightOfWay > RightOfWayValues
righ of way algorithms
static StringBijection< FringeType > FringeTypeValues
fringe types
static StringBijection< ReferencePosition > ReferencePositions
reference positions (used creating certain elements in netedit)
static const double DEFAULT_LAYER
Definition Shape.h:43
static const double DEFAULT_LAYER_POI
Definition Shape.h:45
static const double DEFAULT_IMG_WIDTH
Definition Shape.h:48
static const double DEFAULT_ANGLE
Definition Shape.h:46
static const double DEFAULT_IMG_HEIGHT
Definition Shape.h:49
static const std::string DEFAULT_TYPE
Definition Shape.h:42
std::vector< std::string > getStrings() const
get all strings
static std::string to_lower_case(const std::string &str)
Transfers the content to lower case.
static std::string replace(std::string str, const std::string &what, const std::string &by)
Replaces all occurrences of the second string by the third string within the first string.
static const std::string format(const std::string &format, T value, Targs... Fargs)
adds a new formatted message