Opened 15 years ago
Closed 15 years ago
#2733 closed defect (fixed)
gdalwarp cblend option does not work
Reported by: | asgerpetersen | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.1 |
Component: | Utilities | Version: | 1.6.0 |
Severity: | normal | Keywords: | blend |
Cc: |
Description
Setting -cblend option in gdalwarp does not seem to have any effect.
It looks like the following code in gdalwarp.cpp
papszWarpOptions = CSLSetNameValue( papszWarpOptions, "BLEND_DIST", argv[++i] );
does not match this code in gdalwarpoperation.cpp
const char *pszBD = CSLFetchNameValue( psOptions->papszWarpOptions, "CUTLINE_BLEND_DIST" );
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Keywords: | blend added |
---|---|
Milestone: | → 1.6.1 |
Resolution: | → fixed |
Status: | new → closed |
Version: | unspecified → 1.6.0 |
Note:
See TracTickets
for help on using tickets.
Ok, I think I found a workaround for now. The blend distance warp option can also be set with the -wo option like this:
gdalwarp -cutline cutline.shp -cl cutline -wo "CUTLINE_BLEND_DIST=2" grd2.asc grd1.tif