[mapserver-users] resolution

Alan Boudreault aboudreault at mapgears.com
Mon Jan 25 13:36:02 EST 2010


What do you mean by "I still in 72 dpi". How do you check your image DPI ?

Alan

On January 25, 2010 01:24:18 pm Valeria Muñoz wrote:
> ok, i update mapserver version to 5.6, i change my mapfile, but I still in
> 72 dpi...
> 
> mapfile
> 
> MAP
>   NAME neonline_mapa
>   RESOLUTION 300
>   DEFRESOLUTION 72
>   SIZE 1667 1667
> 
>   UNITS dd
>   SHAPEPATH "c:/ms4w/Apache/htdocs/test_mapfile/data2/"
>   EXTENT -112.888238 -57.06133625 -7.419488000000001 13.25116375
>   FONTSET "c:/ms4w/Apache/htdocs/test_map_dis/fonts/fonts.txt"
>   PROJECTION
>     'proj=longlat'
>     'ellps=WGS84'
>     'datum=WGS84'
>     'no_defs'
>     ''
>   END
>   # Background color for the map canvas -- change as desired
>   IMAGECOLOR 122 206 232
>   IMAGETYPE pdf
> 
>   OUTPUTFORMAT
>     NAME png
>     DRIVER "AGG/PNG"
>     MIMETYPE 'image/png'
>       IMAGEMODE RGB
>       EXTENSION "png"
>        FORMATOPTION "TRANSPARENT=ON"
>        FORMATOPTION "INTERLACE=ON"
>        FORMATOPTION "QUANTIZE_COLORS=256"
>   END
> 
>   # Legend
>   LEGEND
>     IMAGECOLOR 255 255 255
>     STATUS ON
>     KEYSIZE 18 12
>     LABEL
>       TYPE BITMAP
>       SIZE MEDIUM
>       COLOR 0 0 89
>     END
>   END
> ......
> 
> 2010/1/25 Jeff McKenna <jmckenna at gatewaygeomatics.com>
> 
> > Alan Boudreault wrote:
> >> Sorry, I was sure you was trying to use the new feature included in
> >> MapServer 5.6. In MS <5.6, you can't really do more that setting the
> >> resolution to 300.
> >
> > If you are using MS4W 3.0, you can extract the "MapServer version 5.6.0
> > release Upgrade" package on the MS4W downloads page [1], to install
> > MapServer 5.6.0
> >
> > If you have questions about performing this upgrade, please use the MS4W
> > email list[2].
> >
> > [1] http://www.maptools.org/ms4w/index.phtml?page=downloads.html
> > [2] http://lists.maptools.org/mailman/listinfo/ms4w-users
> >
> > -jeff
> >
> >
> > --
> > Jeff McKenna
> > FOSS4G Consulting and Training Services
> > http://www.gatewaygeomatics.com/
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com


More information about the mapserver-users mailing list