[Talk-us] script for adding layer=1 to bridges

Dale Puch dale.puch at gmail.com
Thu Jan 28 23:14:13 GMT 2010

Looking at http://wiki.openstreetmap.org/wiki/Layer My take is that the open
to the air surface is layer 0  Ground or water.  I'm not sure why it is
limited to -5 to 5 instead of -9 to 9...

So a bridge over a river or dug ditch is layer 1, and the water would be 0
A road over a covered waterway tunnel is layer 0 and the water -1
A bridge over a canyon is layer 1

+ numbers are elevated, 0 is the surface, and - is below ground

I feel a script applying layer=1 to any bridge without a layer tag should be
ok IF it also checks for bridges that cross it and increment those layer

Dale Puch

On Thu, Jan 28, 2010 at 3:29 PM, Anthony <osm at inbox.org> wrote:

> On Thu, Jan 28, 2010 at 2:34 PM, <dion_dock at comcast.net> wrote:
>> Maybe I should rephrase my question: is there any harm in adding a layer=1
>> tag to something that is already tagged bridge=yes?
> In some cases, yes.  No layer tag implies layer=0.  For example (and it's
> only a single example which came to mind), if there are two bridges which
> cross each other, one has layer=1, and the other has no layer tag, then
> adding layer=1 to one bridge will break things.
>> Would things be worse after doing this?  I submit that the maps would look
>> the same or better in most cases.
> I don't think that "the same or better in most cases" is sufficient to
> justify automated edits.
> _______________________________________________
> Talk-us mailing list
> Talk-us at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20100128/2634fbab/attachment.html>

More information about the Talk-us mailing list