logo separator

[mkgmap-dev] probably dumb question about style type

From Marc Cousin cousinmarc at gmail.com on Tue Sep 18 16:58:35 BST 2018

So, yes it was a dumb question

but it still doesn't work… 

Error in style: Error: invalid type 0x0152 for POINT in style file points, line 300

It must be something very close to this, but there is still a detail missing :/


On 9/18/18 5:50 PM, Mike Baggaley wrote:
> Hi Marc, 
> 
> The style manuals says:
> 
> If the type is not extended, it must be >= 0x0100 for a point, < 0x3f for a line, and < 0x7f for a
> polygon.
> 
> This suggests that single byte values are not valid for points. If you change it to 0x0152 it should work.
> 
> Regards,
> Mike
> 
> -----Original Message-----
> From: Marc Cousin [mailto:cousinmarc at gmail.com] 
> Sent: 18 September 2018 09:15
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: [mkgmap-dev] probably dumb question about style type
> 
> Hi,
> 
> I feel like I'm missing something obvious… so sorry in advance… I'm new to this program.
> 
> Starting from this
> https://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types, I
> wanted to set points with tags 0x0050, 0x0051 etc,
>  in a style
> 
> For instance a line in the "points" file of the style to draw speed cameras...
> 
> 
> highway=speed_camera | enforcement=maxspeed | enforcement=traffic_signals [0x0052 resolution 24]
> 
> 
> When trying to add this line, I get 
> 
> Error in style: Error: invalid type 0x0052 for POINT in style file points, line 300
> 
> 
> I'm using r4240 version.
> 
> The command is
> 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
> 
> 
> Regards
> 
> Marc
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20180918/32d539e8/attachment.sig>


More information about the mkgmap-dev mailing list