Logo de OpenStreetMap OpenStreetMap

Bus and other relations

Publicado por andywcoder el 7 enero 2011 en English.

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/

Ícono de correo electrónico Icono de Bluesky Ícono de Facebook Ícono de LinkedIn Ícono de Mastodon Ícono de Telegram Ícono X

Discusión

Comentario de Richard el 7 de enero de 2011 a las 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.

Comentario de flaimo el 8 de enero de 2011 a las 03:17

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

Comentario de andywcoder el 8 de enero de 2011 a las 08:17

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

Iniciar sesión para dejar un comentario