Internal edges may represent turning lanes at an intersection. So if you
want edges to be connected, better consider them!
Best regards
Mirko
-----Original-Nachricht-----
Betreff: Re: [sumo-user] Question about the net.xml file
Datum: 2023-11-01T12:47:34+0100
Von: "Charitha Heendeniya" <[email protected]>
An: "Mirko Barthauer" <[email protected]>
Thank you very much for the reply.
So, if I understand correctly, the purpose of the internal edges is to
match the lanes of two edges at their intersection point. Am I right?
If that is true, I can still generate a complete graph of the road network
(without consideration of matching lanes at intersections) only with the
normal edges, am I right?
Or is it possible to have disconnected edges if I discard internal edges
and use only normal edges to generate a networkx graph of the road network?
Thanks a lot,
Buddi
On Wed, Nov 1, 2023 at 12:22 PM Mirko Barthauer <[email protected]
<mailto:[email protected]> > wrote:
Internal edges are part of an intersection. You can read more about the
SUMO networks in our documentation
<https://sumo.dlr.de/docs/Networks/SUMO_Road_Networks.html#internal_edges>
.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] Question about the net.xml file
Datum: 2023-11-01T11:18:25+0100
Von: "Charitha Heendeniya via sumo-user" <[email protected]
<mailto:[email protected]> >
An: "[email protected] <mailto:[email protected]> " <
[email protected] <mailto:[email protected]> >
Dear sir,
I would like to load *.net.xml file (OSM file processed by netwocnvert)
as a GeoPandas data frame for exploratory work.
Naturally, I'm interested in the features with geometry information such
as the edges of the network.
I found two types of edges in the XML file: One with function="internal"
attribute and the one without.
<edge id=":10002263193_0" function="internal">
<lane id=":10002263193_0_0" index="0" allow="pedestrian delivery
bicycle" speed="3.65" length="4.67" shape="5916.19,12233.05
5916.97,12231.83 5917.76,12231.42 5918.57,12231.81 5919.39,12233.00"/>
</edge>
<edge id="1952" from="417774753" to="417774792" priority="3"
type="highway.residential">
<lane id="1952_0" index="0" disallow="tram rail_urban rail
rail_electric rail_fast ship" speed="13.89" length="42.28"
shape="5525.69,9779.31 5525.02,9737.04"/>
</edge>
I can see the edges without function="internal" attribute when I load the
network in netedit. So, these edges correspond to the actual road
network.
But what are the other edges with function="internal" attribute?
I appreciate if you could give some advice.
Regards
Buddi
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user