<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>&nbsp;</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>&nbsp;</DIV>
<DIV>Here is an example from my mapfile:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;LAYER<BR>&nbsp; NAME nz50ktm<BR>&nbsp; GROUP "Toposcans"<BR>&nbsp; TYPE RASTER<BR>&nbsp; STATUS ON<BR>&nbsp; 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>&nbsp; CONNECTIONTYPE WMS<BR>&nbsp; MAXSCALE 60000<BR>&nbsp; MINSCALE 10000<BR>&nbsp; <BR>&nbsp; METADATA<BR>&nbsp;&nbsp; # OGC:WMS specific tags<BR>&nbsp;&nbsp; "ows_title"&nbsp;&nbsp;&nbsp; "NZ 1:50k scale NZTM"<BR>&nbsp;&nbsp; "ows_abstract"&nbsp;&nbsp;&nbsp; "This layer came from the LINZ Topo50 series maps in NZTM"<BR>&nbsp;&nbsp; "WMS_FORMAT" "image/png"<BR>&nbsp;&nbsp; "wms_server_version" "1.1.1"<BR>&nbsp;&nbsp; "wms_opaque"&nbsp;&nbsp;&nbsp; "1"<BR>&nbsp;&nbsp; "wms_group_title" "Toposcans"<BR>&nbsp;&nbsp; "wms_resx" "4.233"<BR>&nbsp;&nbsp; "wms_resy" "4.233"<BR>&nbsp;&nbsp; "ows_extent" "1083997.88 4722000.45 2092003.23 6234002.12"<BR>&nbsp;&nbsp; "wms_srs"&nbsp;&nbsp; "EPSG:2193"<BR>&nbsp;&nbsp; "WMS_NAME" "3"<BR>&nbsp;&nbsp; "wms_exceptions_format" "application/vnd.ogc.se_xml"<BR>&nbsp; END<BR>&nbsp;END</DIV>
<DIV><BR>Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert S<BR><BR>&gt;&gt;&gt; James Perrins &lt;james.perrins@gmail.com&gt; 16/03/2010 2:51 a.m. &gt;&gt;&gt;<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 &lt;szekerest@gmail.com&gt; wrote:<BR>&gt;<BR>&gt;<BR>&gt; 2010/3/15 James Perrins &lt;james.perrins@gmail.com&gt;<BR>&gt;&gt;<BR>&gt;&gt; Do you know what the SizeX does for WMS as well ?<BR>&gt;&gt;<BR>&gt;<BR>&gt; SizeX,SizeY corresponds to the raster dimensions in pixels<BR>&gt;<BR>&gt; Best regards,<BR>&gt;<BR>&gt; Tamas<BR>&gt;<BR>&gt;<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&nbsp;contents&nbsp;of&nbsp;this&nbsp;email&nbsp;are&nbsp;confidential&nbsp;to&nbsp;AsureQuality.&nbsp;If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;and&nbsp;delete&nbsp;the&nbsp;message&nbsp;and&nbsp;any&nbsp;attachments.&nbsp;The&nbsp;opinions&nbsp;expressed&nbsp;in&nbsp;this&nbsp;email&nbsp;are&nbsp;not&nbsp;necessarily&nbsp;those&nbsp;of&nbsp;AsureQuality.&nbsp;This&nbsp;message&nbsp;has&nbsp;been&nbsp;scanned&nbsp;for&nbsp;known&nbsp;viruses&nbsp;before&nbsp;delivery.&nbsp;AsureQuality&nbsp;supports&nbsp;the&nbsp;Unsolicited&nbsp;Electronic&nbsp;Messages&nbsp;Act&nbsp;2007.&nbsp;If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;similar&nbsp;communications&nbsp;in&nbsp;future,&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;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>