Keysize for raster legend
Jørn Vegard Røsnes
jorn at SPACETEC.NO
Wed Jan 4 08:13:02 PST 2006
On Wednesday 04 January 2006 16:49, Frank Warmerdam wrote:
> On 1/4/06, Jørn Vegard Røsnes <jorn at spacetec.no> wrote:
> > Attached is also the colorbar jpg that should be embedded as a legend.
> > I am using the KEYIMAGE tag in the map file to include the legend file.
>
> Jørn,
>
> I skimmed the mapserver 4.8 code, and it uses the gd
> function gdImageCopyResampled() to resize the keyimage.
> Could you let us know which version of MapServer and
> gd are being used?
>
It's FWTools-linux-0.9.9 with mapserv 4.7, not sure of the GDAL version.
> Also, I see your keyimage is 24bit RGB. If you output
> image is 8bit PNG, you *might* get better results using
> an 8bit PNG file for the keymap.
>
Thanks! It works with 8bit keymap.
> I would appreciate your filing a bug on this issue with all
> the details, and all the data needed to reproduce the problem.
> Feel free to assign it to me.
>
I assume I don't have to file a bug...
cheers
Joern
More information about the MapServer-users
mailing list