[sumo-user] Combining Edges Using NetConvert

2018-03-30 Thread Jonathan Harper
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
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Combining Edges Using NetConvert

2018-03-30 Thread Jonathan Harper
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-user@eclipse.org; sumo-u...@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
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user