본문 바로가기
카테고리 없음

gdal cut line

by DogBull 2017. 10. 24.

    warp = [ 

        'gdalwarp', 

        '-overwrite', 

        '-s_srs', 'EPSG:5174', 

        '-t_srs', 'EPSG:4326', 

        '-dstnodata', '-1', 

        '-tr', '0.000275285878230', '0.000275285878230', 

        '-r', 'bilinear', 

        '-crop_to_cutline', 

        '-cutline', cutline_path, 

        '-co', 'COMPRESS=DEFLATE', 

        '-co', 'TILED=YES', 

        '-wo', 'CUTLINE_ALL_TOUCHED=TRUE', 

        '-overwrite', 

        merged_path, 

        outpath 

    ]