[mapserver-users] MapServer 6.2: SIZEUNITS meters - Legend OUTLINE is too big
Astrid Emde
astrid.emde at wheregroup.com
Tue Dec 11 08:23:28 PST 2012
Hello,
I am testing with 6.2 and want to define a WMS with SIZEUNITS meters. My
map looks good but I get a very big outline around my polygons-Symbol in
the legend.
This is my Layerdefinition:
LAYER
NAME 'befestigte_flaechen'
TYPE POLYGON
....
METADATA
WMS_TITLE 'befestigte Flaechen'
..
END
SIZEUNITS meters
CLASS
NAME "1 Fche"
EXPRESSION "1"
STYLE
WIDTH 0.1
OUTLINECOLOR 58 255 84
COLOR 250 0 0
END
END
...
END
The Map looks good with this simple definition in the STYLE-Block.
But the getLegendGraphic-Request looks bad. The OUTLINE of the polygon in
the legend is much too big.
When I add MINWIDTH and MAXWIDTH to the STYLE the legend looks fine.
STYLE
WIDTH 0.1
MINWIDTH 0.1
MAXWIDTH 0.2
OUTLINECOLOR 58 255 84
COLOR 250 0 0
END
But I thought that I do not need MINWIDTH and MAXWIDTH when SIZEUNITS
meters is set (and no SYMBOLSCALEDENOM is set).
see also
https://github.com/mapserver/mapserver/issues/4401#issuecomment-7128252
Thanks for your help
--
Best regards
Astrid
********************************************
Where2B Konferenz 2012
13. Dezember 2012 in Bonn
www.where2b-conference.com
********************************************
----------------------------------
Astrid Emde
WhereGroup GmbH & Co.KG
Eifelstraße 7
53119 Bonn
Germany
Fon: +49(0)228 90 90 38 - 19
Fax: +49(0)228 90 90 38 - 11
astrid.emde at wheregroup.com
www.wheregroup.com
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
pgp-public key:
http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
Signed and/or encrypted mail is highly appreciated
More information about the MapServer-users
mailing list