if you're aiming for webmapping and screen display, you should probably not be setting those to a value other than the default value.
resolution is used for high-res print output, eg passing from http://server/mapserv/?[....]width=300&height=300 to http://server/mapserv/?[....]map_resolution=288&width=1200&height=1200 to get a higher resolution image, but without affecting the actual styles being used. -- thomas On Mon, Mar 1, 2010 at 10:58, Oliver Christen <[email protected]> wrote: > 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 >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
