Commit 1704173c authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Exact polygonize output requires 4 connectedness.

parent 39da52e7
......@@ -137,7 +137,8 @@ def raster2polygon(array: np.ndarray,
src_band, # .GetMaskBand(),
["8CONNECTED=8"] if exact else [],
[] if exact else ["8CONNECTED=8"], # 4-connectedness for exact output
# callback=gdal.TermProgress_nocb)
del dst_layer, dst_ds
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