[OSM-talk] Osmarender - rendering of segments - possible compromise solution

Etienne 80n80n at gmail.com
Mon Sep 25 14:51:52 BST 2006


Having reviewed the feedback from the release of Osmarender 3.0 it is clear
that many people have been tagging segments that are parts of ways as a
method of indicating that some part of the way is different.  For example a
way might be tagged as a residential but one segment within the way might be
tagged with abutters=retail.

It seems to me that this is a valid use case.

I want to propose a solution that allows this use case but still does not
render raw segments that are NOT part of a way.  This will allow segments to
be tagged as an override to a way but will continue to discourage tagging of
segments on their own.

Currently you can choose what elements to select as part of a rule:

<rule e="node|segment|way"  ...> will select all nodes, segments and ways.

I'm proposing a new pseudo-element selector called waysegment, which will
match segments that are part of a way, but not match bare segments that are
not part of a way.  Such a  rule would look like this:

<rule e="node|waysegment|way"  ...> will select all nodes, all segments that
are part of a way and all ways.

What do people think?

Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20060925/22592440/attachment.html>


More information about the talk mailing list