Commit af25b9da authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Use multiprocessing for downsampling.

parent 68472af8
......@@ -87,6 +87,7 @@ def raster2polygon(array: np.ndarray,
out_gsd=(gt[1] / zoom_factor,
gt[5] / zoom_factor),
rspAlg='near',
CPUs=None, # all CPUs
q=True)
# remove raster polygons smaller than min_npx
......
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