Opened 3 years ago

Closed 3 years ago

#5343 closed defect (fixed)

gdalwarp does not always create proper masks when using the -cblend option

Reported by: winkey Owned by: winkey
Priority: normal Milestone:
Component: Algorithms Version: unspecified
Severity: normal Keywords:
Cc:

Description

chunks within the envelope of the cutline but not intersecting the cutline +/- blend distance appear to be improperly masked.

these areas outside of the poly results in the source data written to the dest dataset when it should not be.

and sometimes these areas on the inside of a poly the source data is not written to the dest dataset when it should be

Attachments (1)

Screenshot-4.jpg (6.7 KB) - added by winkey 3 years ago.
screensot of data outside of the cutline poly copyed to the dst dataset

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by winkey

Attachment: Screenshot-4.jpg added

screensot of data outside of the cutline poly copyed to the dst dataset

comment:1 Changed 3 years ago by winkey

if you test if the poly intersects the chunk +/- the blend distance here... http://trac.osgeo.org/gdal/browser/trunk/gdal/alg/gdalcutline.cpp?rev=26326#L90

this will fix the issues outside the poly but not inside

comment:2 Changed 3 years ago by winkey

Owner: changed from warmerdam to winkey
Status: newassigned

if its is also does not intersect the poly (forced to a linestring), this will fix the issues inside

comment:3 Changed 3 years ago by winkey

Resolution: fixed
Status: assignedclosed

commited fix to svn in rev 26791

also want to note time to blend a 16k x 16k pixel image with another image went from 8 min to 2 min on my system

Note: See TracTickets for help on using tickets.