Hi all,

I have set up an ImageMosaic store with existing TIFF tiles. They are 
not GeoTIFFs, but regular TIFF files with worldfiles.
The index is stored in PostGIS (the information was already present 
there, I only had to create a view to match the index schema).

In some cases, the stitching of rasters is not perfect and a black line 
appears between tiles.

The rasters are in EPSG:32631, and I am also querying GeoServer's WMS in 
EPSG:32631, so no reprojection is done.
The rasters are all 1000 pixels in widht and height, the resolution is 
0.15875 (in EPSG 32631, so 0.15875 m/pix), so each raster is 158.75m in 
width and height.

Here is an example request, and the resulting raster :
WMS url : 
http://localhost/geoserver/dev/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=dev%3Ageorasters_test&CRS=EPSG%3A32631&STYLES&WIDTH=1920&HEIGHT=1349&BBOX=742405.64625%2C5087266.7415625%2C742710.44625%2C5087480.895312501
Raster : http://i.imgur.com/pE2H4QJ.png

Slightly changing the bbox fixes things up (1 meter to the east) :
WMS url : 
http://localhost/geoserver/dev/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=dev%3Ageorasters_test&CRS=EPSG%3A32631&STYLES&WIDTH=1920&HEIGHT=1349&BBOX=742406.64625%2C5087266.741562501%2C742711.44625%2C5087480.895312501
Raster : http://i.imgur.com/PjflMLd.png

In my GeoServer layer's configuration, I have tried with "Accurate 
resolution computation" to true and false, to no avail (both examples 
above are with this setting set to true).

Is there any other setting controlling the stitching mechanism ?
Where could be the problem here ? In the index, or in the data ? Both 
are supposed to be 100% accurate, and indeed the both work without 
problem with another stitching library (no idea what it is exactly, it's 
a custom dll developed by a third party in .NET).

Thanks a lot for your help !

--
Arnaud

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to