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.
See also
https://sumo.dlr.de/docs/sumo-gui.html#visualizing_edge-related_data

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 <
[email protected]>:

> 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
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to