[mapserver-users] line width unit ignored after mapserver upgrade

Oliver Christen oliver.christen at camptocamp.com
Mon Mar 1 04:58:30 EST 2010


Hi Bart

that was it!

my map has RESOLUTION 254
so adding a DEFRESOLUTION 254 solved the problem

thank you very much

best regards
Oliver

----- Original Message ----- 

Hi,

is your MAP->RESOLUTION different from 72? If so, set DEFRESOLUTION to your 
value as well.

Best regards,
Bart

On Mar 1, 2010, at 9:32 AM, Oliver Christen wrote:

> 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
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>




More information about the mapserver-users mailing list