wcs issues on getting data

Frank Warmerdam warmerdam at POBOX.COM
Thu Nov 11 10:23:24 EST 2004


Nuno GIL wrote:
> Another thing is that when I run the gdalinfo tool on
> both, the source image displays
> (...)
> Band 1 Block=1201x1 Type=Int16, ColorInterp=Gray
>
> while the obtained one displays:
> (...)
> Band 1 Block=1200x3 Type=Int16, ColorInterp=Gray
>
> The 1201 vs 1200 is easy to explain. The size of the
> specified bbox in the request is the responsable for
> that. But what abou the x1 and the x3? Can you tell me
> what do they mean?

Nuno,

The 1200x3 means that each TIFF block (aka strip) is 3 scanlines long
whereas the original file apparently had 1 scanline long strips.  Either
is perfectly valid.  My understanding is that the blocking logic ties to
keep each block less than 8K in size, and 1200wide * 3scanlines * 2bytes/pixel
would be 7200 bytes.

I'm very pleased you have things working now.  I was afraid I was going to have
to dig into reproducing your problems.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list