Re: [Tagging] works_as_highway=primary

2015-08-02 Thread Martin Koppenhoefer


sent from a phone

 Am 01.08.2015 um 23:18 schrieb John Eldredge jfeldre...@gmail.com:
 
 It makes sense to me to go more by physical attributes than the official 
 primary/secondary/tertiary rating


I don't understand why we are having this same discussion every 2 years. 

Please read the wiki for the outcome of past discussions.

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


Re: [Tagging] works_as_highway=primary

2015-08-01 Thread John Eldredge
It makes sense to me to go more by physical attributes than the official 
primary/secondary/tertiary rating. Among other reasons, medium-term 
conditions such as construction projects may mean that the quickest route 
from point A to point B involves the use of a lower-rated roadway to bypass 
a choke point.


--
John F. Eldredge -- j...@jfeldredge.com
Darkness cannot drive out darkness; only light can do that. Hate cannot 
drive out hate; only love can do that. -- Martin Luther King, Jr.




On July 29, 2015 8:24:23 AM Colin Smale colin.sm...@xs4all.nl wrote:

A better router might weight physical attributes such as lanes, surface and 
effective speed more prominently than heuristics based on logical stuff 
like administrative classifications and legal maximum speeds. Artificially 
manipulating the tagging to influence the results of routing algorithms is 
not the way to go - there is name for that... If the government say its 
primary, then it's primary, unless you want to replace that with subjective 
assessments.


On 29 July 2015 15:08:33 CEST, Andrew Guertin andrew.guer...@uvm.edu wrote:
On 07/29/2015 07:11 AM, moltonel 3x Combo wrote:
 Routers can already use 'prefer primary to secondary' worldwide.
 Nowhere in the OSM world is secondary defined as better than primary.
 In any given area. a car router can confidently prefer 'primary'.

Based on what John Willis has said about tagging in Japan, I don't
think
this is true.

 From what I understand from his previous posts to this and other OSM
mailing lists, the OSM tagging in Japan follows the official
classification, and often results in small windy roads through cities
that are historically important being marked as primary, while modern
bypass roads are marked as secondary or even lower.

I think that this breaks a router's idea that primary is better than
secondary, and I think that this problem is exactly why people advocate

for not following official classification.

--Andrew

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



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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread Daniel Koć

W dniu 29.07.2015 17:01, Martin Koppenhoefer napisał(a):


This is admittedly only the German situation but my guess is that many
other countries operate in a similar way (i.e. do have more complex
road classes internally than what is visible from signposted ref).


We have similar discussion about class of roads in Poland (this part is 
in English, because the guest user joined):


http://forum.openstreetmap.org/viewtopic.php?pid=519584#p519584

I was also asking few days ago about internal classification in 
different countries, because the proposed scheme for Poland was:


highway:class:pl=S/A/GP/G
highway:category:pl=2/4/6/7 (the number is the same as the corresponding 
admin_level)


[ 
https://lists.openstreetmap.org/pipermail/tagging/2015-July/025649.html 
]


I am interested in rendering road (and railway) networks on the world 
level for default OSM map style. Currently it's probably not possible, 
but I guess what users expect is to see the - more or less - regular 
network for all the countries and regions, regardless of technical/local 
highway class or category changes. Any gap there mean we're drifting 
away from the functional model, which is needed there instead of purely 
technical one. But maybe if we have the local technical classifications 
tagged, we could use global classes for such a functional view? Or maybe 
there is another approach to show such coherent transport networks?


--
The train is always on time / The trick is to be ready to put your bags 
down [A. Cohen]


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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread Martin Koppenhoefer


sent from a phone

 Am 29.07.2015 um 18:37 schrieb Daniel Koć daniel@koć.pl:
 
 highway:class:pl=S/A/GP/G
 highway:category:pl=2/4/6/7 (the number is the same as the corresponding 
 admin_level)


category and class are very generic terms, if you can specify more precisely 
the kind of class/category it would be better, e.g. maintenance_level=2/4/6/7 
or highway:admin_level=2/4/6/7 (no pl / Polish language tag needed there IMHO). 
In the first example the pl should be PL (Poland, not Polish).

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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread Marc Gemis
On Tue, Jul 28, 2015 at 5:29 PM, moltonel 3x Combo molto...@gmail.com
wrote:

 I was arguing against a worldwide unified classification. What you're
 worried about is only local classification :

 A router won't care about classification differences between far away
 places like Germany to Ethiopia. They just care about taking the best
 road in the area, and as long as OSM is locally consistent, this
 works. Even if a trunk turns into a primary for no physical reason and


Seems like I didn't make my point correctly.
I was trying to ask for global consistency so the router can use the same
default weights for street types, everywhere in the world.  Something like
'prefer primary roads over secondary' roads  to travel large distances. Of
course more detailed mapping of maxspeeds, number of lanes or street width,
etc similar results can be achieved, will give better results than the
default values a router assume for a certain highway class.

I'll agree with you that that additional tags such as
works_as_highway=primary will not be taken up by the data consumers
(renderers/routers any time soon and would rather not introduce them.


regards

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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread moltonel 3x Combo
On 29/07/2015, Marc Gemis marc.ge...@gmail.com wrote:
 On Tue, Jul 28, 2015 at 5:29 PM, moltonel 3x Combo molto...@gmail.com
 wrote:

 A router won't care about classification differences between far away
 places like Germany to Ethiopia. They just care about taking the best
 road in the area, and as long as OSM is locally consistent, this
 works. Even if a trunk turns into a primary for no physical reason and


 Seems like I didn't make my point correctly.
 I was trying to ask for global consistency so the router can use the same
 default weights for street types, everywhere in the world.  Something like
 'prefer primary roads over secondary' roads  to travel large distances.

Routers can already use 'prefer primary to secondary' worldwide.
Nowhere in the OSM world is secondary defined as better than primary.
In any given area. a car router can confidently prefer 'primary'.

What's true is that 'primary is X times better than secondary' will
have different X values from one place to the next. But the
differences between section of a given road can already be more
important than the average difference between primary and secondary
(for example an Irish secondary´s maxspeed can go from 60 to 100, but
a primary isn´t generally 1.6x better than a secondary).

Consider also the case of motorways : in all countries I've driven in
they are very clearly defined and have legal specificities. OSM
couldn't afford to mistake a motoway with something else. Yet the
difference between a motorway and the next best thing is bigger in
Germany than in Ireland.

TD;DR: It's naive to think that routers can make a good decision using
the highway tag alone. Harmonising highway tag worldwide would be of
little use, and it would break local expectations. A locally coherent
highway tag is preferable, and if you want more precise routing add
the other tags.

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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread Ralph Aytoun
Hi Pavel,
First let me say that I am totally against the idea of “silly tags” such as 
works_as_highway=primary. This just indicates a lack of understanding of the 
real situation.

I have looked at your problem and understand what you are seeing. I will give 
you examples in the Czech Republic as that appears to be the area of concern.
My case example is the D1 from Praha all the way to the border with Poland. 
http://www.rsd.cz/rsd/rsd.nsf/0/80345976071FCBACC12575CF004E133E/$file/RSD2009cz.pdf
 (Page 23)
You will see that the D1 is incomplete from before Prerov to Ostrava. The 
cross-border European road network (E462) has chosen the D1 onto R46 onto R35 
then back onto D1 as their choice of Primary Route.
http://www.rsd.cz/rsd/rsd.nsf/0/80345976071FCBACC12575CF004E133E/$file/RSD2009en.pdf
 (Page 7)
which shows that a Primary route does not necessarily mean it follows the route 
numbering of a country.

You can also see from here that the Primary route bypasses Brno to the south 
and does not actually go through Brno and many countries countries have adopted 
this routing to avoid congestion and thus delays along their primary routes so 
Primary routes do not always take you into your destination city, town, village 
or hamlet.

Where a Primary route is “incomplete” it does not mean that the road just drops 
off into a deep hole. The lesser roads are the Primary route and were the 
Primary route before the new planned routes came into existence ... 
irrespective of the alpha-numeric numbers allocated to them now just because 
they are not motorways or dual carriageways.

So you are dealing with a multi-layered numbering system with EU on top of 
National on top of Local. The OSM classification irons out all those 
inconsistencies into a single understandable continuity and should show a 
continuous primary route along a route that changes from an international to a 
National to a Local or dual carriageway to two way hard top to a two way 
unsurfaced and in some countries down to a single lane unsurfaced road. It 
would be impossible to render all roads according to their National numbering, 
type of road and state of surface but we can tag them accordingly.

From: Pavel Zbytovský 
Sent: Tuesday, July 28, 2015 10:02 AM
To: tagging@openstreetmap.org 
Subject: [Tagging] works_as_highway=primary

Hi,


we have a following issue at mapy.cz (zooms cca 13 are OSM data). We try to 
render primary road overview in Czech republic, so the drivers could easily see 
where its possible to drive. But sometimes the primary road ends and continues 
as a secondary road - it could be in cites, or possibly temporary detour. (see 
links below)

Is there any recommended solution already availible? Otherwise we have two 
solutions to discuss.
1) technically the small secondary roads part works as primary road network. So 
we would suggest a tag similar to works_as_highway=primary. Do you think its 
ok? Any suggestions?

2) less preferable solution would be to add render specific tag. Something like 
low_zoom_as_higway=primary.

Thanks for reply,
Pavel Zbytovský

[1] http://www.mapy.cz/s/hf6Y
 http://www.osm.org/way/27074773
[2] http://www.mapy.cz/s/k35L
 http://www.osm.org/way/49798938
 




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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread Marc Gemis
What I try to say is that you should not map  a important road  for large
distances as secondary + works_as_primary just because it is a smaller,
has a different surface, a different ref or whatever.
Then (large distance, important road) it is a primary road IMHO, regardless
of any other tags.

If one downgrades such a road to secondary, the router can no longer prefer
it over other (real secondary) roads. (as you wrote)

Perhaps Ralph Aytoun expressed it better. But I tried to say the same as he.
Of course we shouldn't tag secondary or primary roads as trunk road or
motorways, but secondary  primary roads should only be tagged based on
their function, not on their appearance.


regards

m


On Wed, Jul 29, 2015 at 1:11 PM, moltonel 3x Combo molto...@gmail.com
wrote:

 On 29/07/2015, Marc Gemis marc.ge...@gmail.com wrote:
  On Tue, Jul 28, 2015 at 5:29 PM, moltonel 3x Combo molto...@gmail.com
  wrote:
 
  A router won't care about classification differences between far away
  places like Germany to Ethiopia. They just care about taking the best
  road in the area, and as long as OSM is locally consistent, this
  works. Even if a trunk turns into a primary for no physical reason and
 
 
  Seems like I didn't make my point correctly.
  I was trying to ask for global consistency so the router can use the same
  default weights for street types, everywhere in the world.  Something
 like
  'prefer primary roads over secondary' roads  to travel large distances.

 Routers can already use 'prefer primary to secondary' worldwide.
 Nowhere in the OSM world is secondary defined as better than primary.
 In any given area. a car router can confidently prefer 'primary'.

 What's true is that 'primary is X times better than secondary' will
 have different X values from one place to the next. But the
 differences between section of a given road can already be more
 important than the average difference between primary and secondary
 (for example an Irish secondary´s maxspeed can go from 60 to 100, but
 a primary isn´t generally 1.6x better than a secondary).

 Consider also the case of motorways : in all countries I've driven in
 they are very clearly defined and have legal specificities. OSM
 couldn't afford to mistake a motoway with something else. Yet the
 difference between a motorway and the next best thing is bigger in
 Germany than in Ireland.

 TD;DR: It's naive to think that routers can make a good decision using
 the highway tag alone. Harmonising highway tag worldwide would be of
 little use, and it would break local expectations. A locally coherent
 highway tag is preferable, and if you want more precise routing add
 the other tags.

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

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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread Andrew Guertin

On 07/29/2015 07:11 AM, moltonel 3x Combo wrote:

Routers can already use 'prefer primary to secondary' worldwide.
Nowhere in the OSM world is secondary defined as better than primary.
In any given area. a car router can confidently prefer 'primary'.


Based on what John Willis has said about tagging in Japan, I don't think 
this is true.


From what I understand from his previous posts to this and other OSM 
mailing lists, the OSM tagging in Japan follows the official 
classification, and often results in small windy roads through cities 
that are historically important being marked as primary, while modern 
bypass roads are marked as secondary or even lower.


I think that this breaks a router's idea that primary is better than 
secondary, and I think that this problem is exactly why people advocate 
for not following official classification.


--Andrew

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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread Colin Smale
A better router might weight physical attributes such as lanes, surface and 
effective speed more prominently than heuristics based on logical stuff like 
administrative classifications and legal maximum speeds. Artificially 
manipulating the tagging to influence the results of routing algorithms is not 
the way to go - there is name for that... If the government say its primary, 
then it's primary, unless you want to replace that with subjective assessments.

On 29 July 2015 15:08:33 CEST, Andrew Guertin andrew.guer...@uvm.edu wrote:
On 07/29/2015 07:11 AM, moltonel 3x Combo wrote:
 Routers can already use 'prefer primary to secondary' worldwide.
 Nowhere in the OSM world is secondary defined as better than primary.
 In any given area. a car router can confidently prefer 'primary'.

Based on what John Willis has said about tagging in Japan, I don't
think 
this is true.

 From what I understand from his previous posts to this and other OSM 
mailing lists, the OSM tagging in Japan follows the official 
classification, and often results in small windy roads through cities 
that are historically important being marked as primary, while modern 
bypass roads are marked as secondary or even lower.

I think that this breaks a router's idea that primary is better than 
secondary, and I think that this problem is exactly why people advocate

for not following official classification.

--Andrew

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


Re: [Tagging] works_as_highway=primary

2015-07-29 Thread Martin Koppenhoefer


sent from a phone

 Am 29.07.2015 um 15:08 schrieb Andrew Guertin andrew.guer...@uvm.edu:
 
 I think that this breaks a router's idea that primary is better than 
 secondary, and I think that this problem is exactly why people advocate for 
 not following official classification.


I believe the term official classification is often mistaken or at least not 
thoroughly looked at. Often there is more than one official classification: 
visible and obvious is the maintaining entity, e.g. the country, state or 
municipality level, but what is not so well known and not visible easily is the 
conceptual level/class of connection roads (importance of connection) which 
together with the estimated traffic intensity and available funds and 
topographical setting and political processes determine the actual road that 
will be built (or enhanced).

E.g. in Germany the official classification that  most people are aware of is
Bundesstraße (nationwide network)
Landesstraße (state maintained network)
Kreisstraße (Landkreis maintained network, slightly bigger than municipality)


But if you look at the planning guidelines and  standards you will see much 
more different types, e.g here: 
https://de.m.wikipedia.org/wiki/Verbindungsfunktion#Verbindungsfunktionsstufen

there are 
~categories (A-E, inside or outside of settlements, with or without adjacent 
buildings)

~levels of connection functions (I - VI, what does the road connect)

The result of the combination of these 2 groups is the road class (e.g. B III), 
in theory 30 different classes, but not all combinations make sense.

This is admittedly only the German situation but my guess is that many other 
countries operate in a similar way (i.e. do have more complex road classes 
internally than what is visible from signposted ref).

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread Martin Koppenhoefer


sent from a phone

 Am 28.07.2015 um 11:02 schrieb Pavel Zbytovský zbytov...@gmail.com:
 
 1) technically the small secondary roads part works as primary road network. 
 So we would suggest a tag similar to works_as_highway=primary. Do you think 
 its ok? Any suggestions?


from what you have written it seems to me that these are tagging errors: if a 
road works as primary it should get the primary tag in osm.

Country specific deviations that result from following different criteria (like 
road maintenance class / entity, or physical criteria, etc.) should be 
repaired (map those properties differently and not in the highway tag) and 
the highway tag should be used like it is elsewhere.

OSM is a global dataset and following everywhere the same criteria to determine 
the highway tag is important for a smooth usage of the data across borders.

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread moltonel 3x Combo
On 28/07/2015, Martin Koppenhoefer dieterdre...@gmail.com wrote:
 Am 28.07.2015 um 11:02 schrieb Pavel Zbytovský zbytov...@gmail.com:

 1) technically the small secondary roads part works as primary road
 network. So we would suggest a tag similar to works_as_highway=primary. Do
 you think its ok? Any suggestions?


 from what you have written it seems to me that these are tagging errors: if
 a road works as primary it should get the primary tag in osm.

 Country specific deviations that result from following different criteria
 (like road maintenance class / entity, or physical criteria, etc.) should be
 repaired (map those properties differently and not in the highway tag) and
 the highway tag should be used like it is elsewhere.

Sorry but no, too simplistic. A lot of local OSM communities follow
the official national road classification where possible. For example
in Ireland, any ref=Nxx road with xx51 is highway=trunk, and switches
to highway=primary when xx50.

http://wiki.openstreetmap.org/wiki/Ireland/Roads

This makes sense because it is expected by any Irish driver and map
user. While it does result in some road classification changes without
any physical changes, this just reflects the administrative reality.


 OSM is a global dataset and following everywhere the same criteria to
 determine the highway tag is important for a smooth usage of the data across
 borders.

That ideal doesn't match the practical reality. highway=primary has a
very different definition between Ethiopia and Germany, by necessity.
A global uniform standard for highway=* would be pretty unusable. But
we do use a collection of local standards, so we have local
consistency (hopefully at least at the national level), which is the
most important thing.

That said, there are plenty of tags other than highway that are
usefull and objective: maxspeed, lanes, width, traffic lights, speed
bunps, and even surface (but that one is getting subjective again). Go
map them, in that rough order of priority. They are used by routing
software and solve the OP's question for routing. If you want to use
those tags for rendering, talk to your map style developer (you'd need
to do that anyway to make use of works_as_primary).

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread Marc Gemis
On Tue, Jul 28, 2015 at 4:14 PM, moltonel 3x Combo molto...@gmail.com
wrote:

 That ideal doesn't match the practical reality. highway=primary has a
 very different definition between Ethiopia and Germany, by necessity.


While they can be very different, a router should still be able to prefer a
primary road to navigate you from city A to B and avoid secondary or
tertiary roads. Of course in Germany it might be a smooth asphalted road
and in another country a sand road, but that doesn't matter.

Are the current router properly routing over the Irish roads ? Can they
properly deal with the classification changes ? Or are those changes
ignored because the speed limits are properly tagged.

regards

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread moltonel 3x Combo
On 28/07/2015, Pavel Zbytovský zbytov...@gmail.com wrote:
 Since nobody objected much, i would probably go with
 works_as_highway=primary - i think it reflects the state of reality, so its
 useful to be added in OSM dataset.

FWIW, I'm not a big fan of this, because it is just a variation of
tagging for the renderer, with no support by current rendering styles
to begin with. Routers should already have no problem with the data.

That said, I don't see a better tag that your style could use to
decide displaying that road (from your 1st example) earlyer. The
maxspeed is just 50 and there are only two lanes, that seems like weak
arguments for force early display.

What I'm going to say may sound beside the point, but I suggest you
simply ignore this as a non-problem. Leave the data and rendering
as-is :
* If the user asks for routing, the secondary road will be used properly.
* If the user is looking at a low-zoom rendering, he's probably only
interested in a rough idea anyway like I'll get near Praha using this
primary road, and can probably reach city center from there.
* If the user zooms in, he'll see the secondary road.

See ? No problem to be solved :)

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread Martin Koppenhoefer


sent from a phone

 Am 28.07.2015 um 16:14 schrieb moltonel 3x Combo molto...@gmail.com:
 
 Sorry but no, too simplistic. A lot of local OSM communities follow
 the official national road classification where possible.


That's too simplistic ;-)


 
 That ideal doesn't match the practical reality. highway=primary has a
 very different definition between Ethiopia and Germany, by necessity


actually it hasn't, it has the same definition while the actual physical 
appearance might be very different. On the other hand, as it seems, Ireland and 
Poland might have different definitions ;-)

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread Pavel Zbytovský
Thanks for updates, yes, we have similar rules as Ireland.

Since nobody objected much, i would probably go with
works_as_highway=primary - i think it reflects the state of reality, so its
useful to be added in OSM dataset.

Regards,
Pavel

út 28. 7. 2015 v 16:33 odesílatel Marc Gemis marc.ge...@gmail.com napsal:


 On Tue, Jul 28, 2015 at 4:14 PM, moltonel 3x Combo molto...@gmail.com
 wrote:

 That ideal doesn't match the practical reality. highway=primary has a
 very different definition between Ethiopia and Germany, by necessity.


 While they can be very different, a router should still be able to prefer
 a primary road to navigate you from city A to B and avoid secondary or
 tertiary roads. Of course in Germany it might be a smooth asphalted road
 and in another country a sand road, but that doesn't matter.

 Are the current router properly routing over the Irish roads ? Can they
 properly deal with the classification changes ? Or are those changes
 ignored because the speed limits are properly tagged.

 regards

 m


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

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread moltonel 3x Combo
On 28/07/2015, Marc Gemis marc.ge...@gmail.com wrote:
 On Tue, Jul 28, 2015 at 4:14 PM, moltonel 3x Combo molto...@gmail.com
 wrote:

 That ideal doesn't match the practical reality. highway=primary has a
 very different definition between Ethiopia and Germany, by necessity.

 While they can be very different, a router should still be able to prefer a
 primary road to navigate you from city A to B and avoid secondary or
 tertiary roads. Of course in Germany it might be a smooth asphalted road
 and in another country a sand road, but that doesn't matter.

 Are the current router properly routing over the Irish roads ? Can they
 properly deal with the classification changes ? Or are those changes
 ignored because the speed limits are properly tagged.

I was arguing against a worldwide unified classification. What you're
worried about is only local classification :

A router won't care about classification differences between far away
places like Germany to Ethiopia. They just care about taking the best
road in the area, and as long as OSM is locally consistent, this
works. Even if a trunk turns into a primary for no physical reason and
without additional helpfull tags like maxspeed, a router likely won't
be thrown off and avoid the primary, because there's nothing better
than the primary_which_used_to_be_trunk around.

One routing error that came up recently is a trunk with a lower than
typical maxspeed, and a trunk_link without a maxspeed tag. The router
used its default idea of maxspeed for that link, and tried to use it
as a shortcut. The router could have been smarter, but the data should
have been more complete too, adding a naxspeed tag.

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread Tod Fitch

 On Jul 28, 2015, at 8:29 AM, moltonel 3x Combo molto...@gmail.com wrote:
 
 One routing error that came up recently is a trunk with a lower than
 typical maxspeed, and a trunk_link without a maxspeed tag. The router
 used its default idea of maxspeed for that link, and tried to use it
 as a shortcut. The router could have been smarter, but the data should
 have been more complete too, adding a naxspeed tag.
 

There are almost no motorway_link roads in the United States with a posted 
speed limit at all. And if a speed is posted, it is nearly always an advisory 
value rather than a mandatory limit. How should one tag what one sees on the 
ground for that?

For what it is worth, the only router I’ve seen that has an issue is OSMand. 
And the fix is easy (I’ve done it in my routing.xml). Just because the 
developers of one routing engine need help is no reason to make up fake data to 
keep it happy.

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread Janko Mihelić
uto, 28. srp 2015. 11:53 Martin Koppenhoefer dieterdre...@gmail.com je
napisao:


 from what you have written it seems to me that these are tagging errors:
if a road works as primary it should get the primary tag in osm.

Country specific deviations that result from following different criteria
(like road maintenance class / entity, or physical criteria, etc.) should
be repaired (map those properties differently and not in the highway tag)
and the highway tag should be used like it is elsewhere.

OSM is a global dataset and following everywhere the same criteria to
determine the highway tag is important for a smooth usage of the data
across borders.

Cheers
Martin



+1 I agree with everything.

The 1:1 relation between various countries official road clasification and
OSM is not something we should want. We should be flexible. In Croatia we
have people that break roads in several places and then you have
secondary/unclassified/secondary just because the road crossed city
boundary:

http://www.openstreetmap.org/#map=14/46.3399/16.4297

There's just no sense to keep up with that.

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


Re: [Tagging] works_as_highway=primary

2015-07-28 Thread Martin Koppenhoefer


sent from a phone

 Am 28.07.2015 um 17:57 schrieb moltonel 3x Combo molto...@gmail.com:
 
 That said, I don't see a better tag that your style could use to
 decide displaying that road


rather than adding a tag: render like a primary you should check what it is 
that you are after (e.g. maintenance entity/class or designed network road 
class) and use an appropriate tag to store this information so you can render 
the map the way you like.


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