Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] net2geojson - strange boundary shape


Hi Sasan,

this is a bug within the sumolib geometry library responsible for creating the lane boundaries, tracked at Github #16295. The edge -54176369#1 has an approx. 180° change between the last two geometry segments which triggers the problem.



Best regards,

Mirko

-----Original-Nachricht-----
Betreff: [sumo-user] net2geojson - strange boundary shape
Datum: 2025-03-06T15:10:32+0100
Von: "Sasan Amini via sumo-user" <sumo-user@xxxxxxxxxxx>
An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>

Dear all,
I am using net2geojson.py to generate the geojson of my network using
the boundary option. I notice one edge having a strange shape, not
sure if it is because of a sharp turn or the order of the geometry
points being different from their "actual" position. But it looks fine
if I export Linestring or look at it in sumo-gui.
Any ideas how to avoid this in the network creation process?

Thanks,
Sasan



Back to the top