eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.57k stars 1.43k forks source link

displaying an imgFile for a POI or Polygon doesn't work (*) #15533

Open angelobanse opened 1 month ago

angelobanse commented 1 month ago

The first time it loads a certain image file, it will not display it in netedit. If the same file is used twice, it does load.

This doesn't affect sumo-gui

namdre commented 1 month ago

possibly a regression?

angelobanse commented 1 month ago

I just tried v.1.20.0, 1.17.0 and 1.5.0 and it also appears there.

angelobanse commented 1 month ago

poi_polygons

If the POI is inserted first, everything works as expected.

It looks like only the POI can actually "load" the image

angelobanse commented 1 month ago

also, when opening a .netecfg where there are a POI and a Polygon using the same image, only the POI will display it...