| 1 |
;------------------------------------------------------------------------------- |
| 2 |
; This is an example TYP file. |
| 3 |
; A TYP file controls how the Garmin device renders polygons, lines and points. |
| 4 |
; See https://wiki.openstreetmap.org/wiki/Mkgmap/help/typ_compile |
| 5 |
; for more information. |
| 6 |
; |
| 7 |
; This example sets most polygons to have the same drawOrder |
| 8 |
; See https://wiki.openstreetmap.org/wiki/Editing_OSM_Map_On_Garmin/Area_Types |
| 9 |
; so that mkgmap option --order-by-decreasing-area works in an optimum manner. |
| 10 |
; It exposes all the known non-extended Garmin polygon representations, eg |
| 11 |
; 0x01-0x03=City and provides some hidden polygons for naming large areas such |
| 12 |
; as Counties, Islands... |
| 13 |
;------------------------------------------------------------------------------- |
| 14 |
; |
| 15 |
[_drawOrder] |
| 16 |
; nothing shows, even with: Type=0x00,2 |
| 17 |
Type=0x01,2 |
| 18 |
Type=0x02,2 |
| 19 |
Type=0x03,2 |
| 20 |
Type=0x04,2 |
| 21 |
Type=0x05,2 |
| 22 |
Type=0x06,2 |
| 23 |
; 0x07/Airport default drawOrder is lower that most other polygons on some Garmin devices; make it the same. |
| 24 |
Type=0x07,2 |
| 25 |
Type=0x08,2 |
| 26 |
Type=0x09,2 |
| 27 |
Type=0x0a,2 |
| 28 |
Type=0x0b,2 |
| 29 |
Type=0x0c,2 |
| 30 |
Type=0x0d,2 |
| 31 |
Type=0x0e,2 |
| 32 |
Type=0x0f,2 |
| 33 |
Type=0x10,2 |
| 34 |
Type=0x11,2 |
| 35 |
Type=0x12,2 |
| 36 |
Type=0x13,2 |
| 37 |
; the following Greens default drawOrder is lower than most on some Garmin devices; make them the same. |
| 38 |
Type=0x14,2 |
| 39 |
Type=0x15,2 |
| 40 |
Type=0x16,2 |
| 41 |
Type=0x17,2 |
| 42 |
Type=0x18,2 |
| 43 |
Type=0x19,2 |
| 44 |
Type=0x1a,2 |
| 45 |
Type=0x1b,2 |
| 46 |
Type=0x1c,2 |
| 47 |
Type=0x1d,2 |
| 48 |
Type=0x1e,2 |
| 49 |
Type=0x1f,2 |
| 50 |
Type=0x20,2 |
| 51 |
; to here |
| 52 |
Type=0x21,2 |
| 53 |
Type=0x22,2 |
| 54 |
Type=0x23,2 |
| 55 |
Type=0x24,2 |
| 56 |
Type=0x25,2 |
| 57 |
Type=0x26,2 |
| 58 |
Type=0x27,2 |
| 59 |
Type=0x28,2 |
| 60 |
Type=0x29,2 |
| 61 |
Type=0x2a,2 |
| 62 |
Type=0x2b,2 |
| 63 |
Type=0x2c,2 |
| 64 |
Type=0x2d,2 |
| 65 |
Type=0x2e,2 |
| 66 |
Type=0x2f,2 |
| 67 |
Type=0x30,2 |
| 68 |
Type=0x31,2 |
| 69 |
Type=0x32,2 |
| 70 |
Type=0x33,2 |
| 71 |
Type=0x34,2 |
| 72 |
Type=0x35,2 |
| 73 |
Type=0x36,2 |
| 74 |
Type=0x37,2 |
| 75 |
Type=0x38,2 |
| 76 |
Type=0x39,2 |
| 77 |
Type=0x3a,2 |
| 78 |
Type=0x3b,2 |
| 79 |
Type=0x3c,2 |
| 80 |
Type=0x3d,2 |
| 81 |
Type=0x3e,2 |
| 82 |
Type=0x3f,2 |
| 83 |
Type=0x40,2 |
| 84 |
Type=0x41,2 |
| 85 |
Type=0x42,2 |
| 86 |
Type=0x43,2 |
| 87 |
Type=0x44,2 |
| 88 |
Type=0x45,2 |
| 89 |
Type=0x46,2 |
| 90 |
Type=0x47,2 |
| 91 |
Type=0x48,2 |
| 92 |
Type=0x49,2 |
| 93 |
; The following two are overview/main background. Give them a lower drawOrder. |
| 94 |
Type=0x4a,1 |
| 95 |
Type=0x4b,1 |
| 96 |
Type=0x4c,2 |
| 97 |
Type=0x4d,2 |
| 98 |
Type=0x4e,2 |
| 99 |
Type=0x4f,2 |
| 100 |
Type=0x50,2 |
| 101 |
Type=0x51,2 |
| 102 |
Type=0x52,2 |
| 103 |
Type=0x53,2 |
| 104 |
Type=0x54,2 |
| 105 |
Type=0x55,2 |
| 106 |
; The following don't seem to have any known pre-defined meaning to Garmin |
| 107 |
; devices and can be used to give a 'hover' or 'select' name and details without |
| 108 |
; other representation, being hidden with a lower drawOrder than the background. |
| 109 |
Type=0x56,0 |
| 110 |
Type=0x57,0 |
| 111 |
Type=0x58,0 |
| 112 |
Type=0x59,0 |
| 113 |
Type=0x5a,0 |
| 114 |
Type=0x5b,0 |
| 115 |
Type=0x5c,0 |
| 116 |
Type=0x5d,0 |
| 117 |
Type=0x5e,0 |
| 118 |
Type=0x5f,0 |
| 119 |
[end] |