48 #ifdef CHECK_MEMORY_LEAKS
50 #endif // CHECK_MEMORY_LEAKS
63 if (oc.
isSet(
"plain-output-prefix")) {
68 if (oc.
isSet(
"junctions.join-output")) {
71 if (oc.
isSet(
"street-sign-output")) {
80 bool useGeo = oc.
exists(
"proj.plain-geo") && oc.
getBool(
"proj.plain-geo");
82 WRITE_WARNING(
"Ignoring option \"proj.plain-geo\" because no geo-conversion has been defined");
96 for (std::map<std::string, NBNode*>::const_iterator i = nc.
begin(); i != nc.
end(); ++i) {
118 std::set<std::string> tlsIDs;
119 for (std::set<NBTrafficLightDefinition*>::const_iterator it_tl = tlss.begin(); it_tl != tlss.end(); it_tl++) {
120 tlsIDs.insert((*it_tl)->getID());
122 std::vector<std::string> sortedIDs(tlsIDs.begin(), tlsIDs.end());
123 sort(sortedIDs.begin(), sortedIDs.end());
135 bool useGeo = oc.
exists(
"proj.plain-geo") && oc.
getBool(
"proj.plain-geo");
142 bool noNames = !oc.
getBool(
"output.street-names");
143 for (std::map<std::string, NBEdge*>::const_iterator i = ec.
begin(); i != ec.
end(); ++i) {
166 for (
int i = 0; i < (
int) geom.
size(); i++) {
197 for (
unsigned int i = 0; i < e->
getLanes().size(); ++i) {
220 const std::vector<NBEdge::Connection> connections = e->
getConnections();
221 for (std::vector<NBEdge::Connection>::const_iterator c = connections.begin(); c != connections.end(); ++c) {
224 if (connections.size() > 0) {
230 for (std::map<std::string, NBNode*>::const_iterator i = nc.
begin(); i != nc.
end(); ++i) {
245 for (std::map<std::string, NBEdge*>::const_iterator i = ec.
begin(); i != ec.
end(); ++i) {
248 const std::vector<NBEdge::Connection> connections = e->
getConnections();
249 for (std::vector<NBEdge::Connection>::const_iterator c = connections.begin(); c != connections.end(); ++c) {
264 for (std::vector<std::set<std::string> >::const_iterator it = clusters.begin(); it != clusters.end(); it++) {
265 assert((*it).size() > 0);
268 std::ostringstream oss;
269 for (std::set<std::string>::const_iterator it_id = it->begin(); it_id != it->end(); it_id++) {
270 oss << *it_id <<
" ";
273 std::string ids = oss.str();
285 for (std::map<std::string, NBEdge*>::const_iterator i = ec.
begin(); i != ec.
end(); ++i) {
287 const std::vector<NBSign>& signs = e->
getSigns();
288 for (std::vector<NBSign>::const_iterator it = signs.begin(); it != signs.end(); ++it) {
289 it->writeAsPOI(device, e);