10.10.2008, 03:16
fly_zo Wrote:Anyone knows "easy" method to get roads as layer ?Performing a logical AND operation on the map_t pixels with the value 32 (0x00100000) will give you a country road layer, using value 64 (0x01000000) a railroad layer and finally using 128 (0x10000000) a highway layer.
Been trying to open .img files (Garmin) but without success ( PS, Tga converter, Img viewer ) ... anyone knows some app. which may do the trick ?
any advice will be most appreciated ....
thanks in advance
Z
F.ex. Load the map_t file as a layer in your favorite graphics editor (PS, Gimp, ...), make a new layer filled with value 32 (Grayscale) and merge the new layer as "AND". Voil