Re: [Talk-ca] Road route relations: network tag

2016-10-29 Thread Martijn van Exel
Hm. Paul noted something similar. It does not sound like there is a clear
consensus about how networks should be tagged then. Perhaps more people can
weigh in and argue for the one or the other notation.

At least the tagging is consistent now, and would be easy to change in bulk
if the outcome is that underscore notation is preferred. The last thing I
would want to do is to impose a convention. The 'colon notation' is in use
in the U.S. and it made a lot of sense there. For what it's worth, it is
used by Scout to interpret numbered routes. I thought OSMAND supported it
too in the same notation, but I am not certain.

Martijn

Martijn van Exel
http://mvexel.github.io/

On Sat, Oct 29, 2016 at 1:08 PM, Stewart C. Russell 
wrote:

> On 2016-10-28 10:45 AM, Martijn van Exel wrote:
> > It's not documented that way anywhere that I could find. The colon
> > notation is. Based on the other comments and the documented standards we
> > started editing based on the spreadsheet.
>
> Well, it was here:
> http://wiki.openstreetmap.org/wiki/Relation:route#Road_routes
>
> roadca_transcanada  Canadian Trans-Canada highways
> roadca_on_primary   Ontario primary highways
>
> so now the docs are out of whack with reality.
>
> The colon notation does not seem to be universally accepted. It's not
> widely used in the UK or Germany, as far as I can see. The only road
> networks I can see in the UK are either scenic routes, with no obvious
> hierarchy, or E routes, which if the current national madness prevails,
> will have to disappear in the next couple of years for other reasons …
>
>  Stewart
>
> ___
> Talk-ca mailing list
> Talk-ca@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-ca
>
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Road route relations: network tag

2016-10-29 Thread Stewart C. Russell
On 2016-10-28 10:45 AM, Martijn van Exel wrote:
> It's not documented that way anywhere that I could find. The colon
> notation is. Based on the other comments and the documented standards we
> started editing based on the spreadsheet.

Well, it was here:
http://wiki.openstreetmap.org/wiki/Relation:route#Road_routes

roadca_transcanada  Canadian Trans-Canada highways
roadca_on_primary   Ontario primary highways

so now the docs are out of whack with reality.

The colon notation does not seem to be universally accepted. It's not
widely used in the UK or Germany, as far as I can see. The only road
networks I can see in the UK are either scenic routes, with no obvious
hierarchy, or E routes, which if the current national madness prevails,
will have to disappear in the next couple of years for other reasons …

 Stewart

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


Re: [Talk-ca] Road route relations: network tag

2016-10-29 Thread Martijn van Exel
Looks like these have all been resolved! Thanks all for your help.

Martijn van Exel
http://mvexel.github.io/

On Fri, Oct 28, 2016 at 2:38 PM, Martijn van Exel  wrote:

> Just ran the overpass query again and we're down to 1421 relations with
> underscore network tags, from 2313 yesterday.
>
> For those interested the query is
>
> area[name=Canada]->.canada;
> relation
>   ["route"="road"]["network"~"..\_.+"](area.canada);
> out;
>
> This does not give you any geometry.
>
> Martijn
>
> Martijn van Exel
> http://mvexel.github.io/
>
> On Thu, Oct 27, 2016 at 5:04 PM, Martijn van Exel  wrote:
>
>> I created a spreadsheet to track the relations and fixes. It doesn't lend
>> itself well to a MapRoulette challenge or I would have done that :)
>>
>> Includes handy direct JOSM link!
>>
>> https://docs.google.com/spreadsheets/d/1O1LGJk6r6gP6NrKYmdAu
>> LKsc0vdNcaTH_k0F_Wjwdio/edit?usp=sharing
>>
>> Let me know if this is workable.
>>
>> Martijn
>>
>> Martijn van Exel
>> http://mvexel.github.io/
>>
>> On Thu, Oct 27, 2016 at 4:21 PM, Denis Carriere > > wrote:
>>
>>> I agree with Martjin, those tags should be corrected to *network*=CA:ON
>>>
>>> Good catch!
>>>
>>> *~~*
>>> *Denis Carriere*
>>> *GIS Software & Systems Specialist*
>>>
>>> *Twitter: @DenisCarriere *
>>> *OSM: DenisCarriere *
>>> GitHub: DenisCarriere 
>>> Email: carriere.de...@gmail.com
>>>
>>> On Thu, Oct 27, 2016 at 6:04 PM, Martijn van Exel  wrote:
>>>
 Hi all,

 My mapping colleagues (not me, I only map in my spare time :)) noted
 that there are some irregular network tags on highways in Canada. The usual
 hierarchical notation[1] is in place in many relations, but we encountered
 deviations from that where instead of the colon separator an underscore is
 used, so for example instead of CA:ON we see ca_on, and some variations on
 that.

 We are happy to (help) clean that up but didn't want to do so without
 consulting you. Is there some local convention that we are unaware of? Can
 we provide a dump of the affected relation IDs so we can fix them together?
 It's about 400 relations in total, mostly in Ontario.

 [1] https://wiki.openstreetmap.org/wiki/Key:network#Hierarchical_format
 - it has a Canada example!

 Martijn van Exel
 http://mvexel.github.io/

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


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


Re: [Talk-ca] Road route relations: network tag

2016-10-28 Thread Martijn van Exel
Just ran the overpass query again and we're down to 1421 relations with
underscore network tags, from 2313 yesterday.

For those interested the query is

area[name=Canada]->.canada;
relation
  ["route"="road"]["network"~"..\_.+"](area.canada);
out;

This does not give you any geometry.

Martijn

Martijn van Exel
http://mvexel.github.io/

On Thu, Oct 27, 2016 at 5:04 PM, Martijn van Exel  wrote:

> I created a spreadsheet to track the relations and fixes. It doesn't lend
> itself well to a MapRoulette challenge or I would have done that :)
>
> Includes handy direct JOSM link!
>
> https://docs.google.com/spreadsheets/d/1O1LGJk6r6gP6NrKYmdAuLKsc0vdNc
> aTH_k0F_Wjwdio/edit?usp=sharing
>
> Let me know if this is workable.
>
> Martijn
>
> Martijn van Exel
> http://mvexel.github.io/
>
> On Thu, Oct 27, 2016 at 4:21 PM, Denis Carriere 
> wrote:
>
>> I agree with Martjin, those tags should be corrected to *network*=CA:ON
>>
>> Good catch!
>>
>> *~~*
>> *Denis Carriere*
>> *GIS Software & Systems Specialist*
>>
>> *Twitter: @DenisCarriere *
>> *OSM: DenisCarriere *
>> GitHub: DenisCarriere 
>> Email: carriere.de...@gmail.com
>>
>> On Thu, Oct 27, 2016 at 6:04 PM, Martijn van Exel  wrote:
>>
>>> Hi all,
>>>
>>> My mapping colleagues (not me, I only map in my spare time :)) noted
>>> that there are some irregular network tags on highways in Canada. The usual
>>> hierarchical notation[1] is in place in many relations, but we encountered
>>> deviations from that where instead of the colon separator an underscore is
>>> used, so for example instead of CA:ON we see ca_on, and some variations on
>>> that.
>>>
>>> We are happy to (help) clean that up but didn't want to do so without
>>> consulting you. Is there some local convention that we are unaware of? Can
>>> we provide a dump of the affected relation IDs so we can fix them together?
>>> It's about 400 relations in total, mostly in Ontario.
>>>
>>> [1] https://wiki.openstreetmap.org/wiki/Key:network#Hierarchical_format
>>> - it has a Canada example!
>>>
>>> Martijn van Exel
>>> http://mvexel.github.io/
>>>
>>> ___
>>> Talk-ca mailing list
>>> Talk-ca@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/talk-ca
>>>
>>>
>>
>
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Road route relations: network tag

2016-10-28 Thread Paul Norman

On 10/27/2016 3:04 PM, Martijn van Exel wrote:


My mapping colleagues (not me, I only map in my spare time :)) noted 
that there are some irregular network tags on highways in Canada. The 
usual hierarchical notation[1] is in place in many relations, but we 
encountered deviations from that where instead of the colon separator 
an underscore is used, so for example instead of CA:ON we see ca_on, 
and some variations on that.


ca_... has been the long-standing standard. When I last looked at it, 
the US was the main user of colons. It's possible this has changed, but 
ca_on_county is still one of the most frequent network tag values 
(http://taginfo.openstreetmap.org/tags/network=ca_on_county), and there 
may be consumers who expect this.


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


Re: [Talk-ca] Road route relations: network tag

2016-10-27 Thread Martijn van Exel
I created a spreadsheet to track the relations and fixes. It doesn't lend
itself well to a MapRoulette challenge or I would have done that :)

Includes handy direct JOSM link!

https://docs.google.com/spreadsheets/d/1O1LGJk6r6gP6NrKYmdAuLKsc0vdNcaTH_k0F_Wjwdio/edit?usp=sharing

Let me know if this is workable.

Martijn

Martijn van Exel
http://mvexel.github.io/

On Thu, Oct 27, 2016 at 4:21 PM, Denis Carriere 
wrote:

> I agree with Martjin, those tags should be corrected to *network*=CA:ON
>
> Good catch!
>
> *~~*
> *Denis Carriere*
> *GIS Software & Systems Specialist*
>
> *Twitter: @DenisCarriere *
> *OSM: DenisCarriere *
> GitHub: DenisCarriere 
> Email: carriere.de...@gmail.com
>
> On Thu, Oct 27, 2016 at 6:04 PM, Martijn van Exel  wrote:
>
>> Hi all,
>>
>> My mapping colleagues (not me, I only map in my spare time :)) noted that
>> there are some irregular network tags on highways in Canada. The usual
>> hierarchical notation[1] is in place in many relations, but we encountered
>> deviations from that where instead of the colon separator an underscore is
>> used, so for example instead of CA:ON we see ca_on, and some variations on
>> that.
>>
>> We are happy to (help) clean that up but didn't want to do so without
>> consulting you. Is there some local convention that we are unaware of? Can
>> we provide a dump of the affected relation IDs so we can fix them together?
>> It's about 400 relations in total, mostly in Ontario.
>>
>> [1] https://wiki.openstreetmap.org/wiki/Key:network#Hierarchical_format
>> - it has a Canada example!
>>
>> Martijn van Exel
>> http://mvexel.github.io/
>>
>> ___
>> Talk-ca mailing list
>> Talk-ca@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk-ca
>>
>>
>
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Road route relations: network tag

2016-10-27 Thread Denis Carriere
I agree with Martjin, those tags should be corrected to *network*=CA:ON

Good catch!

*~~*
*Denis Carriere*
*GIS Software & Systems Specialist*

*Twitter: @DenisCarriere *
*OSM: DenisCarriere *
GitHub: DenisCarriere 
Email: carriere.de...@gmail.com

On Thu, Oct 27, 2016 at 6:04 PM, Martijn van Exel  wrote:

> Hi all,
>
> My mapping colleagues (not me, I only map in my spare time :)) noted that
> there are some irregular network tags on highways in Canada. The usual
> hierarchical notation[1] is in place in many relations, but we encountered
> deviations from that where instead of the colon separator an underscore is
> used, so for example instead of CA:ON we see ca_on, and some variations on
> that.
>
> We are happy to (help) clean that up but didn't want to do so without
> consulting you. Is there some local convention that we are unaware of? Can
> we provide a dump of the affected relation IDs so we can fix them together?
> It's about 400 relations in total, mostly in Ontario.
>
> [1] https://wiki.openstreetmap.org/wiki/Key:network#Hierarchical_format -
> it has a Canada example!
>
> Martijn van Exel
> http://mvexel.github.io/
>
> ___
> Talk-ca mailing list
> Talk-ca@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-ca
>
>
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Road route relations: network tag

2016-10-27 Thread James
They should be corrected to the proper format :)

On Oct 27, 2016 6:06 PM, "Martijn van Exel"  wrote:

> Hi all,
>
> My mapping colleagues (not me, I only map in my spare time :)) noted that
> there are some irregular network tags on highways in Canada. The usual
> hierarchical notation[1] is in place in many relations, but we encountered
> deviations from that where instead of the colon separator an underscore is
> used, so for example instead of CA:ON we see ca_on, and some variations on
> that.
>
> We are happy to (help) clean that up but didn't want to do so without
> consulting you. Is there some local convention that we are unaware of? Can
> we provide a dump of the affected relation IDs so we can fix them together?
> It's about 400 relations in total, mostly in Ontario.
>
> [1] https://wiki.openstreetmap.org/wiki/Key:network#Hierarchical_format -
> it has a Canada example!
>
> Martijn van Exel
> http://mvexel.github.io/
>
> ___
> Talk-ca mailing list
> Talk-ca@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-ca
>
>
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca


[Talk-ca] Road route relations: network tag

2016-10-27 Thread Martijn van Exel
Hi all,

My mapping colleagues (not me, I only map in my spare time :)) noted that
there are some irregular network tags on highways in Canada. The usual
hierarchical notation[1] is in place in many relations, but we encountered
deviations from that where instead of the colon separator an underscore is
used, so for example instead of CA:ON we see ca_on, and some variations on
that.

We are happy to (help) clean that up but didn't want to do so without
consulting you. Is there some local convention that we are unaware of? Can
we provide a dump of the affected relation IDs so we can fix them together?
It's about 400 relations in total, mostly in Ontario.

[1] https://wiki.openstreetmap.org/wiki/Key:network#Hierarchical_format -
it has a Canada example!

Martijn van Exel
http://mvexel.github.io/
___
Talk-ca mailing list
Talk-ca@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ca