1

The script I developed stacks and mosaic satellite imagery, and the resultant imagery is in some cases "50GBs" in size. Therefore opening the image in a GIS environment to check the mosaic is sluggish and slow.

Is there anyway I can quickly create a JPEG/PNG overview/preview (it can be very coarse) of the big mosaic so that the users can quickly check the imagery using the preview file instead of opening/loading the 50GB image mosaic?

closed as off-topic by PolyGeo Feb 14 '17 at 19:17

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Create virtual mosaic with gdalbuildvrt gdal.org/gdalbuildvrt.html and then do "gdal_translate -of png -outsize 1000 1000 input.vrt quicklook.png". – user30184 Feb 14 '17 at 13:19
  • I will give that a try...thanks @user30184 – Jens Hiestermann Feb 14 '17 at 13:45
  • @user30184... the output is black? – Jens Hiestermann Feb 14 '17 at 13:52
  • What is the bit depth of your imagery? 8-bit, 32-bit? – user30184 Feb 14 '17 at 14:19
1

What worked (from comment by @user30184) can be found in the following article: https://spectraldifferences.wordpress.com/2013/08/17/quick-look-image-of-a-multi-image-mosaic/

That guide worked for me.

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