[MapServer-users] Legend with PNG-Image larger 200px -> Migrate from MS 7.6 -> 8.0

Ulbrich, Georg Georg.Ulbrich at geobasis-bb.de
Wed Sep 4 03:56:56 PDT 2024


I'm currently migrating from MS 7.6 to 8.0 and can't get any further with the legend. I want to output a PNG (216x216px) as a legend. So far it works with MS 7.6 like this:
 
LEGEND
   KEYSIZE 216 216
   KEYSPACING 7 7
   STATUS ON
END
 
CLASS
  KEYIMAGE "./inspire_lbgr/symbol/legende-sorption_matrix.png"
  NAME " "
END
 
--> https://inspire.brandenburg.de/services/bobasensorp_wms?&service=WMS&version=1.3.0&request=GetLegendGraphic&sld_version=1.1.0&layer=sorp&format=image/png&STYLE=default&
 
Now in mapserver 8 the "KEYSIZE" option is limited to 200px. All attempts (including an HTML template) have failed so far. Does anyone have an idea for a solution?




More information about the MapServer-users mailing list