Created
November 24, 2014 13:23
-
-
Save Kalimaha/ad0d58be12e789f748dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"processing": [ | |
{ | |
"band": 1, | |
"process": [ | |
{ | |
"extract_bands": "" | |
} | |
] | |
}, | |
{ | |
"band": 1, | |
"output_file_name": "merge", | |
"process": [ | |
{ | |
"gdal_merge": { | |
"prefix": "gdal_merge_", | |
"extension": "tif" | |
} | |
} | |
] | |
}, | |
{ | |
"band": 1, | |
"output_file_name": "final", | |
"process": [ | |
{ | |
"get_pixel_size" : "{{PIXEL_SIZE}}" | |
}, | |
{ | |
"gdalwarp": { | |
"opt": { | |
"-multi": "", | |
"-overwrite": "", | |
"-of": "GTiff", | |
"-s_srs": "'+proj=sinu +R=6371007.181 +nadgrids=@null +wktext'", | |
"-co": "'TILED=YES'", | |
"-t_srs": "EPSG:3857", | |
"-srcnodata": -3000, | |
"-dstnodata": -3000 | |
}, | |
"prefix": "gdalwarp_", | |
"extension": "tif" | |
} | |
} | |
] | |
}, | |
{ | |
"band": 1, | |
"process": [ | |
{ | |
"gdaladdo": { | |
"parameters": { | |
"-r": "average" | |
}, | |
"overviews_levels": "2 4 8 16" | |
} | |
} | |
] | |
} | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment