[Mapbender-users] legend in mapbender - web display vs. print (PDF)- both from the same MapServer WMS

karsten karsten at terragis.net
Tue Jul 28 16:51:11 PDT 2020


thinking more about it I was guessing that it should work better when I try
using a higher dpi output setting in the print clientsuch as 288 dpi but teh
result for the legend on the PDF ist still pixely 
the print client config is this:
 
legend: true
title:
  label: title
  type: text
  options:
    required: false
comment1:
  label: Comment
  options:
    required: false

and screen shot here
http://www.terragis.net/docs/other/print_client_config.png
 
Any hint what could be the reason for that ?
 
Cheers
Karsten

  _____  

From: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] On
Behalf Of karsten
Sent: Tuesday, July 28, 2020 15:48
To: 'Mapbender User List'
Subject: [Mapbender-users] legend in mapbender - web display vs. print
(PDF)- both from the same MapServer WMS


Hi All,
 
in my MapBender v 3.0.8.5 application I found a problem with the legend
quality output for the PDF print version . The legend in both cases is form
the same MapServer WMS. The two outputs compared look like this
<http://www.terragis.net/docs/other/web_legend_vs_print_legend.png>
http://www.terragis.net/docs/other/web_legend_vs_print_legend.png - on the
left side shows how it is displayed on the interactive web interface and on
the right hand side how it is pixely in the PDF rendered version. How can
this be fixed ?
In case it helps i added a snippet from the map file below ...
 
Cheers
Karsten
 
 
IMAGETYPE AGG_Q
OUTPUTFORMAT
 NAME 'AGG'
 DRIVER AGG/PNG
 IMAGEMODE RGB
 FORMATOPTION "INTERLACE=ON"
END
 
OUTPUTFORMAT
 NAME 'AGG_Q'
 DRIVER AGG/PNG
 IMAGEMODE RGB
 FORMATOPTION "QUANTIZE_FORCE=ON"
 FORMATOPTION "QUANTIZE_DITHER=OFF"
 FORMATOPTION "QUANTIZE_COLORS=256"
 FORMATOPTION "INTERLACE=ON"
END
  
LEGEND 
 keysize 16 12
 keyspacing 5 2 
 TRANSPARENT ON
   LABEL
     PARTIALS FALSE
      TYPE TRUETYPE
      FONT 'verdana'
      SIZE 8
      COLOR 1 1 1
   END 
END
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20200728/2664bf7e/attachment.html>


More information about the Mapbender_users mailing list