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

2014-05-14 Thread Martin Koppenhoefer
2014-05-14 7:17 GMT+02:00 Andrew Errington erringt...@gmail.com:

 You could also refer to the Wiki:
 http://wiki.openstreetmap.org/wiki/Key:tunnel

 For covered passages which are open on one side, often found on mountain
 roads or ways underneath a building, use covered=* in place of tunnel=*.

 Or tunnel=avalanche_protector



but these are quite distinct from what he wants to map, these look like
this:
http://static.panoramio.com/photos/large/65229337.jpg
http://media3.news.ch/news/680/313512-4de97c69c4cee4603fb8c37a905af6c3.jpg

cheers,
Martin
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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

2014-05-14 Thread Andrew Errington
On Wed, 14 May 2014 18:33:43 Martin Koppenhoefer wrote:
 2014-05-14 7:17 GMT+02:00 Andrew Errington erringt...@gmail.com:
  You could also refer to the Wiki:
  http://wiki.openstreetmap.org/wiki/Key:tunnel
  
  For covered passages which are open on one side, often found on mountain
  roads or ways underneath a building, use covered=* in place of tunnel=*.
  
  Or tunnel=avalanche_protector
 
 but these are quite distinct from what he wants to map, these look like
 this:
 http://static.panoramio.com/photos/large/65229337.jpg
 http://media3.news.ch/news/680/313512-4de97c69c4cee4603fb8c37a905af6c3.jpg
 
 cheers,
 Martin

Looks like covered=* to me.

Andrew

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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

2014-05-14 Thread Andreas Labres
On 14.05.14 11:33, Martin Koppenhoefer wrote:
 http://static.panoramio.com/photos/large/65229337.jpg

PMJI, but this looks much like the end of runway 16/34 of Vienna International
Airport, so neither sun nor avalanche protection... ;)

/al

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 handling relations, even
 though it's not tht hard to handle them, and a good renderer would
 have to handle them to support multipolygons anyway.



It is a misconception to think either you support relations or you don't.
The relation concept is very flexible and open, allowing to map all kind of
relations between the member objects, which themselves could be other
relations etc., this means you'll have to write different code for every
type of relation (and often also for different ways of mapping the with the
same type of relation, think nested relations for instance). If you support
multipolygon relations (which are e.g. supported by osm2pgsql) this doesn't
give you automagically support for admin_centre roles as well. I agree that
it seems not too hard to support this particular role, but so far it simply
isn't there (AFAIK, maybe you can do it with lua?). capital=yes btw. is
the older concept, the admin_centre role and even the boundary relation
itself (of not the datatype relation per se) are more recent.

cheers,
Martin
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 here briefly.


 http://taginfo.openstreetmap.org/keys/state_capital#map

 Pretty much answers that for state_capital=. Outside North  South America
 as well as Pakistan state_capital= is bascially not used at all.
 __
 openstreetmap.org/user/AndiG88
 wiki.openstreetmap.org/wiki/User:AndiG88‎



 ___
 Tagging mailing list
 Tagging@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/tagging



-- 
Fernando Trebien
+55 (51) 9962-5409

Nullius in verba.

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 capital=6 (Not many)

Germany, Romania some capital=4
Russia and to a small extent Ukraine capital=yes with admin_level=4

Lithania some capital=name

Portugal, Beglium, Netherlands, Norway, Danmark, Sweden, Switzerland, 
Austria, Poland, Czech Republic taginfo=capital(except for maybe 
capital=2 and a few random tags
Looks similar for most countries in Eastern Europe but didn't check 
every single one.



= Overall it seems like the high number of capital= usage mostly comes 
from Spain.


__
openstreetmap.org/user/AndiG88
wiki.openstreetmap.org/wiki/User:AndiG88‎


___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 practice. This makes admin_level unnecessary on any place
nodes.

It's easy to retag capitals in Brazil, and it would probably be easy
in North America and in Russia too. But local apps might not like it
very much. In Russia, apps could continue using admin_level for a
while and slowly migrate the capital=[number] tag.

On Wed, May 14, 2014 at 5:04 PM, Andreas Goss andi...@t-online.de wrote:
 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 capital=6 (Not many)

 Germany, Romania some capital=4
 Russia and to a small extent Ukraine capital=yes with admin_level=4

 Lithania some capital=name

 Portugal, Beglium, Netherlands, Norway, Danmark, Sweden, Switzerland,
 Austria, Poland, Czech Republic taginfo=capital(except for maybe capital=2
 and a few random tags
 Looks similar for most countries in Eastern Europe but didn't check every
 single one.


 = Overall it seems like the high number of capital= usage mostly comes from
 Spain.


 __
 openstreetmap.org/user/AndiG88
 wiki.openstreetmap.org/wiki/User:AndiG88‎


 ___
 Tagging mailing list
 Tagging@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/tagging



-- 
Fernando Trebien
+55 (51) 9962-5409

Nullius in verba.

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 admin_level unnecessary on any place
nodes.


In my opinion it is still flat out WRONG to use capital=[number] or 
admin_level=[number] on place nodes.
http://wiki.openstreetmap.org/wiki/Talk:Proposed_features/capital#Combination_with_admin_level 
(see 5th comment by Marnen)


__

openstreetmap.org/user/AndiG88
wiki.openstreetmap.org/wiki/User:AndiG88‎


___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 capital=* tag. Non-capital cities would have
admin_level=8.

What happens if the place node has a different admin_level than
specified by the relation would be... totally application-specific.

On Wed, May 14, 2014 at 6:14 PM, Andreas Goss andi...@t-online.de wrote:
 ... 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 admin_level unnecessary on any place
 nodes.


 In my opinion it is still flat out WRONG to use capital=[number] or
 admin_level=[number] on place nodes.
 http://wiki.openstreetmap.org/wiki/Talk:Proposed_features/capital#Combination_with_admin_level
 (see 5th comment by Marnen)


 __

 openstreetmap.org/user/AndiG88
 wiki.openstreetmap.org/wiki/User:AndiG88‎


 ___
 Tagging mailing list
 Tagging@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/tagging



-- 
Fernando Trebien
+55 (51) 9962-5409

Nullius in verba.

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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
__
openstreetmap.org/user/AndiG88
wiki.openstreetmap.org/wiki/User:AndiG88‎


___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 sense to think about relations rather than node
tags to express the idea of a capital generically.

[1] http://www.openstreetmap.org/relation/421151
[2] http://www.openstreetmap.org/relation/59470

On Wed, May 14, 2014 at 7:01 PM, Andreas Goss andi...@t-online.de wrote:
 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

 __
 openstreetmap.org/user/AndiG88
 wiki.openstreetmap.org/wiki/User:AndiG88‎


 ___
 Tagging mailing list
 Tagging@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/tagging



-- 
Fernando Trebien
+55 (51) 9962-5409

Nullius in verba.

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 so what's the 
use of tagging it on the node when there are exceptions?



 I know it's not a
rule that applies to every country, and precisely because of that it
would make even more sense to think about relations rather than node
tags to express the idea of a capital generically.


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.

__
openstreetmap.org/user/AndiG88
wiki.openstreetmap.org/wiki/User:AndiG88‎


___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


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 first 15 cities in this list:
http://en.wikipedia.org/wiki/List_of_cities_in_Germany_by_population

And it seems that in Germany's city nodes:
- the federal capital is tagged with capital=yes+admin_level=2:
http://www.openstreetmap.org/node/240109189
- state capitals are tagged with capital=4, some (though far from the
top of the list) also have is_capital=state
- others have neither capital nor admin_level tags

Things I did not understand:
- Leipzig has is_capital=county on the node but admin_level=6 on the relation
- Nurenberg has capital=5 on the node but admin_level=6 on the relation

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.

It seems that German capitals follow the pattern capital=[lowest
admin_level of relations in which the city is admin_centre], except
Berlin.

 __
 openstreetmap.org/user/AndiG88
 wiki.openstreetmap.org/wiki/User:AndiG88‎


 ___
 Tagging mailing list
 Tagging@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/tagging



-- 
Fernando Trebien
+55 (51) 9962-5409

Nullius in verba.

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging