logo separator

[mkgmap-dev] Distinction between smooth paved/rough paved/unpaved streets

From Carlos Dávila cdavilam at orangecorreo.es on Thu Dec 1 06:40:06 GMT 2016

El 01/12/16 a las 07:16, Alexandre de Menezes escribió:
>
> Hi,
>
> Here in my city there are basically 3 types of paving on streets:
>
>   * Smooth paving (concrete or asphalth)
>   * "Rough" paving (sett or paving stones)
>   * Unpaved
>
> I have been tagging a lot of streets hoping to improve routing, but it 
> seems to have no effect.
>
> In fact, I found the following rule:
>
> highway=residential [0x06 road_class=0 road_speed=2 resolution 22]
>
> It seems to ignore the paving type.  Would be possible to assign 
> different "road_speed" according to paving type?
>
> Thanks in advance,
>
>     Alexandre
>
>
You can use something like this:
highway=residential & (surface=concrete | surface=asphalt) [0x06 
road_class=X road_speed=Y resolution 22]
highway=residential & (surface=sett | surface=paving_stones) [0x06 
road_class=A road_speed=B resolution 22]
highway=residential [0x06 road_class=0 road_speed=2 resolution 22]
Try different X and Y values to fit your needs.


More information about the mkgmap-dev mailing list