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

2009-05-29 Thread Robert Hicks
In a GetMap request what are the arguments 'height' and 'width' measured in?
Pixels?
Also what does changing RESOLUTION and SIZE in a mapfile actually do?

MAP
  ...

RESOLUTION 300

SIZE 1667 1667

  ...

END

Thanks!
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2009-05-29 Thread Alexandre Dube

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  



--
Alexandre Dubé
Mapgears
www.mapgears.com

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users