Re: [Tagging] List of usual properties for categories

2010-04-26 Thread Chris Hill
Alexander Sidorov wrote: > Hello! > > Is there any list of properties that are usually added to concrete > categories? For example, how are buildings' properties (street, house > number) mapped? Hi, You can addressing information to any object. The wiki Addr page http://wiki.openstreetmap.org/wi

[Tagging] Tagging buildings

2010-04-26 Thread Alexander Sidorov
Hello! I am writing an application that queries OSM buildings. Please tell me what is the common way of tagging buildings. Do they usually have names (I'm talking about usual buildings, not places of interest)? What does usually name contain: addr:housenumber, addr:housename, etc. or some combinat

Re: [Tagging] Tagging buildings

2010-04-26 Thread Liz
On Mon, 26 Apr 2010, Alexander Sidorov wrote: > Hello! > > I am writing an application that queries OSM buildings. Please tell me what > is the common way of tagging buildings. Do they usually have names (I'm > talking about usual buildings, not places of interest)? What does usually > name contai

Re: [Tagging] Tagging buildings

2010-04-26 Thread Peteris Krisjanis
2010/4/26 Alexander Sidorov : > Hello! > > I am writing an application that queries OSM buildings. Please tell me what > is the common way of tagging buildings. Do they usually have names (I'm > talking about usual buildings, not places of interest)? What does usually > name contain: addr:housenumb

Re: [Tagging] Names localization

2010-04-26 Thread Emilie Laffray
On 25 April 2010 11:36, Claudius Henrichs wrote: > Am 25.04.2010 11:25, 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 exis

Re: [Tagging] Tagging buildings

2010-04-26 Thread Bill Ricker
> I think the answers will vary from different countries. And may vary locally. Within N miles of the sea-shore, the MASS-GIS import includes building outlines from the NOAA airborne LIDAR coastal survey. Tagging is quite spare : * area: yes * building: yes * source: MassGIS Building

Re: [Tagging] Names localization

2010-04-26 Thread John Smith
If you update default.style for osm2pgsql to include: node,way name text linear node,way name:en text linear node,way name:ru text linear Then you need to do a complete re-import, then you need to update all the queries in your mapnik style sheet wh

Re: [Tagging] Tagging buildings

2010-04-26 Thread Jukka Rahkonen
Bill Ricker writes: > > > I think the answers will vary from different countries. > > And may vary locally. Within N miles of the sea-shore, the MASS-GIS > import includes building outlines from the NOAA airborne LIDAR coastal > survey. Tagging is quite spare : > > * area: yes > * bui

Re: [Tagging] Names localization

2010-04-26 Thread John Smith
Sorry I don't use pgsql much, I used ' instead of ", should be: (CASE WHEN "name:ru" IS NOT NULL THEN "name:ru" WHEN "name:en" IS NOT NULL THEN "name:en" ELSE name END) AS name ___ Tagging mailing list Tagging@openstreetmap.org http://lists.openstreetma

Re: [Tagging] Names localization

2010-04-26 Thread Emilie Laffray
On 26 April 2010 15:12, John Smith wrote: > Sorry I don't use pgsql much, I used ' instead of ", should be: > > (CASE WHEN "name:ru" IS NOT NULL THEN "name:ru" WHEN "name:en" IS NOT > NULL THEN "name:en" ELSE name END) AS name > > > It is fine ;) Your query uses a simpler schema that the one I am

Re: [Tagging] Names localization

2010-04-26 Thread Pieren
On Mon, Apr 26, 2010 at 4:18 PM, Emilie Laffray wrote: > > > On 26 April 2010 15:12, John Smith wrote: > >> Sorry I don't use pgsql much, I used ' instead of ", should be: >> >> (CASE WHEN "name:ru" IS NOT NULL THEN "name:ru" WHEN "name:en" IS NOT >> NULL THEN "name:en" ELSE name END) AS name >>

Re: [Tagging] Tagging buildings

2010-04-26 Thread M∡rtin Koppenhoefer
2010/4/26 Jukka Rahkonen : > Area=yes is unnecessary. +1 > And then the buildings have > properties like architect, height, number of floors etc. ideally yes. To find out which tags you can really find associated, simply use tagwatch or analyse the planet ;-) cheers, Martin __

Re: [Tagging] Tagging buildings

2010-04-26 Thread Pieren
On Mon, Apr 26, 2010 at 9:55 PM, M∡rtin Koppenhoefer wrote: > > Area=yes is unnecessary. > > +1 > > But we have to explain why : area=yes is only useful when the main tag can apply for a polygon (area) or a closed loop (ring). It has been created for the tag highway which can be a place (e.g. hi

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

2010-04-26 Thread Alan Mintz
At 2010-04-25 03:44, Ben Laenen wrote: >Tyler Gunn wrote: > > ... > > I'm thinking the solution would be to split the small way segment between > > the major roads so that the naming can carry across the major roadway. > >Just don't give a name to the small ways between the left and right streets.

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

2010-04-26 Thread Anthony
On Mon, Apr 26, 2010 at 6:28 PM, Alan Mintz > wrote: > At 2010-04-25 03:44, Ben Laenen wrote: > >Tyler Gunn wrote: > > > ... > > > I'm thinking the solution would be to split the small way segment > between > > > the major roads so that the naming can carry across the major roadway. > > > >Just d

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

2010-04-26 Thread Alan Mintz
At 2010-04-25 04:01, =?ISO-8859-15?Q?Lauri_Kyt=F6maa?= wrote: > >That's one solution. What I usually do is to bring the ways back together > >to form a single intersection at that point, which is technically more > >There was a community effort to remove all such cases wherever they >existed in th

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

2010-04-26 Thread Alan Mintz
At 2010-04-25 07:47, Pieren wrote: On Sun, Apr 25, 2010 at 3:39 PM, 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 somewher

Re: [Tagging] Names localization

2010-04-26 Thread John Smith
On 27 April 2010 02:20, Pieren wrote: > This is not solving the original question : your query works outside Russia > and other coutries where russian is not the default language. This is the > discusion on the wiki page. If they are only interested in Russian names appearing in Russia, I would h

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

2010-04-26 Thread Apollinaris Schoell
On 24 Apr 2010, at 19:52 , Alan Mintz wrote: > > That's one solution. What I usually do is to bring the ways back together > to form a single intersection at that point, which is technically more > accurate anyway. Plus, there are usually turn restrictions that are easier > to deal with on a