Hello,
in my opinion it would not be very complex to add this.The main reason why
it has not been done is lack of time and the relative complexity of the
tagging scheme. You are welcome to contribute.

The OSM import code is confined to
src/netimport/NIImporter_OpenStreetMap.cpp and there is a simple internal
API for specifying connections (Guessing is disabled for an edge as soon as
there is at least one user-defined connection). As an example you could
take a look at src/netimport/NIXMLConnectionsHandler.cpp where
user-specified connections are imported from a simple xml input format.
(see
http://sumo.dlr.de/wiki/Networks/Building_Networks_from_own_XML-descriptions#Explicitly_setting_which_Edge_.2F_Lane_is_connected_to_which
).

best regards,
Jakob

2017-01-26 10:38 GMT+01:00 Fabien Rohrer <[email protected]>:

> Thank you Jakob for this quick answer.
> This is what I feared.
>
> Would it be complex to implement?
> Is there somewhere in the netconvert code where one could bypass the "custom
> connection-guessing heuristic" and replace it by the OSM turn lanes data
> (if this data is accessible)?
>
> Sincerely,
>
> --
> Fabien Rohrer
> Software Developer
> Cyberbotics Sàrl <http://www.cyberbotics.com/>
> PSE C - EPFL
> 1015 Lausanne
> Switzerland
> --
>
> 2017-01-26 9:08 GMT+01:00 Jakob Erdmann <[email protected]>:
>
>> Hello,
>> netconvert does not yet import this data (http://sumo.dlr.de/trac.wsgi/
>> ticket/1990).
>> Instead a custom connection-guessing heuristic is used. This heuristic is
>> being worked on continuously but there is no documentation outside the code.
>> For complex intersections (especially multi-modal intersections) it is
>> recommended to recheck connections (i.e. with netedit).
>>
>> regards,
>> Jakob
>>
>> 2017-01-24 15:13 GMT+01:00 Fabien Rohrer <[email protected]>:
>>
>>> Hi all,
>>>
>>> OSM supports "turn:lanes" attributes indicating connection information
>>> in a
>>> junction.
>>> http://wiki.openstreetmap.org/wiki/Josm/styles/lane_features#turn:lanes
>>>
>>> I can't figure out if SUMO netconvert supports this attribute during an
>>> importation, it seems that the connections are based on some other
>>> algorithm by default.
>>>
>>> Could anyone explain me the current status about this topic?
>>>
>>> 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