[mapserver-users] line width unit ignored after mapserver upgrade
Oliver Christen
oliver.christen at camptocamp.com
Mon Mar 1 00:32:15 PST 2010
hello
I recently upgraded mapserver from 5.4 to 5.6.1 and all my line style are
computed in meter (I believe) instead of pixel.
here is the result im getting:
http://dev.camptocamp.com/~ochriste/wms_line.png
here is my layer definition:
LAYER
NAME "SitPrProjetConsLine"
GROUP "GrpConstruction"
METADATA
"wms_title" "SitPrProjetConsLine"
END
TYPE LINE
DATA SIT_PR_Projet_cons_line
STATUS ON
DEBUG 5
MAXSCALE 10001
SIZEUNITS pixels
CLASS
STYLE
COLOR 0 0 255
WIDTH 1
MAXWIDTH 1
MINWIDTH 1
END
END
END
here is the query I do:
?LAYERS=SitPrProjetConsLine&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A21781&BBOX=506263.99910144,143335.99917056,506391.99903232,143463.99910144&WIDTH=256&HEIGHT=256
I want a line width of 1px
What am I doing wrong ?
thanks in advance
Oliver
More information about the MapServer-users
mailing list