[mapserver-users] Really general question about Mapfiles and GetMaprequests
Fawcett, David
David.Fawcett at state.mn.us
Fri May 29 08:48:13 PDT 2009
Robert,
For GetMap, height and width are measured in pixels.
I would like to just point you to
http://www.opengeospatial.org/standards/wms , but nothing is
particularly easy to glean from the OGC... Plus, I will have to put in
a request to my Attorney General staff before I can click through the
giant legal agreement required to view the WMS spec. Seriously, what
the #$%&!
For the map file info, look here: http://mapserver.org/mapfile/map.html
>From that page:
SIZE [x][y]
Size in pixels of the output image (i.e. the map).
RESOLUTION [int]
Sets the pixels per inch for output, only affects scale computations and
nothing else, default is 72.
I don't believe that SIZE comes into play when you are requesting a
layer as WMS because you are required to specify height and width in
your getMap request.
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Robert
Hicks
Sent: Friday, May 29, 2009 10:36 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Really general question about
Mapfiles and GetMaprequests
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090529/b05d8ca8/attachment.htm>
More information about the MapServer-users
mailing list