<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Limit of subtype is &1f.</p>
<p>Marc,</p>
<p>you should try 0X51 this is the same as 0x5100</p>
<p>Nick<br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 18/09/2018 17:27, Gerd Petermann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM2PR08MB029251A8C36F511E18286E019E1D0@AM2PR08MB0292.eurprd08.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<div>The sub type value 52 is too high. Not sure if 0x1f or 0x2f
is the limit. <br>
Ciao Gerd <br>
<br>
---- Marc Cousin schrieb ----<br>
<br>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">So, yes it was a dumb question<br>
<br>
but it still doesn't work… <br>
<br>
Error in style: Error: invalid type 0x0152 for POINT in
style file points, line 300<br>
<br>
It must be something very close to this, but there is still
a detail missing :/<br>
<br>
<br>
On 9/18/18 5:50 PM, Mike Baggaley wrote:<br>
> Hi Marc, <br>
> <br>
> The style manuals says:<br>
> <br>
> If the type is not extended, it must be >= 0x0100
for a point, < 0x3f for a line, and < 0x7f for a<br>
> polygon.<br>
> <br>
> This suggests that single byte values are not valid for
points. If you change it to 0x0152 it should work.<br>
> <br>
> Regards,<br>
> Mike<br>
> <br>
> -----Original Message-----<br>
> From: Marc Cousin [<a
href="mailto:cousinmarc@gmail.com" moz-do-not-send="true">mailto:cousinmarc@gmail.com</a>]
<br>
> Sent: 18 September 2018 09:15<br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> Subject: [mkgmap-dev] probably dumb question about
style type<br>
> <br>
> Hi,<br>
> <br>
> I feel like I'm missing something obvious… so sorry in
advance… I'm new to this program.<br>
> <br>
> Starting from this<br>
> <a
href="https://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types"
moz-do-not-send="true">https://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types</a>,
I<br>
> wanted to set points with tags 0x0050, 0x0051 etc,<br>
> in a style<br>
> <br>
> For instance a line in the "points" file of the style
to draw speed cameras...<br>
> <br>
> <br>
> highway=speed_camera | enforcement=maxspeed |
enforcement=traffic_signals [0x0052 resolution 24]<br>
> <br>
> <br>
> When trying to add this line, I get <br>
> <br>
> Error in style: Error: invalid type 0x0052 for POINT in
style file points, line 300<br>
> <br>
> <br>
> I'm using r4240 version.<br>
> <br>
> The command is<br>
> mkgmap --dem=srtm --max-jobs --tdbfile --nsis
--output-dir=target_dir --mapname=OSM_FRANCE_light
--country-name="FRANCE" --family-id=6324
--family-name="OSM_light france" --series-name="OSM france
map" --area-name="France" --country-abbr="FRA"
--style-file=./road_only --precomp-sea=sea.zip
--generate-sea --route --drive-on=detect,right
--process-destination --process-exits --index
--bounds=bounds.zip --location-autofill=is_in,nearest
--x-split-name-index --housenumbers --remove-ovm-work-files
--verbose -c ./template.args<br>
> <br>
> <br>
> Regards<br>
> <br>
> Marc<br>
> <br>
> <br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a
href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev"
moz-do-not-send="true">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
> <br>
<br>
</div>
</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mkgmap-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></pre>
</blockquote>
<br>
</body>
</html>