logo separator

[mkgmap-dev] Speed Cameras

From charlie at cferrero.net charlie at cferrero.net on Tue Feb 2 14:43:41 GMT 2010

Quoting Rodrigo Avila <rodrigo at avila.net.br>:

> Hi,
>
> Can you tell me if mkgmap supports speed cameras warnings? if yes, how
> I tag cameras in osm?
>
> Like this: http://wiki.openstreetmap.org/wiki/Tag:highway%3Dspeed_camera
>
> Or like this: http://wiki.openstreetmap.org/wiki/Relation:enforcement
>
> ?
>
> --
> Rodrigo de Avila
> Analista de Desenvolvimento

Rodrigo,

mkgmap can create maps which show speed cameras, but you will need to  
create a custom style.  You would then edit the points file within  
this style and add a rule like:
highway=speed_camera [0x0052 resolution 23]
0x0052 plots as a camera POI, but you could choose a different code if  
you wanted to use a different symbol.

Finally, you would need to invoke mkgmap with this style, e.g
java -jar mkgmap.jar --style-file=path/to/yourNewStyle mydata.osm

Have a read of  
http://www.cferrero.net/maps/guide_to_mkgmap_style_files.html for more  
info on customising styles to show things that don't appear in the  
mkgmap default style.

-- 
Charlie




More information about the mkgmap-dev mailing list