geo-polygonize 0.58.1 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -115,6 +115,9 @@ This behavior matches classical JTS/GEOS polygonization semantics and is useful
115
115
  Rust Arrow and GeoArrow adapters live in the `geo-polygonize-arrow` crate;
116
116
  the Wasm crate includes it automatically.
117
117
 
118
+ For the Arrow C Data Interface ABI, including ownership and error retrieval,
119
+ see [docs/C_ABI.md](docs/C_ABI.md).
120
+
118
121
  ```rust
119
122
  use geo_polygonize_arrow::{polygonize_arrow, PolygonizerOptions};
120
123
  // ... create Arrow array ...
Binary file
Binary file
@@ -2,5 +2,5 @@ export type OutputFilterOptions = {
2
2
  /**
3
3
  * Keep faces whose area is greater than or equal to this value.
4
4
  */
5
- minimum_face_area?: number;
5
+ minimum_face_area?: number | null;
6
6
  };
@@ -1057,7 +1057,7 @@ const cfbRobustOptions = {
1057
1057
  conflict_tolerance: 0,
1058
1058
  },
1059
1059
  output_filter: {
1060
- minimum_face_area: undefined,
1060
+ minimum_face_area: null,
1061
1061
  },
1062
1062
  input_profile_id: "cfb_robust_v1",
1063
1063
  };
@@ -2,5 +2,5 @@ export type OutputFilterOptions = {
2
2
  /**
3
3
  * Keep faces whose area is greater than or equal to this value.
4
4
  */
5
- minimum_face_area?: number;
5
+ minimum_face_area?: number | null;
6
6
  };
@@ -1054,7 +1054,7 @@ const cfbRobustOptions = {
1054
1054
  conflict_tolerance: 0,
1055
1055
  },
1056
1056
  output_filter: {
1057
- minimum_face_area: undefined,
1057
+ minimum_face_area: null,
1058
1058
  },
1059
1059
  input_profile_id: "cfb_robust_v1",
1060
1060
  };
@@ -105,6 +105,8 @@ export interface InitOutput {
105
105
  readonly wasmpolygonresult_stride: (a: number) => number;
106
106
  readonly wasmpolygonresult_topology_fingerprint: (a: number) => any;
107
107
  readonly polygonize_ffi: (a: number, b: number, c: number, d: number, e: number) => number;
108
+ readonly polygonize_ffi_abi_version: () => number;
109
+ readonly polygonize_ffi_last_error: () => number;
108
110
  readonly polygonize_with_options_ffi: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
109
111
  readonly polygonize_result_free: () => void;
110
112
  readonly __wbindgen_malloc: (a: number, b: number) => number;
@@ -31,6 +31,8 @@ export const wasmpolygonresult_ring_offsets_ptr: (a: number) => number;
31
31
  export const wasmpolygonresult_stride: (a: number) => number;
32
32
  export const wasmpolygonresult_topology_fingerprint: (a: number) => any;
33
33
  export const polygonize_ffi: (a: number, b: number, c: number, d: number, e: number) => number;
34
+ export const polygonize_ffi_abi_version: () => number;
35
+ export const polygonize_ffi_last_error: () => number;
34
36
  export const polygonize_with_options_ffi: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
35
37
  export const polygonize_result_free: () => void;
36
38
  export const __wbindgen_malloc: (a: number, b: number) => number;
@@ -2,5 +2,5 @@ export type OutputFilterOptions = {
2
2
  /**
3
3
  * Keep faces whose area is greater than or equal to this value.
4
4
  */
5
- minimum_face_area?: number;
5
+ minimum_face_area?: number | null;
6
6
  };
@@ -2,5 +2,5 @@ export type OutputFilterOptions = {
2
2
  /**
3
3
  * Keep faces whose area is greater than or equal to this value.
4
4
  */
5
- minimum_face_area?: number;
5
+ minimum_face_area?: number | null;
6
6
  };