<div dir="ltr">I have a raster of 7023x9933 pixels with georeference parameters from a world file (set using ST_SetGeoReference).<div><br></div><div>In order to return the transformed image to be displayed in a map, I use ST_AsPNG(ST_Transform(rast, 31466)).</div><div><br></div><div>This works well and quick for small images (e.g. 500x500), but performance is horrendous for this large image. This step takes 13 minutes for the full image!</div><div><br></div><div>When doing the same process using gdalwarp directly (python bindings), the process takes about 30 seconds:</div><div>gdalwarp -overwrite -of GTiff C:/wip/tiling/test.png C:/wip/tiling/test8.tif<br></div><div><br></div><div><br></div><div>Any ideas why my ST_Transform is so slow?</div></div>