logo separator

[mkgmap-dev] probably dumb question about style type

From Andrzej Popowski popej at poczta.onet.pl on Wed Sep 19 15:05:11 BST 2018

Hi,

I think that safe limit for subtype is 0x1F, but for many types values 
up to 0x3F can be used.

I have creates some test maps and found that following values work:

POI_type_start, POI_type_end, subtype_less_than

0x01, 0x11,    1
0x14, 0x15, 0x40
0x16, 0x1D, 0x20
0x1E, 0x1E, 0x40
0x20, 0x28, 0x40
0x2A, 0x30, 0x20
0x40, 0x59, 0x40
0x5D, 0x5E, 0x40
0x62, 0x63, 0x40
0x64, 0x66, 0x40
0x67, 0xFF, 0x40
0x100, 0x100, 0x20
0x101, 0x109, 0x20
// 0x10A doesn't work
0x10B, 0x13F, 0x20
// range 140-1FF is displayed

For marine map it is a bit more limited. Marine types are in range 0x101 
to 0x1FE, but cGPSmapper adds internally 0x100, so in a mp source, these 
are values 0x01 - 0xFE. Here values in cGPSmapper convention:

POI_type_start, POI_type_end, subtype_less_than, attributes

// 0x00 doesn't work
0x01, 0x01, 0x20, light_color | light_type | note
0x02, 0x02, 0x20, foundation_color | light_type | note
0x03, 0x04, 0x20, depth
0x05, 0x05, 0x20, color
0x06, 0x06, 0x20
0x07, 0x07, 0x0D
// 0x070E display error
0x08, 0x08, 0x20
0x09, 0x09, 0x20, facility | text
// 0x0A doesn't work
0x0B, 0x11, 0x20
0x12, 0x12, 0x20, web_page
0x13, 0xFE, 0x20

-- 
Best regards,
Andrzej


More information about the mkgmap-dev mailing list