[Geoserver-users] jags in rasters when transforming projection

BTW,
what is this (see the attachment)??? I get it once and a while. It definitely isn’t in my map!

mika

Lehtonen, Mika kirjoitti:

crosses.jpg

Lehtonen, Mika ha scritto:

All right,

I see. The explanation in the mosaic plugin tutorial was misleading:

/The values for "Levels" can be gathered by inspecting the output from *gdalinfo* (HINT: read the *absolute values* from the "Pixel Size" line):
gdalinfo passA2006260173532.tif
where the line of interest reads:
Pixel Size = (10000.000000000000000,-10000.000000000000000)
Note that the values for the "Levels" parameter should be positive, since our goal is to describe the cell size in SRS units in the x and y directions./

So should I put there something which is derived from 2 by multiplying or dividing it or something which is derived from the real pixel size? I am now a little bit of confused...

I tried to put some more explaination in the mosaic tutorial page:
http://geoserver.org/display/GEOSDOC/Using+the+ImageMosaic+plugin

What you need to add is the pixel size of the overviews, which
depends on the scaling factor you used to embed the overviews.
Usually the best approach is to use powers of two, that's why
in my example the pixel size doubles at each step.

Cheers
Andrea