Garmin Tools

mkgmap style tricks

 

Tricks with mkgmap style sheets

 

Checkout our more style ideas
 
Tricks with mkgmap Styles 1.pdf
 
Tricks with mkgmap Styles 2.pdf
 
Tricks with mkgmap Styles 3.pdf

How to avoid routing along private highways

 

There are several ways depending on whether you want your map to route for all modes of transport , and legs as well

One of the safest - often used by Garmin - is to decide

1) on one mode of transport, ie pedestrian or bicycle

2) only use routable types (see below) for highways which allow bikes (pedestrians) - this cuts down on number of routable lines and thus speeds up the search for a route !

3) display any highway where bikes are not allowed as an extended type, ie using number 100+

4) In your typ file have copies of highways , as seen in Garmin typ files.

5) in you lines sheet filter out all access occasions where pedestrians (bikes) are NOT allowed -

highway=motorway|highway=motorway_link
{ add bicycle=no; add foot=no }
highway=residential & (access=private|access=no) & foot!=yes [0x11b00 resolution 24 ] # private housing estate

 

What are routable types?

 

0x1 - 0x13 , 0x16 , 0x1a , 0x1b

How to outline Polygons

Polygons can have outlines of ANY thickness or ANY pattern , striped dotted etc, or ANY Color

Notice forest with exaggerated outline and woods/residential area with striped outline.

Lines are parsed before Polygons - see pdf for more details

How to show housenumbers / postcodes.

 

Recently,OSM address pois can be used for address searches although in a limited way

 

- see mapuploader4

 

They can , however, always be plotted on your map.

Insert the following in your POINTS file

addr:housenumber=* { set name='${addr:housenumber}' } [0x1e04 resolution 24 continue ]
addr:postcode=* { set name='${addr:postcode}' } [0x1e04 resolution 24 continue ]

Add a new poi to your TYP file with number 1e04 ; this will centralise your poi on the coordinates supplied.
Make the poi transparent with width and height set to 1.

Note : If you don't add 'continue' , some POIs may not be rendered.

How to show steps as a poi

 

In your POINTS file add

mkgmap:line2poi=true & mkgmap:line2poitype=mid & highway=steps
[0xXXXX level resolution 24 ]

use --add-pois-to-lines option and create a poi 0xXXXX ie 0x 611b in your typ file

How to show steep hills using a symbol

 

In your points file add:

mkgmap:line2poi=true & mkgmap:line2poitype=mid &
(incline=up |incline=down | incline=yes | incline=steep)
[0xXXXX resolution 24]

use --add-pois-to-lines option and create a poi 0xXXXX in your typ file

How to show hiking or cycling routes using matching symbols

 

You can show symbols of a route by

1) creating a new poi in your typ file showing the symbol

2) Adding a condition in your Relations file

This applies to a route with a reference=ABC - check reference of route and subsitute.

(route=foot | route=hiking) & ( ref ='ABC')
{

apply { set route_evw='$(route_abc):${ref}'|'${ref}'
}
}

For additional step by step help with clear illustrations see


Creating OSM relations

 

3) Adding the following in your points file

mkgmap:line2poi=true & mkgmap:line2poitype=start & route_abc=*
[0 x XXXX resolution 24] # ie XXXX = 3301

4) use --add-pois-to-lines option

 

How to show brdges over motorways

 

Strangely , Garmin isn't bothered about bridges and many run UNDER roads !

See Draworders of Lines

 

 

2+ colored polygons
LATEST TYPwiz 5
polygons and lines
with up to 6 colours
 
NEW! osm tricks & styles 3
 

Latest IMG2TYP

 
MapUploader4
 
Create Free Garmin Maps & Contours
 
POI TYPE SEARCH