You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rasterizing a single polygon with options=["MERGE_ALG=ADD", "ALL_TOUCHED"] I expect the maximum value to be the burn in value. However, the borders get added in addition to the core - see the example below.
Of course this is not relevant for a single polygon (I could just remove the "MERGE_ALG=ADD"), but it also happens for several polygons. I use ADD to separate overlapping regions.
Expected behavior and actual behavior.
When rasterizing a single polygon with
options=["MERGE_ALG=ADD", "ALL_TOUCHED"]
I expect the maximum value to be the burn in value. However, the borders get added in addition to the core - see the example below."MERGE_ALG=ADD"
), but it also happens for several polygons. I useADD
to separate overlapping regions.all_touched=True
andmerge_alg=add
rasterio/rasterio#2925) but I think it's more relevant here.Steps to reproduce the problem.
Operating system
Linux 6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
GDAL version and provenance
version 3.7.0 installed from conda-forge
The text was updated successfully, but these errors were encountered: