[OSM-dev] Relation - Multipolygon = "Area"

Igor Brejc igor.brejc at gmail.com
Tue Apr 19 18:53:31 BST 2011


On Tue, Apr 19, 2011 at 7:27 PM, Ben Supnik <bsupnik at xsquawkbox.net> wrote:

>
> Of course, it may _still_ be up to the renderer to decide when to connect
> vs. not connect areas...I think under my distinctions here, the renderer
> would have discretion in case 3 to 'merge or not merge' but in cases 1 and
> 2, the correct behavior would always be to treat the super area as the area.
>
> (This of course puts more work on clients to calculate correct
> super-areas...)
>
>
The way I plan to solve this is to leave to the user to tell the renderer
what kind of a feature she wants to draw and how to construct the feature
from OSM primitives. So for example:

   - "Draw me a road network using OSM ways tagged with highway=motorway OR
   highway=trunk"
   - "Draw me simple polylines using OSM ways tagged with power=line"

Sometimes you want to avoid excessive feature compositing because of
performance reasons, so I'd leave the decision to the user.

lp Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110419/74903a0c/attachment.html>


More information about the dev mailing list