<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=DE link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-GB>Hi<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Things seem to be more complicated than I thought.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>To draw some traffic separation lines I tried:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>seamark:type=separation_boundary {add mkgmap:xt-colour=0x05} [0x1060a resolution 22]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>seamark:type=separation_lane {add mkgmap:xt-colour=0x05} [0x10602 resolution 22]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Those lines should be magenta. So I need to set colour attribute to 0x05. But it does not work. Lines are still black.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Marine line types 0x10600 – 0x10611 should support colour attributes as well as style attributes. Does anyone know how to set them for my example?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b><span lang=EN-GB>Von: </span></b><span lang=EN-GB><a href="mailto:rwb-mkgmap@jagit.co.uk">Ticker Berkin</a><br><b>Gesendet: </b>Mittwoch, 7. Dezember 2016 10:02<br><b>An: </b><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">Development list for mkgmap</a><br><b>Betreff: </b>Re: [mkgmap-dev] Attributes<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Hi<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>I was looking at this area in the code yesterday for some other problem<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>and spotted this big comment:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>/*<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Add support for extended type attributes.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>These are nearly all for marine objects. Attribute values are supplied<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>as tags with a mkgmap:xt- prefix. These tags are supported:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-depth<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-height<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> value is distance with optional units suffix (ft or m)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> applicable to points with types 0x0103xx and 0x0104xx and<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> lines with types 0x0103xx and 0x010105-0x010107 and areas<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> with types 0x0103xx.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-style<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> value is 16 bit integer that specifies colour (lower 8 bits)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> and line style (upper 8 bits) - applicable to lines with types<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x0104xx, 0x0105xx, 0x0106xx and points with type 0x010500 (colour<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> only).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-colour<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> value is one of:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> red<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> green<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> white<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> black<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> black-yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> white-red<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> black-red<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> white-green<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> red-yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> red-green<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> orange<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> black-yellow-black<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> yellow-black<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> yellow-black-yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> red-white<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> green-red-green<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> red-green-red<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> black-red-black<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> yellow-red-yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> green-red<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> black-white<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> white-orange<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> orange-white<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> green-white<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> applicable to points with type 0x0102xx (buoys) and it specifies the<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> foundation colour of the buoy.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-type<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> value is one of:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> fixed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> isophase<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> group flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> composite group flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> occulting<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> group occulting<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> composite group occulting<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> long flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> group long flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> (a morse code letter)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> quick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> group quick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> group quick and long flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> interrupted quick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> very quick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> group very quick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> group very quick and long flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> interrupted very quick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> ultra quick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> interrupted ultra quick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> fixed and occulting<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> fixed and group occulting<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> fixed and isophase<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> fixed and flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> fixed and group flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> fixed and long flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> alternating<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> alternating occulting<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> alternating flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> alternating group flashing<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> applicable to points with types 0x0101xx (lights) and 0x0102xx<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>(buoys)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> and it specifies the type of light<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-light<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> one or more light definitions (separated by ;: or /) - each light<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> definition is of the form colour,range,angle where colour is one<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> of:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> unlit<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> red<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> green<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> white<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> blue<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> violet<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> amber<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> range is an optional number that specifies the visible range in nm -<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> angle is the start angle for the light (only makes sense when more<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>than<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> one light is defined.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-period<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> value is one or more period values (in seconds) (separated by commas)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>-<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> applicable to point types 0x0101xx (lights) and 0x0102xx (buoys).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-racon<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> when set to yes/true/1 specifies object has a racon - applicable to<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> point types 0x0101xx (lights).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-height-above-foundation<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-height-above-datum<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> value is distance with optional units (m or ft) - applicable to<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> point types 0x0101xx (lights).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-leading-angle<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> value is a number - applicable to point types 0x0101xx (lights).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-note<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-int-desig<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-local-desig<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> values are strings that are encoded as labels - applicable to<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> points of type 0x01xx (lights) and 0x0102xx (buoys).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap:xt-facilities<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> value is a bitmask of facilities available:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000001 boat ramp<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000002 drinking water<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000004 restrooms<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000008 picnic area<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000010 campground<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000020 marina<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000040 fuel<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000080 marine supply<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000100 bait and tackle<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000200 groceries<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000400 restaurant<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x000800 water/electric hook-up<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x001000 boat/motor rental<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x002000 guide service<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x004000 lodging<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x008000 dump station<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> 0x010000 handicap accessible<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> applicable only to points of type 0x010903 (facility)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>*/<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Also it handles tags on extended type prefixed by "seamark:"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Hope it helps.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Ticker<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>On Wed, 2016-12-07 at 09:34 +0100, rheinskipper1000@gmx.de wrote:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> Hi there,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> In this manual it is explained how to pass special ATTRIBUTES like<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> colour, style, depth to extended marine types using cgpsmapper:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> https://1drv.ms/b/s!AtxQMXNLLc7QjU6E89ne-WZmtGMF<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> Example:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> [POLYGON]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> Type=0x307<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> Data0=(xx.xxxx,xx.xxxx),…,…<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> Depth=10<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> [END]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> How can I set those special attributes in mkgmap?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> _______________________________________________<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> mkgmap-dev mailing list<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> mkgmap-dev@lists.mkgmap.org.uk<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>_______________________________________________<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap-dev mailing list<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>mkgmap-dev@lists.mkgmap.org.uk<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div></body></html>