Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] SUMO GUI settings file for custom lane segment coloring


Thank you, Jakob,

I have gone ahead and used polygons to achieve the desired result instead, hopefully with no unknown side effects.

Sincerely,
Hriday


On Mon, 9 May 2022 at 06:50, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Usually, there is only one color per edge and there are some settings which give distinct colors per lane (i.e. 'color by param (numerical, lanewise)').
Thus, if you need colors that vary after 250m, I'd recommend to split your edge so each one is 250m long.

There is one setting for getting more fine grained coloring: "color by height at geometry-segment start'.  This permits setting a progression of colors for a sloped edge with geometry points in the desired spacing.

regards,
Jakob

Am Fr., 6. Mai 2022 um 21:05 Uhr schrieb Hriday Sanghvi via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello,

Is it possible to set the color of different segments of a lane (say from 0-250m, 250-500m, 500-750m and 750-1000m) during the GUI simulation run? The closest I think I have found is in View settings > Streets > Set "Color" dropdown menu to "By given length/geometrical length" but I am unsure how to use it?

Thank you.

Sincerely,
Hriday
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top