Release notes
0.4.0 — November 2026
Section titled “0.4.0 — November 2026”One library and one header (isosweep.h) for every output and engine.
- Outputs: contour lines, closed rings with the hill/hole class and nesting tree, per-level polygons, and filled bands between consecutive levels, including below the first and above the last level. Every polygon is OGC-valid, also where a band meets the grid edge or a NoData void.
- Grids larger than memory: the streaming engine reads rows in blocks on
all cores and emits each contour as soon as it is complete. New streaming
API in C (
isosweep_stream_new/feed/finish,isosweep_contour_stream) and Python (isocurves.ContourStream,isocurves.contour_stream). - Coordinates: grid indices, rectilinear axes, affine (rotated) geotransforms and curvilinear grids; float32 or float64 output coordinates.
- NoData: NaN, ±inf and |z| ≥ 1e19 are voids, plus an optional NoData value and mask; lines end half-way to a void, rings and polygons run along it.
- Integration: your own allocator and thread pool through
isosweep_runtime_t; run information (engine, threads, timings, memory) throughisosweep_result_info(). - Python:
isocurves.filled()returns filled contours as flat arrays with band objects made on access; clearer errors for invalid coordinate arrays. - Command line: filled bands (
-p) and per-level polygons (--level-polygons) stream like lines; reading runs on its own thread;--window-rowsand--max-inflighttune memory on very large rasters. - Validation: rectilinear coordinates must be finite and strictly
monotonic, otherwise the call returns
ISOSWEEP_E_INVALID.
0.2 — November 2026
Section titled “0.2 — November 2026”- Command line: rasters that fit the memory budget are contoured in memory on all cores; larger ones are streamed.
- Filled bands (
-p) and per-level polygons (--level-polygons) in the command-line tool. - NoData cells handled as voids in every mode.
- First version of the
isosweep-contourcommand-line tool (streaming contour lines).