2

I have several raster tiles that are adjacent and non-overlapping, so they form a mosaic. I am trying to merge two adjacent rasters using PostGIS but am getting an error that they do not have the same alignment (pixel corner coordinates are not aligned). Can anyone tell me the correct way to combine the tiles into a single raster?

1

You have to ST_Resample() them before ST_Union() them. You can resample to one of them or to your own parameters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.