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

2014-05-14 Thread Martin Koppenhoefer
2014-05-14 4:51 GMT+02:00 Fernando Trebien fernando.treb...@gmail.com: 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 avoid the trouble of

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

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] 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] 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] admin_level on nodes: wiki vs practice

2014-05-12 Thread Pieren
On Sun, May 11, 2014 at 10:37 AM, sabas88 saba...@gmail.com wrote: In Italy we use capital=* with the corresponding (minimum) admin level, so Rome has capital=2 and so on.. That's for what 'admin_level' role has been created : to connect the administrative place to its boundary. The modeling

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

2014-05-12 Thread Martin Koppenhoefer
2014-05-11 3:50 GMT+02:00 Nelson A. de Oliveira nao...@gmail.com: Isn't admin_level a property of boundary=administrative? (that is also a an specialization of a boundary relation) Using admin_level outside (or without) a boundary=administrative relation will be as wrong/incomplete as using

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

2014-05-11 Thread sabas88
On 11 May 2014 06:32, Fernando Trebien fernando.treb...@gmail.com wrote: Hm I've looked up a few other cities (Hamburg, Munich, Cologne, Lyon, Marseille, Rotterdam, Zurich, Manchester, Birmingham, Salzburg, Aarhus) and they do not have an admin_level tag on the place=* node. At the same time,

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

2014-05-11 Thread Colin Smale
See also the use of the admin_centre in boundary relations. This allows a place to have a different role/importance for each admin area it is in. An interesting case is Amsterdam, which is the capital of NL but not the provincial capital of the province it is in (that's Haarlem). The tagging

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

2014-05-11 Thread Andreas Goss
In the German Forum we came to the conclusion that the idea probably was to indicate it's the capital (which should be done with role: admin_centre) http://forum.openstreetmap.org/viewtopic.php?id=25418 I removed that Tag from Berlin. Andi Am 5/11/14 06:31 , schrieb Fernando Trebien: Hm

[Tagging] admin_level on nodes: wiki vs practice

2014-05-10 Thread Fernando Trebien
Hello everyone, We're having a little discussion in the Brazilian community about whether the node tagged with place=* that represents a city should/shouldn't have an admin_level=* tag. The wiki states, since at most 2010 [1], that the admin_level tag should not be used on nodes. However, both

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

2014-05-10 Thread Eugene Alvin Villar
I think an explicit tagging scheme that specifies the correspondence between place=* tags and admin_level=* tags is a good thing. On Sun, May 11, 2014 at 8:28 AM, Fernando Trebien fernando.treb...@gmail.com wrote: Hello everyone, We're having a little discussion in the Brazilian community

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

2014-05-10 Thread Nelson A. de Oliveira
On Sat, May 10, 2014 at 10:10 PM, Eugene Alvin Villar sea...@gmail.com wrote: I think an explicit tagging scheme that specifies the correspondence between place=* tags and admin_level=* tags is a good thing. Isn't admin_level a property of boundary=administrative? (that is also a an