hotosm / oam-dynamic-tiler

Dynamic tiling of raster data for OpenAerialMap + others
Other
35 stars 12 forks source link

Support for single-band greyscale images #24

Open mojodna opened 7 years ago

mojodna commented 7 years ago

Sample: https://beta.openaerialmap.org/#/-76.86035156249999,18.061523437500004,10/0322102123231/57f7d28db0eae7f3b143a89b?_k=9swd3g

http://hotosm-oam.s3.amazonaws.com/uploads/2016-10-07/57f7d13f84ae75bb00ec74d8/scene/0/scene-0-image-0-2012303.tif

It should look approximately like:

image

This (and others in the same upload) contain raw uint16 data, so some color correction will be necessary (and/or write statistics out during the transcoding process to facilitate dynamic contrast stretching, which won't work across scenes).

mojodna commented 7 years ago

When transcoding files like this, DEFLATE should be used since they're data, not images.