I have a project with a bunch of large, high-resolution Tiff images that I will tilling with gdal2tiles and use on Openlayers.

Those Tiff images have been taken on a drone. Example:

enter image description here

While I tilling this by gdal2tiles and use Openlayers to show up, the resolution is low and the quality is very bad with the same zoom level, different from my expectations.

enter image description here

The image layers look like blur, something makes visible mask and the detail is gone. I use gdal on OS Shell and the code is:

gdal2tiles -p raster --tilesize=256 abc.tif output

How can I improve the quality and detail of this case?

  • Any one can help :( – Pika Long Jan 19 at 7:39
  • Did you try defining zoom range? Tiling benefits from serving different resolution according to the zoom ratio. When you define zoom option for gdal2tiles, the second number is for max zoom, you should keep it big like 20. – Deniz Jan 21 at 7:29

Your Answer

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

Browse other questions tagged or ask your own question.