<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1257">
<META content="MSHTML 6.00.6000.16386" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm sorry, I forgot to mention, that I'm creating 
GDAL driver, which I'm trying to use with MapServer.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here&nbsp;is the gdalinfo for my map:</FONT></DIV>
<DIV><FONT face=Arial size=2>Driver: AkisAx/Akis Map Link (.mln)<BR>Size is 
60879, 47344<BR>Coordinate System is:<BR>GEOGCS["WGS 84",<BR>&nbsp;&nbsp;&nbsp; 
DATUM["WGS_1984",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPHEROID["WGS 
84",6378137,298.257223563,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
AUTHORITY["EPSG","7030"]],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
TOWGS84[0,0,0,0,0,0,0],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
AUTHORITY["EPSG","6326"]],<BR>&nbsp;&nbsp;&nbsp; 
PRIMEM["Greenwich",0,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
AUTHORITY["EPSG","8901"]],<BR>&nbsp;&nbsp;&nbsp; 
UNIT["degree",0.0174532925199433,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
AUTHORITY["EPSG","9108"]],<BR>&nbsp;&nbsp;&nbsp; 
AXIS["Lat",NORTH],<BR>&nbsp;&nbsp;&nbsp; 
AXIS["Long",EAST],<BR>&nbsp;&nbsp;&nbsp; AUTHORITY["EPSG","4326"]]<BR>Origin = 
(20.660000000000000,56.659999999999997)<BR>Pixel Size = 
(0.000104141001002,-0.000059352821899)<BR>Corner Coordinates:<BR>Upper 
Left&nbsp; (&nbsp; 20.6600000,&nbsp; 56.6600000)<BR>Lower Left&nbsp; (&nbsp; 
20.6600000,&nbsp; 53.8500000)<BR>Upper Right (&nbsp; 27.0000000,&nbsp; 
56.6600000)<BR>Lower Right (&nbsp; 27.0000000,&nbsp; 
53.8500000)<BR>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp; 23.8300000,&nbsp; 
55.2550000)<BR>Band 1 Block=256x256 Type=Byte, ColorInterp=Red<BR>&nbsp; 
Overviews: arbitrary<BR>Band 2 Block=256x256 Type=Byte, 
ColorInterp=Green<BR>&nbsp; Overviews: arbitrary<BR>Band 3 Block=256x256 
Type=Byte, ColorInterp=Blue<BR>&nbsp; Overviews: arbitrary</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And layer section from MapServer's&nbsp;.map 
file:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp; NAME 
Lietuva<BR>&nbsp;&nbsp;&nbsp; TYPE RASTER<BR>&nbsp;&nbsp;&nbsp; DATA 
'D:\Programs\AkisAX-trial\Lietuva.mln'<BR>&nbsp;&nbsp;&nbsp; MAXSCALE 
3000000<BR>&nbsp;&nbsp;&nbsp; MINSCALE 50000<BR>&nbsp;&nbsp;&nbsp; 
METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'wms_title' 
'Lietuva'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
'wms_srs'&nbsp;'epsg:4326'<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; 
STATUS ON<BR>&nbsp;&nbsp;&nbsp; TRANSPARENCY 100<BR>&nbsp;&nbsp;&nbsp; 
PROJECTION<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
'proj=longlat'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
'ellps=WGS84'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
'datum=WGS84'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'no_defs'<BR>&nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp; DUMP TRUE<BR>&nbsp; END<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hope someone can help me.</FONT></DIV>
<DIV><FONT face=Arial size=2>Juozas.</DIV></FONT>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=juozas.urbonas@teltonika.lt 
  href="mailto:juozas.urbonas@teltonika.lt">Juozas Urbonas</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=mapserver-users@lists.osgeo.org 
  href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 26, 2008 11:12 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Image shrinking problem</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>When I'm requesting some image using WMS,&nbsp;my 
  overridden&nbsp;IRasterIO gets called with nBufXSize and nBufYSize nearly 
  double the size I'm requesting in WMS call and in the process image returned 
  by WMS gets shrinked. What may cause this problem?</FONT></DIV>
  <DIV><FONT face=Arial size=2>I'm expecting nBufXSize and nBufYSize to be 
  approximately the same size as in WMS request.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Thanks for any help.</FONT></DIV>
  <DIV><FONT face=Arial size=2>Juozas.</FONT></DIV></BLOCKQUOTE></BODY></HTML>