[OSM-talk] relations

Dave Stubbs osm.list at randomjunk.co.uk
Wed Jan 2 16:57:04 GMT 2008


On 02/01/2008, Richard Fairhurst <richard at systemed.net> wrote:
> Jo wrote:
>
> > I'm adding relations for bus routes and now I'm going to start using
> > them for cycle routes and signed walking paths. I have a few questions
> > about them and their implementation in the editors though. I find that
> > I'm splitting up roads a lot to indicate that a specific part of it is
> > part of a route. Say somebody comes after me and uses Potlatch or JOSM
> > to combine these streets again. Would this be possible? Or is it somehow
> > prevented?
>
> Right now, the only relations support in Potlatch is that if you
> delete an object (be it way or node), it is also removed from any
> relations that it might be in. In other words, the bare minimum
> required not to break relations (though it may on occasion break their
> meaning!).
>
> Proper relations handling is something that Potlatch will need in due
> course but isn't a priority for me at the moment - though I think Dave
> Stubbs has started work on implementing it.
>

Yep, started on it.
But got distracted a bit though... I'll probably get back working on it soonish.

The implementation will only handle route type relations, which is
what you want here. Relations are funny old things -- you have to
handle different relation types in very different ways, the results of
splitting, merging, deleting will have different requirements.
Can I suggest everybody is careful to talk about "routes" or
"route-relations" rather than just "relations" to stop everybody
getting really confused at some point?!

Dave




More information about the talk mailing list