Commit 9121e426 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Add comment.

parent e92b3d40
Pipeline #35653 failed with stage
in 3 minutes and 24 seconds
......@@ -101,7 +101,7 @@ def raster2polygon(array: np.ndarray,
callback = gdal.TermProgress_nocb if array.size > 1e8 else None
gdal.SieveFilter(srcBand=band, maskBand=None, dstBand=band, threshold=min_npx,
# connectedness=4 if exact else 8,
connectedness=4,
connectedness=4, # 4-connectedness is 30% faster
callback=callback)
array = ds.ReadAsArray()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment