gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.53k stars 817 forks source link

Render more specific access tags i.e. bicycle, motor_vehicle etc #214

Open joakimfors opened 10 years ago

joakimfors commented 10 years ago

More specific access tags such as bicycle=, motor_vehicle= etc should be rendered.

Gazer75 commented 4 months ago

The highway=track use is a mess if you ask me. It has often been used instead of the surface tag to map gravel roads.

In Norway tracktype 1 and 2 is not really in use and those get the highway=service or unclassified tag with an appropriate surface value. Tracks are mostly grade 4-5 farmland access intended for tractors and other farming equipment and should not be considered for normal car use. Would most likely require a taller 4WD vehicle.

imagico commented 4 months ago

The whole highway=track use is a mess talk is not really that helpful - unless the conclusion is to stop rendering highway=track completely. For tracktype we have #4322.

The problem here is:

Currently we render:

Possible ways to go from here suggested so far are:

Further ideas for other options are welcome.

Regarding motorcar vs. motor_vehicle - that distinction is practically not really that meaningful - both in terms of tagging practice and in terms of real world access restriction on tracks. And note that in practical use motorcar=* almost always means double_tracked_motor_vehicle=* (and highway=track is by definition at least in principle suitable for a double tracked vehicle).

Keep in mind that access restrictions are about the legal status, not the technical feasibility of using a road.

Gazer75 commented 4 months ago

The point is that the default for tracks vary depending on country. Primary use in Norway for track is agricultural, not motorcar or motor_vehicle.

imagico commented 4 months ago

I should probably explain the concept of primary mode of use a bit better.

This is not meant to be the primary mode of de facto use or the primary mode the road is designed for in the real world. What this is meant to reflect is the primary mode of use relevant for the target map user. The vast majority of those are not farmers, agricultural use does not apply to them. For them the relevant question is: Am i allowed to drive here with my car. And for those tracks, where this is not the case (which in many countries is a significant percentage) the interesting question is if you can go there with a bicycle or on foot (which is often the case for tracks where normal car traffic is banned) - hence #4321.

Indicating if tracks are open for agricultural/forestry traffic or not is probably something out of scope for this style.

That the default access restrictions on roads vary from country to country is known. But taking care of such differences in design is clearly out of scope for this issue. So far we do not make any per-country differentiation in rendering, despite there being systematic differences in tagging semantics, in particular for roads. This could be re-considered (in a separate issue) - thought the more pressing field of per-country styling differentiation would be labeling (#2208).

Also note that specifically w.r.t. the implicit default access restrictions on highway=track - Norway is the only country where this is actually documented to be motorcar=no on https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions.

hungerburg commented 4 months ago

Default No for motor vehicles is also specified for Tyrol, a province of Austria. Recent efforts by a small number of people from the local community shows, that indeed, the number of tracks that are generally accessible for motorized traffic is very low. BTW. forestry tracks alone nearly double the road network in Austria. and by law, they must be signed accessible, otherwise they are forbidden.

pnorman commented 4 months ago

I can't see us doing rendering differently for different countries and particularly not for smaller regions.