47 #ifdef CHECK_MEMORY_LEAKS
49 #endif // CHECK_MEMORY_LEAKS
62 if (oc.
isSet(
"plain-output-prefix")) {
67 if (oc.
isSet(
"junctions.join-output")) {
76 bool useGeo = oc.
exists(
"proj.plain-geo") && oc.
getBool(
"proj.plain-geo");
78 WRITE_WARNING(
"Ignoring option \"proj.plain-geo\" because no geo-conversion has been defined");
92 for (std::map<std::string, NBNode*>::const_iterator i = nc.
begin(); i != nc.
end(); ++i) {
114 std::set<std::string> tlsIDs;
115 for (std::set<NBTrafficLightDefinition*>::const_iterator it_tl = tlss.begin(); it_tl != tlss.end(); it_tl++) {
116 tlsIDs.insert((*it_tl)->getID());
118 std::vector<std::string> sortedIDs(tlsIDs.begin(), tlsIDs.end());
119 sort(sortedIDs.begin(), sortedIDs.end());
131 bool useGeo = oc.
exists(
"proj.plain-geo") && oc.
getBool(
"proj.plain-geo");
138 bool noNames = !oc.
getBool(
"output.street-names");
139 for (std::map<std::string, NBEdge*>::const_iterator i = ec.
begin(); i != ec.
end(); ++i) {
162 for (
int i = 0; i < (
int) geom.
size(); i++) {
193 for (
unsigned int i = 0; i < e->
getLanes().size(); ++i) {
216 const std::vector<NBEdge::Connection> connections = e->
getConnections();
217 for (std::vector<NBEdge::Connection>::const_iterator c = connections.begin(); c != connections.end(); ++c) {
220 if (connections.size() > 0) {
226 for (std::map<std::string, NBNode*>::const_iterator i = nc.
begin(); i != nc.
end(); ++i) {
241 for (std::map<std::string, NBEdge*>::const_iterator i = ec.
begin(); i != ec.
end(); ++i) {
244 const std::vector<NBEdge::Connection> connections = e->
getConnections();
245 for (std::vector<NBEdge::Connection>::const_iterator c = connections.begin(); c != connections.end(); ++c) {
260 for (std::vector<std::set<std::string> >::const_iterator it = clusters.begin(); it != clusters.end(); it++) {
261 assert((*it).size() > 0);
264 std::ostringstream oss;
265 for (std::set<std::string>::iterator it_id = it->begin(); it_id != it->end(); it_id++) {
266 oss << *it_id <<
" ";
269 std::string ids = oss.str();