Mar. 14th, 2009

andygates: (Default)
Custom icon on Garmin (by andygates)I've worked out how to do custom icons on the Garmin.

This is, of course, for bike shops, which OpenStreetMap defaults to either nothing, or the boring shopping-basket icon. Custom icons are full of fail, because with 32x32 and a full alpha channel to play with, I can see myself wasting huge swathes of time getting my maps just so.

How-to:  It's a two-stage thing.  First, define a mkgmap style for the tags you want to use.  That means that the map objects get marked with the correct Garmin TypeID.  Shops are 2e, with the higher numbers unused, so 2e10 is bike shops (tag: shop=bicycle) to me.

Second, build a custom Typ-file (a Garmin binary that holds the colours and graphics) using the online editor.  The neat thing here is that if you define very little, the rest will appear as defaults, so it's quite hard to break it.  It's very easy to make something hideously gaudy, mind!  The typ-file styles all elements - land, ways and points - so at some point I'll start painting buildings and I'll colour the roads to match UK road signs, which is intuitively right to me.

Profile

andygates: (Default)
andygates

April 2017

S M T W T F S
      1
2345678
9 101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 5th, 2025 01:42 pm
Powered by Dreamwidth Studios