Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Ilya Zverev
Dear community, WTF? admin_level on place nodes surely duplicates admin_level tag value from one of relations which contain that node, but is that a bad thing? Did you try to calculate admin_level for a place in osm2pgsql database? I've spent two hours now trying to construct and optimize an SQL

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Ilya Zverev
Sorry, two facts that I forgot to check before sending the last mail. 1. There are 63762 place nodes with an admin_level in the database, and ~330k other nodes with this tag. I guess it's too late to forbid using the tag on nodes. 2. It's Berlin that was edited, not London:

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Martin Koppenhoefer
2014-05-13 14:20 GMT+02:00 Ilya Zverev zve...@textual.ru: admin_level on place nodes surely duplicates admin_level tag value from one of relations which contain that node, but is that a bad thing? Did you try to calculate admin_level for a place in osm2pgsql database? I've spent two hours

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Ilya Zverev
Martin Koppenhoefer: admin_level has no real definition in the wiki what it is supposed to express: the key link redirects to boundary=administrative: http://wiki.openstreetmap.org/wiki/Key:admin_level#admin_level ... Now there is also a key capital that can tell the administrative

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Martin Koppenhoefer
2014-05-13 15:02 GMT+02:00 Ilya Zverev zve...@textual.ru: First, this discussion it seemed was about removing admin_level tags, and not straightening up the tagging schema. I posted my reply because I had seen the tag removed from Berlin, not replaced by another. Left there is capital=yes

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Fernando Trebien
I surely could remove the warning I've added to the wiki, but please first consider that, from the ~33 nodes with a place=* tag that you mentioned, only 63762 (19%) are combined with an admin_level tag. I've mentioned [1] many of important cities (in fact, secondary, tertiary cities, right

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread John Packer
Hi Martin, I was the one that marked the proposal for the key capital as cancelled (maybe abandoned was a better status). I did this because I saw it's use was a complete mess in tag info, and as far as I knew, admin_centre had the same purpose, so I just wanted to help to clean the wiki from it's

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Martin Koppenhoefer
2014-05-13 16:54 GMT+02:00 John Packer john.pack...@gmail.com: Hi Martin, I was the one that marked the proposal for the key capital as cancelled (maybe abandoned was a better status). I did this because I saw it's use was a complete mess in tag info, and as far as I knew, admin_centre had

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Fernando Trebien
Hm, what does capital=8 mean? I've only seen the value capital=yes so far. It could be the result of a bad import. On Tue, May 13, 2014 at 12:12 PM, Martin Koppenhoefer dieterdre...@gmail.com wrote: 2014-05-13 16:54 GMT+02:00 John Packer john.pack...@gmail.com: Hi Martin, I was the one that

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Martin Koppenhoefer
2014-05-13 17:25 GMT+02:00 Fernando Trebien fernando.treb...@gmail.com: Hm, what does capital=8 mean? I've only seen the value capital=yes so far. It could be the result of a bad import. it generally means capital (or admin_centre) of an admin_level=8 entity. cheers, Martin

[Tagging] capital and state_capital: how are they being used in your country?

2014-05-13 Thread Fernando Trebien
Following from the previous discussion (https://lists.openstreetmap.org/pipermail/tagging/2014-May/017515.html), it seems clear we would all like to know how these tags are being employed in each other's country. So if you know how it's being done in yours, or if you can try figuring it out,

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Martin Koppenhoefer
2014-05-13 17:24 GMT+02:00 John Packer john.pack...@gmail.com: I still think it's needed to create a proper page for this key. I find it hard to see a proposal page with such a long discussion as some kind of standard. I agree that the docu could be better here, and it would certainly be a

Re: [Tagging] capital and state_capital: how are they being used in your country?

2014-05-13 Thread Fernando Trebien
None of them have admin_level=* tags. should have been None of them have admin_level=* tags on the nodes, only in relations. On Tue, May 13, 2014 at 12:40 PM, Fernando Trebien fernando.treb...@gmail.com wrote: Following from the previous discussion

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread John Packer
I really don't think this is considered a standard tag by most people. In taginfo we can find keys like capital_city, capital_level, is_capital, state_capital, capital. As far as I saw, each key is concentrated on some parts of the globe. It certainly is not a fact that it is standard. I had

Re: [Tagging] capital and state_capital: how are they being used in your country?

2014-05-13 Thread John Packer
More information: All 48 nodes with capital=10 have admin_level=10 19 nodes out of 122 with capital=7 also have admin_level=7 21 nodes out of 331 with capital=6 also have admin_level=6 (this one came from that Spain import) 94 nodes out of 427 with capital=4 also have admin_level=4 182 nodes out

[Tagging] Structure on the end of tunnel to cover sun and avoid bright blindness

2014-05-13 Thread Arlindo Pereira
Dear all, How would you map these structures often used in tunnels to prevent drivers/train conductors from being blinded by the sun? Check pics: [1http://www.destakjornal.com.br/sistema/noticias/150667/capa/4166836.jpg ]

Re: [Tagging] Structure on the end of tunnel to cover sun and avoid bright blindness

2014-05-13 Thread Janko Mihelić
First, I'd rather tag it as building=roof, but even that might not be enough because it's not built to be a roof. If the only function is sun blocking, maybe some long name like building=tunnel_exit_sun_block. Janko 2014-05-13 20:06 GMT+02:00 Arlindo Pereira openstreet...@arlindopereira.com :

Re: [Tagging] Structure on the end of tunnel to cover sun and avoid bright blindness

2014-05-13 Thread Nelson A. de Oliveira
On Tue, May 13, 2014 at 3:24 PM, Janko Mihelić jan...@gmail.com wrote: First, I'd rather tag it as building=roof, but even that might not be enough because it's not built to be a roof. If the only function is sun blocking, maybe some long name like building=tunnel_exit_sun_block.

Re: [Tagging] Structure on the end of tunnel to cover sun and avoid bright blindness

2014-05-13 Thread Martin Koppenhoefer
Am 13/mag/2014 um 20:30 schrieb Nelson A. de Oliveira nao...@gmail.com: building=shade seems better this could be a idea if you map the structure itself, or maybe building=shading_structure you can also split the highway and add an attribute like shaded=yes or shading_structure=yes or

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Martin Koppenhoefer
Am 13/mag/2014 um 19:06 schrieb John Packer john.pack...@gmail.com: It certainly is not a fact that it is standard. maybe you have to look how capitals are tagged and which of these tags are there for a long time, to be convinced? Are you aware that this key is in default.style? cheers,

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Andreas Goss
Please explain why admin_level on place nodes harms the database, or refrain from removing it. Thanks. I actually put it back in Berlin after I took a 2nd closer look at Germany. Which then actually revealed that all our state capitals are tagged with admin_level=6 when they should be 4 as

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Fernando Trebien
Applications could avoid that mess if they supported and preferred the admin_centre role of relations. For a long time I believed that the only practical reason for placing capital=yes or state_capital=yes on a node was to help the renderer decide how to render the label; the renderer could then

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Andreas Goss
Am 5/14/14 04:51 , schrieb Fernando Trebien: For a long time I believed that the only practical reason for placing capital=yes or state_capital=yes on a node was to help the renderer decide how to render the label; And what happens when go to admin_level=4? __

Re: [Tagging] admin_level on nodes: wiki vs practice

2014-05-13 Thread Fernando Trebien
In Brazil, admin_level=4 is state level, so it would be state_capital=yes. I've never really thought about it in depth because Brazil only has 2 administrative levels with a capital city and the country only has 1 capital. This is how it looks like in Brazil now: 1. Node tagged as

Re: [Tagging] Structure on the end of tunnel to cover sun and avoid bright blindness

2014-05-13 Thread Andrew Errington
On Wed, 14 May 2014 05:13:20 Martin Koppenhoefer wrote: Am 13/mag/2014 um 20:30 schrieb Nelson A. de Oliveira nao...@gmail.com: building=shade seems better this could be a idea if you map the structure itself, or maybe building=shading_structure you can also split the highway and

Re: [Tagging] capital and state_capital: how are they being used in your country?

2014-05-13 Thread Andreas Goss
Am 5/13/14 17:40 , schrieb Fernando Trebien: So if you know how it's being done in yours, or if you can try figuring it out, please take a minute to describe it here briefly. http://taginfo.openstreetmap.org/keys/state_capital#map Pretty much answers that for state_capital=. Outside North