[talk-au] navit and bays/coastline around Sydney

Andrew Harvey andrew.harvey4 at gmail.com
Tue Apr 26 12:41:39 BST 2011


On Tue, Apr 26, 2011 at 8:28 PM, Franc Carter <franc.carter at gmail.com> wrote:
> Hi,
>
> I remember there was a discussion a while ago tagging of bays - which
> I didn;t pay much attention too ;-(
>
> They now seem to be in a relation for each Bay, which is nice for
> defining the area of the bay. However there are no tags on the ways
> themselves and as a result Navit does nto render them as water, which
> makes the map on Navit significantly less easy to use.
>
> My thought would be to put the coastline tag back on the ways and keep
> the relations - any thoughts or suggestions on how to recover Navit
> goodness ?

I've been aiming to tag bays as areas rather than just a node in the
centre. As a consequence my initial thought was to tag the area as
natural=bay. Traditionally most renderers didn't render this as water.
the OSM Mapnik style now does, but many others still don't. The
problem was I couldn't tag as both natural=water to get the rendering
and natural=bay to indicate the type of feature.

I've since realised that tagging as natural=water, water=bay could be
a solution to use, but as natural=bay already had widespread use with
nodes, I wanted to keep consistency.

As Markus_g mentioned you could try to edit Navits stylesheets so it
renders natural=bay areas as water (some times as a multipolygon),
although...

I'm not opposed to your suggestion of keeping a kind of coastline tag,
I'm just not sure the best way to implement it, please discuss it if
you like.

* Perhaps the coastline tag should be reserved for the ocean facing
coast. If we want to tag anything say inside a bay or harbour maybe we
could use a shoreline tag.
* A problem with tagging the area of a bay is that while the shoreline
is mostly well defined, the other edge is fuzzy. A possible solution
is to use a multi polygon relation to tag just the non-shoreline
segments of the bay outline as fuzzy=*. I suppose that using a
multipolygon relation you can keep jest the shoreline segments
together in another relation for say a larger harbour or river....



More information about the Talk-au mailing list