logo separator

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

From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Jan 3 08:37:26 GMT 2017

Hi Alexandre,

I think you just have to remove the surface=cobblestone part from the default style so that
highways with this tag are not treated like unpaved roads.
In fact I think that we should remove it from the default style as well.  Maybe it is there because
the default style is cyclist friendly ;-)


Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Alexandre Folle de Menezes <afmlistas at terra.com.br>
Gesendet: Montag, 2. Januar 2017 21:50:57
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Distinction between smooth paved/rough paved/unpaved streets

Hi all,

So as promised, I tested the changes and they kind of worked. The
routing did indeed prefer asphalt to concrete, the problem is that it
preferred too much.  On some of my testes it would add six blocks to my
route to avoid a sett street.  In the end, I reverted back to the
default style for this.

I have now a different but related problem.  The GPS seems to prefer
unpaved streets to cobblestone ones.  It sometimes traces a route much
longer, on unpaved roads, to avoid a cobblestone street.   Here's an


On the link above the best route is traced, but on my GPS the suggested
path goes to the next exit ("Rua 11") abd then returns, all on unpaved

I believe cobblestone should be handled like sett, and be preferred over
unpaved.  Any hint?

Thanks in advance,


On 01/12/2016 11:07, Alexandre Folle de Menezes wrote:
> Hi Gerd,
> Yes, I see that unpaved roads appear different on the device screen
> and can be avoided in routing.  My main concern is in routing
> preferably trough concrete/asphalt (smooth and silent) over
> sett/paving_stones (noisy).  I'll test Carlos' suggestion and post my
> comments later this week.
> Best regards,
>     Alexandre
> On 01/12/2016 05:41, Gerd Petermann wrote:
>> Hi Alexandre,
>> the default style sets special tag mkgmap:unpaved. As far as I know
>> this is
>> only used
>> for the road avoidance, but you should be able to see this effect on
>> routing.
>> Gerd
>> Alexandre de Menezes wrote
>>> 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
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at .org
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>> --
>> View this message in context:
>> http://gis.19327.n8.nabble.com/Distinction-between-smooth-paved-rough-paved-unpaved-streets-tp5886735p5886737.html
>> Sent from the Mkgmap Development mailing list archive at Nabble.com.
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk

More information about the mkgmap-dev mailing list