[Tagging] Names localization

2010-04-25 Thread Alexander Sidorov
Hello!

Is there any way to implement the following localization strategy:
1. display russian (russian is just for example) name if it exists
2. display english name if russian name doesn't exists
3. display local name otherwise

The problem for me is to determine which language is used for some region by
default. I have found this
discussionhttp://wiki.openstreetmap.org/wiki/Talk:Proposed_features/Language_of_this_elementbut
without solution.

Regards,
Alexander
___
Tagging mailing list
Tagging@openstreetmap.org
http://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Names localization

2010-04-25 Thread John Smith
On 25 April 2010 19:25, Alexander Sidorov alexi...@gmail.com wrote:
 The problem for me is to determine which language is used for some region by
 default. I have found this discussion but without solution.

The solution is a cleverly written SQL statement in the mapnik config
file, you need to add 2 extra columns to postgres table, name:ru and
name:en and then in the SQL query you check if name:ru exists and then
use it, otherwise check for name:en and use it otherwise use whatever
is in the name column.

However I haven't actually gotten round to trying to write a suitable
query to do that but I've thought about doing something similar.

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


Re: [Tagging] Ways that change names while crossing divided roadways

2010-04-25 Thread Pieren
On Sun, Apr 25, 2010 at 4:52 AM, Alan Mintz
alan_mintz+...@earthlink.netalan_mintz%2b...@earthlink.net
 wrote:


||
||
 ---\/-
 ---/\-
||
||



Nice pic ;-) But I'm not sure you are technically more accurate here. If
you want to be so, draw a polygon for the intersection, not a node. Finally,
straight forward lines are more reflecting the reality. And turning
restrictions are not required (in simple case) if you have the oneway tags.
But sometimes, I agree with you that this solution makes mapping easier when
the intersection is more complex than this one.

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


Re: [Tagging] Names localization

2010-04-25 Thread Pieren
On Sun, Apr 25, 2010 at 11:25 AM, Alexander Sidorov alexi...@gmail.comwrote:

 Hello!

 Is there any way to implement the following localization strategy:
 1. display russian (russian is just for example) name if it exists
 2. display english name if russian name doesn't exists
 3. display local name otherwise

 The problem for me is to determine which language is used for some region
 by default. I have found this 
 discussionhttp://wiki.openstreetmap.org/wiki/Talk:Proposed_features/Language_of_this_elementbut
  without solution.

 Regards,
 Alexander


The proposed feature is clearly not a solution since it is suggesting to add
the same tag language=xxx in ALL named elements within the region. I think
the right approach would be to set this default language in the polygon
identifying the region, most probably in the administrative boundary
relation. Then you could build up a query to apply this default value in
your local gis db. (or deprecate the tag name and force the locale suffix).

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


Re: [Tagging] Ways that change names while crossing divided roadways

2010-04-25 Thread tyler


Nice pic ;-) But I'm not sure you are technically more accurate  
here. If
you want to be so, draw a polygon for the intersection, not a node.  
Finally,

straight forward lines are more reflecting the reality. And turning
restrictions are not required (in simple case) if you have the  
oneway tags.
But sometimes, I agree with you that this solution makes mapping  
easier when

the intersection is more complex than this one.

Pieren


Hello can you please point out an example of using a polygon to define  
an intersection?   I haven't seen this technique yet.


Thanks !

Tyler___
Tagging mailing list
Tagging@openstreetmap.org
http://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Ways that change names while crossing divided roadways

2010-04-25 Thread Pieren
On Sun, Apr 25, 2010 at 3:39 PM, ty...@egunn.com wrote:

 Hello can you please point out an example of using a polygon to define an
 intersection?   I haven't seen this technique yet.



I don't have one (although I'm pretty sure that someone already tried
somewhere as I know that some places have all roads drawn with polygons). I
just wanted to say that simplifying an intersection to a single node is
not technicaly more accurate.

regards
Pieren
___
Tagging mailing list
Tagging@openstreetmap.org
http://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Ways that change names while crossing divided roadways

2010-04-25 Thread Anthony
On Sun, Apr 25, 2010 at 6:44 AM, Ben Laenen benlae...@gmail.com wrote:

 Just don't give a name to the small ways between the left and right
 streets.
 It's not part of either road on both sides anyway.


Seems like the best way to go - easy for routers to simply ignore really
short unnamed ways.

The other alternatives aren't so bad either.
___
Tagging mailing list
Tagging@openstreetmap.org
http://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Entrances..

2010-04-25 Thread John F. Eldredge
A subway entrance is a descending staircase, usually in the middle of a 
sidewalk.  Coming from one direction, you encounter the steps.  Coming from the 
other three directions, you encounter some sort of wall or fence to keep you 
from falling into the stairwell.

-- 
John F. Eldredge -- j...@jfeldredge.com
Reserve your right to think, for even to think wrongly is better than not to 
think at all. -- Hypatia of Alexandria

-Original Message-
From: Dave F. dave...@madasafish.com
Date: Mon, 26 Apr 2010 00:11:36 
To: m...@koppenhoefer.com; Tag discussion, strategy and related 
toolstagging@openstreetmap.org
Subject: Re: [Tagging] Entrances..

M∡rtin Koppenhoefer wrote:
 2010/4/20 Erik Johansson erjo...@gmail.com:
   
 Wouldn't it be great if railway=subway_entrance was rendering
 

 +1

 currently I'm mapping them with barrier=wall (U-form) and
 highway=steps in the middle (and on the end subway_entrance) 
   
Hi

Could you expand  clarify on what you mean by U-form  why you'd tag an 
entrance with a wall?

Cheers
Dave F.

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


[Tagging] List of usual properties for categories

2010-04-25 Thread Alexander Sidorov
Hello!

Is there any list of properties that are usually added to concrete
categories? For example, how are buildings' properties (street, house
number) mapped?

Regards,
Alexander
___
Tagging mailing list
Tagging@openstreetmap.org
http://lists.openstreetmap.org/listinfo/tagging