<html>
<head>
<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>
</head>
<body>
<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">mailto:cousinmarc@gmail.com</a>]
<br>
> Sent: 18 September 2018 09:15<br>
> To: mkgmap-dev@lists.mkgmap.org.uk<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">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>
> mkgmap-dev@lists.mkgmap.org.uk<br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
> <br>
<br>
</div>
</span></font>
</body>
</html>