Re: [Talk-ca] BC2020i OSM Distributed Model and Education

2018-02-06 Thread OSM Volunteer stevea
Please see https://wiki.osm.org/wiki/Key:level

SteveA

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Preferred phone number format

2018-02-06 Thread Stewart C. Russell
On 2018-02-05 05:17 PM, Matthew Darwin wrote:
> 
> use the letters instead of numbers "+1-555-GOT-BEER"

I'd suggest mapping these to the numbers BUT international phone pads
have a superset of what we use here (7 has Q and 9 has Z) and older
phones may not be consistent with what we assume now. In the UK, ABC
used to be on 2.

cheers,
 Stewart

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Preferred phone number format

2018-02-06 Thread Stewart C. Russell
On 2018-02-05 04:44 PM, Matthew Darwin wrote:
> I don't know why people use phone=* vs contact:phone=*

Because it's the default in most editors, and it's shorter. I'd prefer
it over contact:phone, because that's a needless namespace. Also, this:
https://wiki.openstreetmap.org/wiki/Talk:Key:contact#Deprecate_this_tag_family

 Stewart

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] BC2020i OSM Distributed Model and Education

2018-02-06 Thread Stewart C. Russell
On 2018-02-02 06:06 PM, john whelan wrote:
> 
> It would be useful if someone could produce a sample in R that takes a
> .osm file and counts the buildings. 

R might be rather overkill:

grep "k='building'" file.osm | wc -l

One might have to do some clever trickery around buildings that are
relations (those with courtyards), though.

> A task from that would be to extend
> it to count the number of two storey (story) buildings.

I wonder if OSM uses the UK concept of storey, where a two storey
building has three levels (ground floor, first floor, second floor)? Was
a huge confusion for me when I first moved to Canada: first floor means
one level up.

 Stewart

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca