logo separator

[mkgmap-dev] [PATCH] Don't show not constructed highway on map

From Elrond elrond+openstreetmap.org at samba-tng.org on Sun Aug 23 23:51:05 BST 2009

On Mon, Aug 24, 2009 at 12:03:01AM +0200, Ondrej Novy wrote:
> Hi,
> 
> i think we don't want to have not finished highwayes on map, so this
> attached patch fixies it. Thanks.

Well, I think, we can have them on the map, just at a very
high level. So that they only show up when you zoom in a
lot.

NOTE 1: The 0x07 in the old rule creates non-routable ways on
the map. So the ways are there, but are not used for
routing.

NOTE 2: The left out "resolution" yields a 24 AFAIK.

So I'm for keeping the old style.

Or maybe something more explicit, like (UNTESTED):

highway=construction & area!=yes
	{name 'Under Construction: ${name}' | 'Under Construction ${construction}' | 'Under Construction Way'; }
	[0x07 resolution 24]


Related:

roundabouts under construction are currently created as
routable. My personal fix is:

 junction=roundabout & highway=unclassified [0x0c road_class=1 road_speed=2 resolution 21]
+junction=roundabout & highway=construction [0x0c resolution 24]
 junction=roundabout [0x0c road_class=0 road_speed=1 resolution 21]

Any comments on this one? I'll happily commit this one, if
people like it.


    Elrond



More information about the mkgmap-dev mailing list