Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Rendering Polygons and POI

Thanks for your help! It worked.

-----原始邮件-----
发件人:"Jakob Erdmann" <namdre.sumo@xxxxxxxxx>
发送时间:2018-07-09 15:28:14 (星期一)
收件人: "徐晨翔" <sy20173071133@xxxxxxxxxx>, "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
抄送:
主题: Re: [sumo-user] Rendering Polygons and POI

The color is applied to image files as well (this can be used to tint grayscale images).
If you set the color to "white", it will render normally.

regards,
Jakob

2018-07-09 9:00 GMT+02:00 徐晨翔 via sumo-user <sumo-user@xxxxxxxxxxxxxxxxxxxxx>:
Hi

I followed the documentation but still can't render the POI in my net. I can successfully load the shape file, but the POI is rendered with one single color.
When I rendered vehicles in sumo, there is a option in the View Setting named Show As. You can find this option in vehicle, persons, Containers, etc. And change their shape with your own image file. But there is no such option in POIs nor in Polygons.

Hope someone can answer my question. 

Thanks a lot.

An example of my POI files is presented below:

<additionals>
<oly id="poly_0" color="green" fill="1" layer="0.00" shape="507.21,517.38 605.25,595.00 662.86,544.34 614.65,493.28 550.10,480.61 507.21,517.38" imgFile="Aha-Soft-Standard-City-University.ico"/>
<poi id="POI_0" type="1" color="red" layer="0.00" x="446.55" y="612.72" angle="10.00" imgFile="Aha-Soft-Standard-City-University.ico" width="100.00" height="100.00"/>
</additionals>






------------------------------------------------------------------------------
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
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Back to the top