#2983 closed defect (fixed)
Getlegendgraphic with sizeunit set does not work
| Reported by: | assefa | Owned by: | assefa |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.4.1 release |
| Component: | WMS Server | Version: | unspecified |
| Severity: | normal | Keywords: | wms legend sizeunit |
| Cc: | sholl |
Description
Reported on the list by Jacolin Yves <yjacolin@…>
I ma using an OGC WMS webservice to get my legend with a GetLegendGraphic request. For one layer I am using SIZEUNITS parameter set to "meters". In this case, my legend icon does not appears
Change History (4)
comment:1 by , 15 years ago
| Owner: | changed from to |
|---|
comment:2 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
committed in 5.4.x branch (r8959)
comment:3 by , 14 years ago
Hello,
I still get this problem working with Mapserver Version 5.7 which I have taken from FWTools 2.4.7 for Windows.
I assume the problem might be that the calculated width of the line might be 0.
Here is a snippet of the mapfile which shows the layer which causes the problems:
LAYER
NAME "mylayer"
STATUS ON
TYPE LINE
TEMPLATE "mytemplate.html"
HEADER "myheader.html"
FOOTER "myfooter.html"
MINSCALEDENOM 0
MAXSCALEDENOM 165000
TOLERANCE 20
TOLERANCEUNITS METERS
SIZEUNITS METERS
METADATA
WMS_TITLE "mytitle"
WMS_SRS "epsg:31467"
WMS_FEATURE_INFO_MIME_TYPE "text/html"
WMS_EXTENT "3457312.92 5753546.26 3467917 5764666.5"
END
PROJECTION
"init=epsg:31467"
END
DATA "myshape.shp"
CLASSITEM "objectid"
CLASS
NAME "myclass"
EXPRESSION /./
STYLE
SYMBOL 'circle'
COLOR 144 50 207
SIZE 7
END
END
END
Has anyone an idea how to solve this problem?
Regards Tim
comment:4 by , 14 years ago
| Cc: | added |
|---|

committed in main trunk r8930
Will commit the fix in the 5.4 after the release tomorrow.