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

2014-05-19 Thread Martin Koppenhoefer
2014-05-18 14:43 GMT+02:00 John Packer john.pack...@gmail.com: Honest question: are there capitals for something besides countries and states? Not sure what qualifies as a capital, but in Italy for instance there is no such thing like a state. There are regions (Regione, admin_level 4) and

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

2014-05-19 Thread Martin Koppenhoefer
2014-05-18 15:13 GMT+02:00 Fernando Trebien fernando.treb...@gmail.com: However, its most used value (capital=8) makes little sense (that represents the capital of an admin_level=8 area, which would be the capital of a city!; I think those mappers meant this capital is a city :P). I don't

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

2014-05-19 Thread Wolfgang Hinsch
Am Sonntag, den 18.05.2014, 09:43 -0300 schrieb John Packer: Honest question: are there capitals for something besides countries and states? There are capitals identical with states. E.g. Hamburg, Germany. Also Berlin, Bremen. At the same time Berlin is, of course, the capital of Germany. I

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

2014-05-18 Thread John Packer
Honest question: are there capitals for something besides countries and states? If not, we could keep it simple: * capital=yes for country capitals * state_capital=yes for state capitals (already in use in some parts of America http://taginfo.openstreetmap.org/keys/state_capital#map). PS:

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

2014-05-18 Thread Fernando Trebien
Following from TagInfo's link, if we adopt the most used practice as de facto, that would be capital=[lowest admin_level of respective regions], by a large margin. However, its most used value (capital=8) makes little sense (that represents the capital of an admin_level=8 area, which would be the

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

2014-05-18 Thread Andreas Goss
Am 5/18/14 14:43 , schrieb John Packer: Honest question: are there capitals for something besides countries and states? If not, we could keep it simple: * capital=yes for country capitals * state_capital=yes for state capitals (already in use in some parts of America

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

2014-05-18 Thread Frank Little
Sunday, May 18, 2014 2:43 PM John Pakker wrote: Honest question: are there capitals for something besides countries and states? Italy has both regions and provinces. For example: - http://en.wikipedia.org/wiki/Abruzzo (Region) Capital: L'Aquila -

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

2014-05-18 Thread Fernando Trebien
Oberallgäu is currently mapped as a political (not an administrative) boundary, so Sonthofen would be neither a capital, nor an administrative center of any relation. Correctly, its node has no capital=* or admin_level=* tags. Swabia, on the other hand, has its government seat in Augsburg, and

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

2014-05-18 Thread Fernando Trebien
These could be tagged as follows: - Italy's admin. boundary relation: admin_level=2 - Rome's node: capital=2 - Lazio's admin. boundary relation: admin_level=4 - Province of Rome's admin. boundary relation: admin_level=6 - City of Rome's admin. boundary relation: admin_level=8 And: - Abruzzo's

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

2014-05-18 Thread Fernando Trebien
Correction: renderers would not be interested in knowing what Rome is a capital of to render an icon and a label for it, but only what kind of capital it is (country capital, state capital, province capital, etc.). On Sun, May 18, 2014 at 9:46 PM, Fernando Trebien fernando.treb...@gmail.com

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

2014-05-18 Thread Tod Fitch
On May 18, 2014, at 4:28 PM, Andreas Goss wrote: Am 5/18/14 14:43 , schrieb John Packer: Honest question: are there capitals for something besides countries and states? If not, we could keep it simple: * capital=yes for country capitals * state_capital=yes for state capitals (already in

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

2014-05-18 Thread Andreas Goss
Am 5/19/14 02:27 , schrieb Fernando Trebien: Oberallgäu is currently mapped as a political (not an administrative) boundary, so Sonthofen would be neither a capital, nor an administrative center of any relation. Correctly, its node has no capital=* or admin_level=* tags.

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

2014-05-15 Thread Martin Koppenhoefer
2014-05-15 2:51 GMT+02:00 Fernando Trebien fernando.treb...@gmail.com: And some of these relations (though far from the top of the list) are not assigned an admin_centre role, even though the node exists. btw.: The current definition for administrative relations says that admin_centre should

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

2014-05-15 Thread Pieren
On Thu, May 15, 2014 at 11:31 AM, Martin Koppenhoefer dieterdre...@gmail.com wrote: btw.: The current definition for administrative relations says that admin_centre should be used one or no time in the relation, but what if there is more than one admin_centre, e.g. entities where the

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

2014-05-15 Thread Martin Koppenhoefer
2014-05-15 13:09 GMT+02:00 Pieren pier...@gmail.com: Why not. But the definition shall be clear : it's only the administrative(s) centre(s) place(s) to be linked. The risk if we don't specify a limit is that contributors will use it to link all places within the boundary (making a substitute

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

2014-05-15 Thread Fernando Trebien
Interesting. So it is in fact a rendered-related issue. Since you've pointed out exactly where the problem is in the code, wouldn't it be better to just submit a fix and standardize the mapping practice on capital=[lowest admin_level of related boundary relations]? AFAIK this should only affect

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

2014-05-15 Thread John Packer
(because of current mapnik rules capital=yes should be preferred over capital=2, as the style sheet only takes account of capital=yes or not yes: *https://github.com/gravitystorm/openstreetmap-carto/blob/master/project.mml

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

2014-05-15 Thread Matthijs Melissen
It is currently used in states to indicate where to place the node of the state name, because the administrative centre of a state tends to be the same as it's capital city administrative centre. (example of the label role: https://www.openstreetmap.org/node/539668890) Not necessarily though.

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

2014-05-15 Thread John Packer
Sorry, I meant the adminstrative centre of the state's capital city It is currently used in states to indicate where to place the node of the state name, because the administrative centre of a state tends to be the same as *the state's *capital city administrative centre. 2014-05-15 9:23

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

2014-05-15 Thread Pieren
On Thu, May 15, 2014 at 2:23 PM, Matthijs Melissen i...@matthijsmelissen.nl wrote: Some more strange cases: We could create an additional role (e.g. capital) when the admin_centre is not the capital (and only in this case to avoid unnecessary duplicates). Pieren

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

2014-05-15 Thread Richard Welty
On 5/15/14 8:57 AM, Pieren wrote: On Thu, May 15, 2014 at 2:23 PM, Matthijs Melissen i...@matthijsmelissen.nl wrote: Some more strange cases: We could create an additional role (e.g. capital) when the admin_centre is not the capital (and only in this case to avoid unnecessary duplicates).

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

2014-05-15 Thread fly
Am 15.05.2014 14:57, schrieb Pieren: On Thu, May 15, 2014 at 2:23 PM, Matthijs Melissen i...@matthijsmelissen.nl wrote: Some more strange cases: We could create an additional role (e.g. capital) when the admin_centre is not the capital (and only in this case to avoid unnecessary

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

2014-05-15 Thread Steve Doerr
On 15/05/2014 13:23, Matthijs Melissen wrote: - The administrative centre of a region might be licated outside the region in administers. For example, the city of Częstochowa is the administrative centre of Częstochowa county, but the city is not part of the county (the county forms a ring

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

2014-05-15 Thread Martin Koppenhoefer
2014-05-15 15:12 GMT+02:00 Richard Welty rwe...@averillpark.net: We could create an additional role (e.g. capital) when the admin_centre is not the capital (and only in this case to avoid unnecessary duplicates). some definitions to keep in mind: capital - a city serving as a seat of

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

2014-05-15 Thread Andreas Goss
Am 5/15/14 16:30 , schrieb fly: Regarding the original discussion I am in favour of using capital=[2-10]* if an additional tag is needed. The semicolon (;) is defined as value separator so we could have capital=4;6;8 or similar. This just sounds like a disaster waiting to happen. I also don't

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

2014-05-15 Thread Martin Koppenhoefer
2014-05-15 18:32 GMT+02:00 Andreas Goss andi...@t-online.de: The semicolon (;) is defined as value separator so we could have capital=4;6;8 or similar. This just sounds like a disaster waiting to happen. I also don't see why it would be needed. You are doubling the risk of errors when it

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

2014-05-15 Thread John Packer
Wait a minute. As far as I understood, the key capital=* isn't supposed to simply substitute admin_level. capital=2 means this city (which the node represents) is the capital city of this country (which has admin_level=2). capital=4 means this city (which the node represents) is the capital city

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

2014-05-15 Thread Martin Koppenhoefer
2014-05-15 18:52 GMT+02:00 John Packer john.pack...@gmail.com: Wait a minute. As far as I understood, the key capital=* isn't supposed to simply substitute admin_level. capital=2 means this city (which the node represents) is the capital city of this country (which has admin_level=2).

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

2014-05-15 Thread Andreas Goss
I'd see it like this: capital=2 this place is the capital of a country capital=4 this place is the capital of a region (etc.) i.e. you can see the administrative importance, but there is no notion of which entity the place is the capital. capital=2;4 doesn't make much sense then. You

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

2014-05-15 Thread fly
Am 15.05.2014 18:32, schrieb Andreas Goss: Am 5/15/14 16:30 , schrieb fly: Regarding the original discussion I am in favour of using capital=[2-10]* if an additional tag is needed. I meant additional to the roles for the boundary relation above (cutted). admin_centre for 1 or more nodes

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

2014-05-15 Thread Colin Smale
Tagging capital=* or admin_level=* on a place is IMHO not to be done lightly. It is not actually an attribute of the place at all, because if you moved the place to e.g. the middle of the Atlantic Ocean it would no longer be a capital. It is an attribute of the relationship between the place

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

2014-05-15 Thread Fernando Trebien
On Thu, May 15, 2014 at 3:01 PM, Colin Smale colin.sm...@xs4all.nl wrote: It is not actually an attribute of the place at all, because if you moved the place to e.g. the middle of the Atlantic Ocean it would no longer be a capital. It is an attribute of the relationship between the place and

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

2014-05-14 Thread Fernando Trebien
Interesting. So how is capital=* being used in Europe? On Wed, May 14, 2014 at 2:27 AM, Andreas Goss andi...@t-online.de wrote: 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

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

2014-05-14 Thread Andreas Goss
Am 5/14/14 17:06 , schrieb Fernando Trebien: Interesting. So how is capital=* being used in Europe? Just running the overpass API with capital* over some countries: Spain: Using capital=8 extensivly (!!!) together with admin_level=8 not really using 4 or 6 though. France, Italy have some

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

2014-05-14 Thread Fernando Trebien
... Czech Republic taginfo=capital what do you mean? So it seems that, except for Russia, the most common practice is as described in http://wiki.openstreetmap.org/wiki/Proposed_features/capital#Notes_on_actual_usage . We should probaby vote on this proposal now and make this the default

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

2014-05-14 Thread Andreas Goss
... Czech Republic taginfo=capital what do you mean? Ooops. Must have deleted a line there. Bascally they are not using capital= at all apart for some exceptions as you can also see on taginfo. We should probaby vote on this proposal now and make this the default practice. This makes

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

2014-05-14 Thread Fernando Trebien
Following from Aleksandr Dezhin's Why not use admin_level=* without capital=yes? in that wiki talk page, why not? Any place=city/town with admin_level=2 is a country capital. Any place=city/town/village with admin_level=4 is a state capital (at least in Brazil). This would remove the need for a

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

2014-05-14 Thread Andreas Goss
Am 5/14/14 23:29 , schrieb Fernando Trebien: Any place=city/town/village with admin_level=4 is a state capital (at least in Brazil). What about your capital? According to Wikkipedia that's a capital of the Federal District, too. https://en.wikipedia.org/wiki/Bras%C3%ADlia __

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

2014-05-14 Thread Fernando Trebien
Brasília is the only exception which is a capital of two different administrative levels. And both the relations for the federal district [1] and the country [2] correctly express that idea. I know it's not a rule that applies to every country, and precisely because of that it would make even more

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

2014-05-14 Thread Andreas Goss
Am 5/15/14 01:10 , schrieb Fernando Trebien: Brasília is the only exception which is a capital of two different administrative levels. And both the relations for the federal district [1] and the country [2] correctly express that idea. As long as you only look at admin_level=2 and =4 But even

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

2014-05-14 Thread Fernando Trebien
On Wed, May 14, 2014 at 8:52 PM, Andreas Goss andi...@t-online.de wrote: Exacly, so why tag the level number on the node when we have relations and can incude the capitals as role:admin_centre? And then there are no exceptions. Which is how it is usually done here in Germany. I've checked the

[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] 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] 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

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