[mapserver-users] Really general question about Mapfiles and GetMap requests

Alexandre Dube adube at mapgears.com
Fri May 29 11:42:36 EDT 2009


Hi,

Robert Hicks wrote:
> In a GetMap request what are the arguments 'height' and 'width' 
> measured in? Pixels?
>

Yes, it's in pixels.

> Also what does changing RESOLUTION and SIZE in a mapfile actually do?
>

http://mapserver.org/mapfile/map.html

See RESOLUTION and SIZE

If you use the mapserver cgi to draw your map (mode=map ), then the map 
draw will have the SIZE defined in your mapfile.

See : http://mapserver.org/cgi/controls.html to know more about 
mapserver cgi.

> MAP
>   ...
>
>     RESOLUTION 300
>
>     SIZE 1667 1667
>
>   ...
>
> END
>
>
> Thanks!

Regards,

Alexandre

> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the mapserver-users mailing list