Re: [sumo-user] Combining Edges Using NetConvert
Hello all, Sorry, I made a mistake in my previous email. I have removed any edges which don’t allow the vType ‘private’, however, there are now a bunch of junctions in the middle of the road segment (on straight road segments). Also, at other turning points there are sometimes many junctions which separate edges. Is there a way to remove these? Attached is an example of this. Jonathan From: Jonathan Harper Sent: 29 March 2018 21:58 To: sumo-u...@eclipse.org; sumo-user@lists.sourceforge.net Subject: Combining Edges Using NetConvert Hello all, I’m currently building a small network from OSM -> .net.xml through NetConvert. I’m attempting to find the average congestion on a given road segment, however, I have ran into a minor issue. I was wondering if there was a way to combine the edges between junctions, so that edges which are connected from junction A to B are counted as a single edge (rather than being split up which is currently happening). Further to this, is it possible to define a maximum length of an edge? Given that the distance between junction A and B is say 100m, and we define the maximum edge length to be 60m, would it be possible to automatically generate 2 edges between these junctions of lengths 60m and 40m? Kind regards, Jonathan Virus-free. www.avast.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] Combining Edges Using NetConvert
Hello, To join edges that have the same attributes and that do not have a "real" intersection with multiple edges between them (so-called geometry-like nodes), set the option --geometry.remove There is currently no option to automatically split edges to achieve a maximum length. To compare congestion values among edges it might be easier to normalize the measure with the edge length rather than trying to enforce homogeneous edge lengths. regards, jakob 2018-03-29 22:58 GMT+02:00 Jonathan Harper via sumo-user < sumo-user@lists.sourceforge.net>: > Hello all, > > I’m currently building a small network from OSM -> .net.xml through > NetConvert. I’m attempting to find the average congestion on a given road > segment, however, I have ran into a minor issue. I was wondering if there > was a way to combine the edges between junctions, so that edges which are > connected from junction A to B are counted as a single edge (rather than > being split up which is currently happening). > > Further to this, is it possible to define a maximum length of an edge? > Given that the distance between junction A and B is say 100m, and we define > the maximum edge length to be 60m, would it be possible to automatically > generate 2 edges between these junctions of lengths 60m and 40m? > > Kind regards, > Jonathan > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > sumo-user mailing list > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] Combining Edges Using NetConvert
Hello all, I’m currently building a small network from OSM -> .net.xml through NetConvert. I’m attempting to find the average congestion on a given road segment, however, I have ran into a minor issue. I was wondering if there was a way to combine the edges between junctions, so that edges which are connected from junction A to B are counted as a single edge (rather than being split up which is currently happening). Further to this, is it possible to define a maximum length of an edge? Given that the distance between junction A and B is say 100m, and we define the maximum edge length to be 60m, would it be possible to automatically generate 2 edges between these junctions of lengths 60m and 40m? Kind regards, Jonathan --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user