<!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> </DIV>
<DIV><FONT face=Arial size=2>Here 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>
DATUM["WGS_1984",<BR> SPHEROID["WGS
84",6378137,298.257223563,<BR>
AUTHORITY["EPSG","7030"]],<BR>
TOWGS84[0,0,0,0,0,0,0],<BR>
AUTHORITY["EPSG","6326"]],<BR>
PRIMEM["Greenwich",0,<BR>
AUTHORITY["EPSG","8901"]],<BR>
UNIT["degree",0.0174532925199433,<BR>
AUTHORITY["EPSG","9108"]],<BR>
AXIS["Lat",NORTH],<BR>
AXIS["Long",EAST],<BR> AUTHORITY["EPSG","4326"]]<BR>Origin =
(20.660000000000000,56.659999999999997)<BR>Pixel Size =
(0.000104141001002,-0.000059352821899)<BR>Corner Coordinates:<BR>Upper
Left ( 20.6600000, 56.6600000)<BR>Lower Left (
20.6600000, 53.8500000)<BR>Upper Right ( 27.0000000,
56.6600000)<BR>Lower Right ( 27.0000000,
53.8500000)<BR>Center ( 23.8300000,
55.2550000)<BR>Band 1 Block=256x256 Type=Byte, ColorInterp=Red<BR>
Overviews: arbitrary<BR>Band 2 Block=256x256 Type=Byte,
ColorInterp=Green<BR> Overviews: arbitrary<BR>Band 3 Block=256x256
Type=Byte, ColorInterp=Blue<BR> Overviews: arbitrary</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And layer section from MapServer's .map
file:</FONT></DIV>
<DIV><FONT face=Arial size=2> LAYER<BR> NAME
Lietuva<BR> TYPE RASTER<BR> DATA
'D:\Programs\AkisAX-trial\Lietuva.mln'<BR> MAXSCALE
3000000<BR> MINSCALE 50000<BR>
METADATA<BR> 'wms_title'
'Lietuva'<BR>
'wms_srs' 'epsg:4326'<BR> END<BR>
STATUS ON<BR> TRANSPARENCY 100<BR>
PROJECTION<BR>
'proj=longlat'<BR>
'ellps=WGS84'<BR>
'datum=WGS84'<BR> 'no_defs'<BR>
END<BR> DUMP TRUE<BR> 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> </DIV>
<DIV><FONT face=Arial size=2>When I'm requesting some image using WMS, my
overridden 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> </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>