OSGeo / PROJ-data

Repository for proj datum grids (for use by PROJ 7 or later)
Other
72 stars 33 forks source link

set NoData value to NaN in files at no_kv #56

Closed jjimenezshaw closed 3 years ago

jjimenezshaw commented 3 years ago

Similar to #55 , this PR sets the NoData value to NaN in the tif files in no_kv.

It is just the result of this:

docker run --user $(id -u):$(id -g) --workdir $PWD --rm -v /home:/home osgeo/gdal:alpine-normal-latest /bin/sh -c 'for f in no_kv/*.tif ; do echo $f ; /usr/bin/gdal_translate -co COMPRESS=DEFLATE -co TILED=YES -co PREDICTOR=3 -a_nodata NaN $f $f.nodata.tif ; mv $f.nodata.tif $f ; done '
jjimenezshaw commented 3 years ago

@himsve here it is