<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>Hi JAmes</DIV>
<DIV> </DIV>
<DIV>I believe sizex,sizey refers to the size a given pixel represents on the ground. eg. a 1:25,000 scale orthophoto may be represented with each pixel = 2.5m on the ground.</DIV>
<DIV> </DIV>
<DIV>Here is an example from my mapfile:</DIV>
<DIV> </DIV>
<DIV> LAYER<BR>  NAME nz50ktm<BR>  GROUP "Toposcans"<BR>  TYPE RASTER<BR>  STATUS ON<BR>  CONNECTION "<A href="http://ws-esrimt/arcgis/services/mapservice_topography_raster/MapServer/WMSServer">http://ws-esrimt/arcgis/services/mapservice_topography_raster/MapServer/WMSServer</A>?"<BR>  CONNECTIONTYPE WMS<BR>  MAXSCALE 60000<BR>  MINSCALE 10000<BR>  <BR>  METADATA<BR>   # OGC:WMS specific tags<BR>   "ows_title"    "NZ 1:50k scale NZTM"<BR>   "ows_abstract"    "This layer came from the LINZ Topo50 series maps in NZTM"<BR>   "WMS_FORMAT" "image/png"<BR>   "wms_server_version" "1.1.1"<BR>   "wms_opaque"    "1"<BR>   "wms_group_title" "Toposcans"<BR>   "wms_resx" "4.233"<BR>   "wms_resy" "4.233"<BR>   "ows_extent" "1083997.88 4722000.45 2092003.23 6234002.12"<BR>   "wms_srs"   "EPSG:2193"<BR>   "WMS_NAME" "3"<BR>   "wms_exceptions_format" "application/vnd.ogc.se_xml"<BR>  END<BR> END</DIV>
<DIV><BR>Regards,</DIV>
<DIV> </DIV>
<DIV>Robert S<BR><BR>>>> James Perrins <james.perrins@gmail.com> 16/03/2010 2:51 a.m. >>><BR>Thanks Tamas - but I'm still confused..<BR><BR>With a WMS call I can specify the BlockSize - which I believe controls<BR>the size of the tiles that I get back from the WMS service<BR><BR>If I have set blocksize to be 256 then if I am requesting a WMS image<BR>to fill a 512x512 space on the screen and I have the<BR>OVERSAMPLING_RATIO=1 - I would expect it to request 4 to 9 256x256<BR>tiles (depending on how aligned it was)<BR><BR>"SizeX,SizeY corresponds to the raster dimensions in pixels" -<BR>- is this the raster of the source image (the WMS is vector so this<BR>doesn't make much sense to me?)<BR>- or is it the size of the image produced - which is a series of<BR>256x256 tiles stitched together to whatever size I have requested<BR>through mapserver - so again it doesn't make much sense to me to<BR>define this in the xml file - as it will change as my window resizes.<BR><BR>If talking about a tileserver - e.g OpenStreetMap - what is the<BR>SizeX,Y then - the size of the source raster at its maximum resolution<BR>?<BR><BR>Sorry if these are silly questions - but I'm clearly missing some bit<BR>of basic understanding here<BR><BR>Many Thanks<BR>James<BR><BR>On Mon, Mar 15, 2010 at 12:15 PM, Tamas Szekeres <szekerest@gmail.com> wrote:<BR>><BR>><BR>> 2010/3/15 James Perrins <james.perrins@gmail.com><BR>>><BR>>> Do you know what the SizeX does for WMS as well ?<BR>>><BR>><BR>> SizeX,SizeY corresponds to the raster dimensions in pixels<BR>><BR>> Best regards,<BR>><BR>> Tamas<BR>><BR>><BR>_______________________________________________<BR>mapserver-users mailing list<BR>mapserver-users@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR><BR></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.<br>
------------------------------------------------------------------</td></tr></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc.  </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>