[OSM-talk] Route relations on cycle map

Andy Allan gravitystorm at gmail.com
Tue Oct 30 14:19:36 GMT 2007


On 10/30/07, Dave Stubbs <osm.list at randomjunk.co.uk> wrote:
> On 30/10/2007, David Earl <david at frankieandshadow.com> wrote:
> > Sorry to jump in rather late on this - was away for a long weekend.
> >
> > Dave, Can I draw your attention to
> > http://wiki.openstreetmap.org/index.php/Relations
> > and in particular
> > http://wiki.openstreetmap.org/index.php/Relations/Proposed/Routes
> >
> > This matches yours pretty closely, but
> >
> > (a) has a relation type (not strictly necessary, as route would do that,
> > but was Frederick's original intention)
> >
> > (b) most importantly, has a route=bicycle tag so that other kinds of
> > route can be represented
>
> I mentioned both of these in my original mail. As I said there, it's
> up to the mappers to decide whether or not to add them. The renderer
> doesn't pay any attention to them, but simply relies on the uniqueness
> of the network=ncn. I think I did add these tags to the examples I
> gave.
>
> Basically I wasn't going to get in on the general discussion of route
> tagging, so just decided to tell people the bare minimum required to
> get a relation to display, and leave the rest as an exercise for the
> reader.
>
> >
> > and
> >
> > (c) uses uk_ncn rather than ncn, just to avoid possible name space clashes.
>
> This is an interesting one. It kind of depends what you are trying to
> do with it. You can follow the same plan that OSM uses for everything
> else in implying what ncn means depending on what country you're in,
> if that works.
> ncn was chosen because it is already being used to tag cycle routes
> outside of the UK. There's some in the netherlands, oslo, stockholm
> and probably elsewhere.
>
> I've actually added uk_ncn as an alias to ncn in the renderer, so
> either will work just fine. There are aliases for uk_rcn and uk_lcn
> too.

I might well remove these aliases - I don't think there's any point to
having different tags for different countries. So far we've got 5
countries all working fine with ncn . If we have uk_ncn as an alias,
it'll just confuse people, since there's no definitive list of what
works.

We've been using ncn for a while now, it works, it's exceptionally
successful and is in use around the planet.

> If people want to map different network types, send an e-mail to andy
> (or me, or the talk list) with a vague idea of how it should be
> rendered (ie: what colour) and what levels, and it'll get put on the
> todo list of things to add, and probably added.

Yeah, we should really get round to doing the National Byway in brown,
but I need to look at the tagging to see how to filter it.

> > I'm sure rendering these will help adoption enormously, but if (b) in
> > particular could be part of your implementation, it would be very
> > useful, and think about (c).

b) is going to be ignored on the cycle map. If it's got a recognised
network tag, it'll be rendered, otherwise it won't. That doesn't stop
anyone from adding the tag however, but I'm not going to force people
to tag with both network=ncn and route=bicycle when the first one
gives all the relevant information that the renderer needs.

Cheers,
Andy




More information about the talk mailing list