简体   繁体   English

在SUMO的路线上创建POI

[英]Creating POI on the routes in SUMO

Is it possible to make POIs on the routes of SUMO automatically? 是否可以在SUMO路由上自动进行POI?

I want to have the locations of Base stations along the routes that cars or pedestrians move. 我想在汽车或行人移动的路线上找到基站的位置。 I have manhattan.net.xml and manhattan.rou.xml as network file and route file in SUMO. 我将manhattan.net.xml和manhattan.rou.xml作为SUMO中的网络文件和路由文件。 I want to create the POI file that has POIs along side the routes with some distance from street. 我要创建POI文件,该POI文件沿路线的距离与街道有一定距离。 Is it possible to create this POI file automatically? 是否可以自动创建此POI文件?

Thanks. 谢谢。

No, it is not possible to generate this directly from sumo or the sumo-gui. 不,不可能直接从相扑或相扑图形用户界面生成此信息。

If you are willing to write a small python script however, you get a lot of support functions in the tools directory of your sumo installation. 但是,如果您愿意编写一个小的python脚本,则可以在sumo安装的tools目录中获得很多支持功能。 There is even a script which does almost what you want: tools/route/tracegenerator.py . 甚至还有一个脚本几乎可以满足您的需求: tools / route / tracegenerator.py This one generates points along the route. 这沿路线生成点。 You will have to add the offset and adapt the output format to generate POIs. 您将必须添加偏移量并调整输出格式以生成POI。 Maybe write to the mailing list for more help: http://sumo.dlr.de/wiki/Contact 也许写邮件列表以获得更多帮助: http : //sumo.dlr.de/wiki/Contact

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM