Skip to content

Commit 904af8a

Browse files
committed
✨ Add logging for point generation resolution in get_pts function
1 parent 2615cc5 commit 904af8a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/discretization/_polygon.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ function get_pts(polygon::QueryPolygon, h::Real; fill::Bool=true)
3131
width = pyfun.int(np.ceil((maxx - minx) / h))
3232
height = pyfun.int(np.ceil((maxy - miny) / h))
3333
transform = rasterio.transform.from_origin(minx, maxy, h, h)
34+
35+
println("\e[1;36m[start]:\e[0m generating pts at resolution $h")
3436
mask = rasterize(
3537
[(pypoly, 1)],
3638
out_shape=(height, width),

0 commit comments

Comments
 (0)