開放街圖標誌 OpenStreetMap 開放街圖

Bus and other relations

於 2011年一月 7日 由 andywcoderEnglish發表。

Please use the roles 'forward' and 'backward' if you create routes that don't follow the same ways in both directions. And check that all the ways are nicely connected and in the right order. JOSM is a great tool to create routes. Read osm.wiki/Relation:route if you're not sure how to do it right.

I wrote a small script that converts a single osm relation of ways into a kml. That lets you view routes in google earth or google maps. It doesn't work with super-relations but it should work well with roles. Check it out: http://www.jrq.ch/osmrelations/

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

Richard2011年01月 7日 23時35分 發表的評論

"check that all the ways are nicely connected and in the right order"

Don't be silly. Any programmer worth their salt can sort route relations into the right order. Mappers are our most valuable commodity; we shoudn't impose additional burdens on them to help lazy programmers. Route relations are not required to be ordered and nor should they be.

flaimo2011年01月 8日 03時17分 發表的評論

actually the new mapping scheme makes roles unnecessary: osm.wiki/Proposed_features/Public_Transport

andywcoder2011年01月 8日 08時17分 發表的評論

@flaimo I really like the idea for making every route variant/direction a own relation. Saves a lot of trouble.

登入 來留下評論