logo separator

[mkgmap-dev] OSM-Id accessable in style ?

From WanMil wmgcnfg at web.de on Thu Nov 1 14:27:51 GMT 2012

> Hi,
> is the OSM-Id accessible via style file?
>
> Example:
>
> highway=motorway & mkgmap:osm-id=12032234 { add name=test }
>
> Chris
>

Hi Chris,

it is not yet accessible but it would be possible to create a new 
function get_id(). The problem with this function is that mkgmap 
sometimes copies and changes osm elements which also means that they get 
a new id and so this function does not returns the expected result.

WanMil




More information about the mkgmap-dev mailing list