Thank you Jakob, your help is very precious as usual.
customShape="true" was the point I was looking for since too much time. By
the way, it's not documented in the wiki:
http://sumo.dlr.de/wiki/Networks/SUMO_Road_Networks#Junctions_and_Right-of-Way

If you give me a reason why the recommended approaches do not work for you
> I may be able to make yet another recommendation.


I'm working on the Webots simulator where we also have an OSM -> Webots
road network converter with constraints slightly different than netedit.
Typically, the OSM "turn:lanes" info is not covered by SUMO. Moreover, the
users are supposed to edit our Webots network before adding *optionally*
the SUMO "layer". In a first approach, we have done this in the other
direction (OSM -netconvert-> SUMO -> Webots network), but the data synch
was a total mess. The solution to export sumo.net.xml from our network
seems to offer a much better workflow for our users.
My solution is almost working, hopefully this week, with only ~300 simple
lines of Python, because I think that our network contains all the
information required by SUMO and more.

I would be very interesting to have your comments on this project.


Sincerely,

--
Fabien Rohrer
Software Developer
Cyberbotics Sàrl <http://www.cyberbotics.com/>
PSE C - EPFL
1015 Lausanne
Switzerland
--

2017-06-05 17:43 GMT+02:00 Jakob Erdmann <[email protected]>:

> Please excuse my fast typing. I strongly recommend **against** building
> .net.xml files with something other than netconvert.
>
>
> 2017-06-05 17:33 GMT+02:00 Jakob Erdmann <[email protected]>:
>
>> Hello,
>> I suspect you are exporting the data incorrectly and did not set the
>> <junction> attribute customShape="true".
>> I strongly recommend building .net.xml files with something other than
>> netconvert (http://sumo.dlr.de/wiki/FAQ#I_made_changes_to_the_.net.xml-
>> file_but_it_did_not_work_as_expected._Why.3F)
>> If you give me a reason why the recommended approaches do not work for
>> you I may be able to make yet another recommendation.
>>
>> regards,
>> Jakob
>>
>>
>>
>> 2017-06-05 9:24 GMT+02:00 Fabien Rohrer <[email protected]>:
>>
>>> Hi,
>>>
>>> I'm writing a script exporting sumo.net.xml files, and I have issues with
>>> the junction.shape field. I think that I'm exporting the data correctly,
>>> but strangely, netedit seems to simply not taking this field into account
>>> and recreates automatically its own shapes (which doesn't fit my goals).
>>>
>>> Is there a way to get rid of this automatic computation and use the raw
>>> data inside sumo.net.xml?
>>>
>>> Sincerely,
>>> --
>>> Fabien Rohrer
>>> Software Developer
>>> Cyberbotics Sàrl <http://www.cyberbotics.com/>
>>> PSE C - EPFL
>>> 1015 Lausanne
>>> Switzerland
>>> --
>>> ------------------------------------------------------------
>>> ------------------
>>> 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
>>> [email protected]
>>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to