-
Notifications
You must be signed in to change notification settings - Fork 1
Render surface=unpaved differently from surface=paved #1447
Comments
Author: steve8[at]mdx.ac.uk Could you give an example of a URL so I can have a look and test a tweak? |
Author: avarab[at]gmail.com Sure, all of these ways are unpaved but adjacent to paved ways of the same highway type:
Tell me if you need any more examples. |
Author: maratu[at]gmail.com What is the current status? I see that there is no rules for paved\unpaved roads in Mapnik Stylesheet. I suggest to render unpaved roads filled with same color as paved roads, but with dotted border and border color same as "highway=track", and maybe more fat. |
Author: pgf commenting on Unpaved_roads.png, it's hard to say without seeing an actual map image using that style, so i'll just say that i think the paved/unpaved distinction should be visible at scales where the casing might not be renderable, or discernible. i can't tell whether that proposal satisfies that need or not. |
Author: Kevin Atkinson I don't care what style is chosen. But some distinction should be made. I just changed some roads from highway=track to highway=tertiary because they are definitely not tracks, but they are unpaved. See http://www.openstreetmap.org/browse/way/10194017, and I'm afraid someone might change these back just so they are rendered differently. Would a patch to the Mapnik Stylesheet speed this up? |
Author: jgc An example of standard Mapnik rendering modified to render surface=unpaved differently from surface=paved, along the lines proposed above, is available, for Haiti, for example at: For easy comparison, standard Mapnik rendering can be seen on the same area by switching base layer. A large proportion of Port-au-Prince peripheral streets is already labeled with a surface tag. This might be only an early indication of the large proportion of unpaved roads globally, especially in less developed countries. |
Author: Ldp Looks good, although somewhat busy. One drawback is the ends of roads lacking casing. Did they attempt to handle that? |
Author: jgc Replying to [comment:9 Ldp]:
Sorry Ldp, seeing your comment only now. Yes, I had tried using round stroke-linecap for the casing layer, but this made it appear continuous - instead of dashed as desired. So solving this would probably be more complex (special treatment for ends of roads?), and maybe not worth it. |
Author: Zkir Hi All! This enhancement is very important, especially for countries where the road classification according to the importance of the road in the road graph is used. For example, a lot of roads in Russia are tagged as highway=unclassified+surface=unpaved. It would be nice to see them rendered different from just highway=unclassified and from highway=track. Also, this issue has become even more important now, after OSRM (map.project-osrm.org) has appeared. OSRM does not consider highway=track to be routable, which is correct, because highway=track is understood as agricultural road, not intended for normal car. |
Author: Davo I agree with Zkir, its very important that the official OSM map show if a road is unsealed. Here in Australia, we have a lot of unsealed roads and now there are some (really cool) routing engines out there, this is seriously dangerous. I spoke to a routing tool developer who considered things that did not show up on the OSM reference implementation, ie the slippery map, did not matter. There has quite a fuss recently here in Victoria where some people followed their Apple routing tool's instructions and were, perhaps, lucky to get out alive. I think they were pretty silly but press and police just blame Apple. How long before a similar problem crops up based on OSM ? There are a lot of deaths on record of people heading off down roads that they or their vehicle were not suited for. Zkir, I disagree when you suggest that highway=track means no conventional cars. Not necessarily the case. But the comment does highlight another issue, the OSM map takes note of tracktype= but only when highway=track. In places like remoter parts of Australia, there are a number of roads defined as 'primary' or 'secondary' that are, "on the ground" tracks and again, people and routing engines need to be warned. While somewhat disputed tracktype was always intended to apply to any road. Highway= describes the purpose of the road, tracktype= describes how well maintained it is. So, maybe a better approach might be to render any road with the tracktype tag set differently (ie with the dashed casement). I cannot imagine there are any sealed roads with tracktype set. Routing engines, once convinced of the tag's importance might then decide to stop routing at, say, grade2. This might be better than relying on surface= as surface has a range of possible values some of which appear to be unpaved and some paved. Similarly the OSM map does not take any notice of the 4wd_only tag. Again, this could easily lead to a life threatening situation. But maybe I'll lodge a separate ticket on that subject. There have been a number of unsuccessful attempts to get better tagging in place and I drafted up something myself but gave up when I saw it was not going to get the necessary support. However, this is far too important an issue to drop altogether so we must work with the tags we have. David |
Author: richlv keep in mind that "unpaved" does not include gravel/compacted, for example. |
Author: Davo Replying to [comment:13 richlv]: A good point richlv, I guess the spot where we draw the line might vary around the world. I reckon, where I come from, the big boundary is between sealed and unsealed roads. So concrete/asphalt on one side and anything from well made gravel through to really fun 4x4 tracks on the other. In terms of drivability, I think the boundary needs to be where you suggest but just about all printed maps in Australia for example tend to look at sealed - unsealed. The real issue IMHO is that nothing in this space is being rendered, Mapnik still cannot tell the difference and sooner or later, its going to end in tears ! David |
Author: gweberbh[at]gmail.com Please, make this happen urgently in mapnik. In Brazil we have lots of unpaved highways, some are of considerable importance and with significant traffic. It is essential that mapnik users can visually distinguish unpaved roads from paved ones. This should cover any type of roads, including residential roads. I can not stress enough how important this is. Driving on an unpaved road under severe weather conditions can be very dangerous even for 4x4 vehicles. In comparison, knowing if a highway is primary or secondary is totally irrelevant. One should also consider the multiplicative effect of this change in mapnik since other renderers tend to follow mapnik style to some extent. Therefore, the longer you postpone this change in mapnik the longer it delays others to follow. Personally, I would consider the lack of visual distinction of paved/unpaved highways a bug and I think it should be treated like one. I would appreciate if you could put in some effort to make this happen, after all this ticket is open already for 4 years. It cannot be that difficult. Many thanks for your attention Gerald Weber Belo Horizonte, Brazil |
Author: lists[at]gimnechiske.org I suggest that unpaved roads and highways get a definitive brown or grey border, while paved roads and highways should get a definitive black border. Roads and highways where no surface tags exists should be rendered as is, thus we get 3 distinct renderings of highways, untagged surface, unpaved and paved. For closer zoom other solutions can be added as well to destinguish between asfalt and cobblestones in paved roads, or between different forms of unpaved roads as well. I see the brown border for unpaved roads was proposed 4 years ago |
Author: fernando.trebien[at]gmail.com The Brazilian community is discussing this issue right now. There is consensus that a visual indication of surface type (at least a difference between paved and unpaved) is much needed. Is there anything that I can do to help you implement this? If I adjust Mapnik's definitions (http://svn.openstreetmap.org/applications/rendering/mapnik/osm.xml) and figure out a way to render it, what needs to happen to get the changes applied to the main OSM map? We all seem to agree that "paved" means "concrete" or "asphalt" and that "unpaved" means anything else. Personally, I think that "paving_stones" and "cobblestone:flattened" are in-between these two classifications with their own characteristics: they can't be driven on at full speed and are slightly dangerous under rain, but are much safer than sand roads. Many streets in Brazilian cities have these two kinds of pavement. Rendering the border of ways as solid black is a bad idea because that would visually conflict with the current representation of bridges. I would prefer to keep the borders as they are for untagged and paved roads, and:
If this proves too confusing, then I would support, only for unpaved ways (not for paving_stones or cobblestone:flattened), rendering the entire way in very light brown regardless of highway type. One note: these changes should only apply to ways that are normally used by cars (except, maybe, for highway=pedestrian, for visual coherence). They would not apply to the rendering of steps, footways, cycleways, paths, tracks and bridleways. |
Author: Linhares I am another brazilian guy who misses this feature (bug?). As an example you should look at this [http://umap.fluv.io/en/map/hdm-first-draft_728#14/19.6643/-72.1182 map] of Haiti. A great work done by HOT. Regards, Linhares. |
Author: Gerald Weber It would be nice to know if we may expect some progress on this issue. A lot of people are (wrongly) mapping unpaved highways as track because of this. regards Gerald |
Author: pnorman The "mapnik" component in trac is for the old XML-based openstreetmap.xml stylesheets which are not deployed on OpenStreetMap.org. Since June the default style on OpenStreetMap.org has been openstreetmap-carto, which has its own issue tracker at https://github.com/gravitystorm/openstreetmap-carto/issues. I'm going to go ahead and close this issue as wontfix. Closing it doesn't mean the issue won't be fixed in openstreetmap-carto, just that this ticket is against old unmaintained software that has been replaced and this ticket has zero chance of being resolved. There is an openstreetmap-carto ticket requesting a distinction between unpaved and paved surfaces at gravitystorm/openstreetmap-carto#110, but please read the roadmap at https://github.com/gravitystorm/openstreetmap-carto#roadmap to understand what issues are an immediate priority. |
Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 8.46pm, Wednesday, 7th January 2009]
Currently mapnik renders a highway=* with surface=paved exactly like a highway with surface=unpaved. It would be nice to get a visual distinction between the two.
surface=paved should probably be assumed by default.
The text was updated successfully, but these errors were encountered: