Need help with TIF TILE SIZE

Frank Warmerdam fwarmerdam at GMAIL.COM
Thu Jul 7 06:53:44 PDT 2005


On 7/6/05, Yar Doroshenko <numerous at gmail.com> wrote:
> Hi Guys,
> 
> Would anyone be able to answer this one, I'm posting it second time:
...
> My tif images display just fine, the top left corner seems to be positioned
> correctly. The problem is that at a certain zoom level, there are spaces
> between my tiles and I would like them to overlap. I know that my tifs are
> fine, when I open them in a viewer I can zoom in deep. Is there any way to
> make tifs larger, or make them overlap at a certain zoom level?

Yar, 

The most obvious reason why gaps might appear at some resolutions is that
you might not have the rasters properly abutting.  If they are a fraction of
a pixel apart, the gap will appear at some resolutions. 

If this is the issue, then the solution would be to fix up the georeferencing
to ensure exact abuttment, or even slight overlap whether it represents the
real data or not. 

However, it is hard for me to know if this is the issue, or if it is some sort
of rounding problem in mapserver, without a concrete example case. 

I would suggest you create a tileindex with just two images (in an ideal 
world two smallish images) and find an exact mapserv request that
demonstrates the gap problem.  The submit a bug pointing to a downloadable
package with the mapfile, tileindex and data files so I can reproduce 
your problem quickly.  Then I could determine if the error is the data,
mapserver or whatever. 

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