Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Junctions
  • From: Michael Behrisch <oss@xxxxxxxxxxx>
  • Date: Fri, 2 Nov 2018 08:32:36 +0100
  • Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Hi Bassma,
the easiest way is to parse the network using sumolib:
http://sumo.dlr.de/wiki/Tools/Sumolib#import_a_network_and_retrieve_nodes_and_edges
For the API of the net, see also
http://www.sumo.dlr.de/pydoc/sumolib.net.html

Best regards,
Michael

Am 01.11.18 um 19:03 schrieb bassma aldahlan:
> Thank you for answering Jakob,
> 
> I have another question please.
> 
> After:
> 
> 
> <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>
> 
>     <input>
>         <osm-files value="osm_bbox.osm.xml"/>
>     </input>
> 
>     <output>
>         <output-file value="lex.net.xml"/>
>     </output>
> 
>     <projection>
>         <proj.utm value="true"/>
>     </projection>
> 
>     <tls_building>
>         <tls.discard-simple value="true"/>
>         <tls.join value="true"/>
>         <tls.guess-signals value="true"/>
>     </tls_building>
> 
>     <ramp_guessing>
>         <ramps.guess value="true"/>
>     </ramp_guessing>
> 
>     <processing>
>         <geometry.remove value="true"/>
>         <junctions.join value="true"/>
>     </processing>
> 
> </configuration>
> 
> I would like to get the id of each intersection(junction) and the
> position to check if the position of a node is in an intersection. What
> is the command to get the id and the position of an intersection? I mean
> I need to get all the area of intersection (a cluster of junction)?
> 
> 
> Thank you,
> 
> Bassma
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> *From:* sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on
> behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
> *Sent:* Wednesday, October 31, 2018 7:47 AM
> *To:* Sumo project User discussions
> *Subject:* Re: [sumo-user] Junctions
>  
> Hello,
> After joining junctions, some in-between edges no longer exists and you
> need to re-generated your traffic demand. If you scenario was first
> generated with osmWebWizard, you can just execute the script build.bat
> 
> regards,
> Jakob
> 
> Am Di., 30. Okt. 2018 um 18:02 Uhr schrieb bassma aldahlan
> <basooooma1@xxxxxxxxxxx <mailto:basooooma1@xxxxxxxxxxx>>:
> 
>     Hi All!
>     I used sumo and OSM . I need to join the nodes in the junctions in
>     sumo, so I used this command:
>     netconvert --sumo-net-file map.net.xml \
>     >  --output-file mapJJ22.net.xml \
>     > --junctions.join
> 
>     but when I use this command sumo-gui mapJ.sumo.cfg, I got an error:
>     Error:The edge '-417597670#4' within the route for vehicle '0' is
>     not known. The route can not be build
>     Quitting (on error ).
> 
>     How to cluster the nodes in junctions and get the id of each
>     junction if I use sumo and OSM? How can I trace the junction after
>     join in ns3. I know  how to trace the position of a node in ns3, but
>     not the position of junction  of clusters?
> 
> 
> 
>     Thanks,
> 
>     _______________________________________________
>     sumo-user mailing list
>     sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>     To change your delivery options, retrieve your password, or
>     unsubscribe from this list, visit
>     https://www.eclipse.org/mailman/listinfo/sumo-user
> 
> 
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top