Hi list,<div><br></div><div>i am facing the following issue:</div><div>I want to load a folder of cached (already generated) 256x256 tiles to a raster table.</div><div>Each has an ESRI world file, that places them in the correct position, making sure that they don't overlap.</div>
<div><br></div><div>When I try for example to import 2 vertically-neighboring tiles, raster2pgsql complains about "Different geotransform Matrices", which is probably caused by the different UpperLeftY.</div><div>
However this looks like it's breaking the alignment constraint, consequently returning Null on an ST_Union (with a "<i>The two rasters provided do not have the same alignment. Returning NULL</i>" notice).</div>
<div><br></div><div>Am I doing something wrong? What is the correct way to load a raster table with existing tiles without breaking alignment constraint?</div><div><br></div><div>If you want to reproduce my issue:</div><div>
ESRI Word file A:</div><div><div>0.0746455373</div><div>0.0000</div><div>0.0000</div><div>-0.0746455373</div><div>-13630844.2215257270</div><div>4551883.2959864652</div></div><div><br></div><div>ESRI Word file B:
</div><div><div>0.0746455373</div><div>0.0000</div><div>0.0000</div><div>-0.0746455373</div><div>-13630844.2215257270</div><div>4551864.1867293576</div></div><div><br></div><div>My setup:</div><div>"POSTGIS="2.0.0beta3 r9497" GEOS="3.3.3dev-CAPI-1.7.3" PROJ="Rel. 4.6.1, 21 August 2008" GDAL="GDAL 1.9.0, released 2011/12/29" LIBXML="2.7.8" LIBJSON="UNKNOWN" TOPOLOGY RASTER"</div>
<div><br></div><div>Thanks,</div><div>Yanis</div>