Some point icons from TYP file don't display

Hello all The txt file I use as base for my TYP files contains some 60 points defined. Most of them are correctly displayed when compiled with mkgmap, but a few of them are not (see them below). If I compile the same txt wiz TYPWiz they work fine, and also if I load the mkgmap generated TYP into the web compiler and recompile it. Any idea why they fail when compiled with mkgmap? Carlos [_point] Type=0x02000 ;size: 144 String1=0x8,Salida de autopista String2=0x4,Motorway exit String3=0x2,Anschlussstelle String4=0x1,Échangeur ExtendedLabels=N DayXpm="12 12 41 2" Colormode=32 "$$ c #003399" canalalpha=0 "$% c #02349A" canalalpha=0 "$& c #A9BADC" canalalpha=0 "$' c #728EC7" canalalpha=0 "$( c #8BA3D1" canalalpha=0 "$) c #1C49A4" canalalpha=0 "$* c #AFBFDF" canalalpha=0 "$+ c #B6C4E2" canalalpha=0 "$, c #B5C4E1" canalalpha=0 "$- c #1544A1" canalalpha=0 "$. c #365EAF" canalalpha=0 "$/ c #FFFFFF" canalalpha=0 "$0 c #90A6D3" canalalpha=0 "$1 c #F9FBFD" canalalpha=0 "$2 c #10409F" canalalpha=0 "$3 c #1D4AA5" canalalpha=0 "%$ c #BBC8E4" canalalpha=0 "%% c #C5D1E8" canalalpha=0 "%& c #889FCF" canalalpha=0 "%' c #7D97CB" canalalpha=0 "%( c #9DB1D8" canalalpha=0 "%) c #EAEEF7" canalalpha=0 "%* c #6180C0" canalalpha=0 "%+ c #ADBEDE" canalalpha=0 "%, c #5A7BBD" canalalpha=0 "%- c #D9E1F0" canalalpha=0 "%. c #6B88C4" canalalpha=0 "%/ c #839CCD" canalalpha=0 "%0 c #365EAE" canalalpha=0 "%1 c #06389C" canalalpha=0 "%2 c #2C56AB" canalalpha=0 "%3 c #5879BC" canalalpha=0 "&$ c #5577BB" canalalpha=0 "&% c #456AB5" canalalpha=0 "&& c #6A88C3" canalalpha=0 "&' c #CFD9EC" canalalpha=0 "&( c #325BAD" canalalpha=0 "&) c #A5B7DB" canalalpha=0 "&* c #1040A0" canalalpha=0 "&+ c #B2C2E0" canalalpha=0 "&, c #A6B8DB" canalalpha=0 "$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$%$&$'$($$$)$*$+$,$-" "$$$$$.$/$0$1$2$3%$$/%%$$" "$$$$%&$/%'$/%(%)%*%+%,$$" "$$$$%-$/%.$/$/%/$$%0%1$$" "$$%2$/$/%3$/$/&$$$$$$$$$" "$$%'$/$/&%$/$/&&$$$$$$$$" "$$&'$/$/&($/$/&)$$$$$$$$" "&*$,$+&+$)$+$+&,$$$$$$$$" "$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$$$$$$$$$$$$$$$$$$$" [end] [_point] Type=0x06409 ;&16C5 pointers:&17FA ;size: 32 ;bmp:&16CD ;night_bmp:&16F5 String1=0x4,Power tower String2=0x8,Torreta String1=0x2,Strommast String2=0x1,Pylône ExtendedLabels=N DayXpm="7 16 2 1" Colormode=16 "$ c #000000" "% c none" "%%%$%%%" "%%$%$%%" "$$$$$$$" "%$%$%$%" "%%%$%%%" "%%%$%%%" "%%$%$%%" "%%$%$%%" "%%$%$%%" "%$%$%$%" "%$%%%$%" "%$$%$$%" "%$%$%$%" "$%$%$%$" "$$%%%$$" "$%%%%%$" NightXpm="7 16 2 1" "% c #424242" "$ c none" "$$$%$$$" "$$%$%$$" "%%%%%%%" "$%$%$%$" "$$$%$$$" "$$$%$$$" "$$%$%$$" "$$%$%$$" "$$%$%$$" "$%$%$%$" "$%$$$%$" "$%%$%%$" "$%$%$%$" "%$%$%$%" "%%$$$%%" "%$$$$$%" [end] [_point] Type=0x06411 ;&172E pointers:&17FF ;size: 45 ;bmp:&173C String1=0x8,Repetidor String2=0x4,Antenna String1=0x2,Turm String2=0x1,Répétiteur ExtendedLabels=N DayXpm="5 15 4 1" Colormode=16 "$ c #4B4B4B" "% c #C0C0C0" "& c #FF0000" "' c none" "$'&'$" "'$$$'" "$'&'$" "''$''" "''&''" "'&'&'" "'$'$'" "'&'&'" "'$'$'" "'&'&'" "&'''&" "$'''$" "&'''&" "$'''$" "&'''&" [end]

It might be canalalpha=0 rather than alpha=0 ? -- View this message in context: http://gis.19327.n5.nabble.com/Some-point-icons-from-TYP-file-don-t-display-... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi
The txt file I use as base for my TYP files contains some 60 points defined. Most of them are correctly displayed when compiled with mkgmap, but a few of them are not (see them below). If I compile the same txt wiz TYPWiz they work fine, and also if I load the mkgmap generated TYP into the web compiler and recompile it. Any idea why they fail when compiled with mkgmap?
I tried a file just containing the points you posted and it worked fine. I also uploaded the result to ati.land.cz (assuming that is the web compiler you mean) and compared to the downloaded version. They were identical apart from the timestamps. So I suspect that it is not these definitions that are causing the problem, but something else, perhaps the point just before the one that doesn't work. Could you send me the whole file? ..Steve

On 05/01/13 09:51, Carlos Dávila wrote:
The txt file I use as base for my TYP files contains some 60 points defined. Most of them are correctly displayed when compiled with mkgmap, but a few of them are not (see them below).
Thanks for supplying your complete file. I found that the index portions of the file are not being sorted by type. Strange that has never been discovered before... I even have a comment reminding me that something will need to be sorted. Attached patch fixes. Pre-compiled version at http://files.mkgmap.org.uk/detail/81 ..Steve

El 05/01/13 15:02, Steve Ratcliffe escribió:
On 05/01/13 09:51, Carlos Dávila wrote:
The txt file I use as base for my TYP files contains some 60 points defined. Most of them are correctly displayed when compiled with mkgmap, but a few of them are not (see them below).
Thanks for supplying your complete file.
I found that the index portions of the file are not being sorted by type. Strange that has never been discovered before... I even have a comment reminding me that something will need to be sorted.
Attached patch fixes. Pre-compiled version at http://files.mkgmap.org.uk/detail/81 Thanks for the patch. Now they are shown perfectly.
participants (3)
-
Carlos Dávila
-
n Willink
-
Steve Ratcliffe