Opened 20 years ago

Last modified 17 years ago

#966 closed defect

GetLegendGraphic output not aligned — at Initial Version

Reported by: tomkralidis Owned by: valik.solorzano.barboza@…
Priority: high Milestone: 5.0 release
Component: WMS Server Version: unspecified
Severity: normal Keywords:
Cc: valik.solorzano.barboza@…, dmorissette, assefa

Description

Using CVS, output of GetLegendGraphic graphics and text is misaligned and truncated.

process:

environment:
Linux devgeo.cciw.ca 2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT 2004 i686 i686
i386 GNU/Linux

- get latest CVS
- make clean
- ./configure
- make

mapfile CLASS def snippet:

  CLASS
   NAME "Other Areas"
   COLOR 0 204 200
   OUTLINECOLOR 0 0 0
  END

- test:

http://devgeo.cciw.ca/cgi-bin/mapserv/ecows?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=man_OHMI&FORMAT=image%2Fgif

As you can see, graphics are positioned like:

rule1graphic
rule1text

...and should be positioned like:

rule1graphic rule1text

This is the case with point, polygon and line type data.

Valik (who did this fix for bug 653) did not have this problem.

Change History (0)

Note: See TracTickets for help on using tickets.