@geoarrow/flatgeobuf-wasm
Advanced tools
Comparing version 0.2.0-beta.1 to 0.2.0-beta.2
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export const memory: WebAssembly.Memory; | ||
export function readFlatGeobuf(a: number, b: number, c: number): void; | ||
export function set_panic_hook(): void; | ||
export function __wbg_geotable_free(a: number): void; | ||
export function geotable_intoTable(a: number): number; | ||
export function set_panic_hook(): void; | ||
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void; | ||
export function __wbg_timestamp_free(a: number): void; | ||
@@ -9,0 +9,0 @@ export function __wbg_duration_free(a: number): void; |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
*/ | ||
export function set_panic_hook(): void; | ||
/** | ||
* Read a FlatGeobuf file into GeoArrow memory | ||
@@ -22,9 +25,7 @@ * | ||
* @param {Uint8Array} file | ||
* @param {number | undefined} [batch_size] | ||
* @returns {GeoTable} | ||
*/ | ||
export function readFlatGeobuf(file: Uint8Array): GeoTable; | ||
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): GeoTable; | ||
/** | ||
*/ | ||
export function set_panic_hook(): void; | ||
/** | ||
* Returns a handle to this wasm instance's `WebAssembly.Memory` | ||
@@ -42,38 +43,9 @@ * @returns {Memory} | ||
*/ | ||
export enum BufferType { | ||
/** | ||
* | ||
* * used in List type, Dense Union and variable length primitive types (String, Binary) | ||
* | ||
*/ | ||
Offset = 0, | ||
/** | ||
* | ||
* * actual data, either fixed width primitive types in slots or variable width delimited by an OFFSET vector | ||
* | ||
*/ | ||
Data = 1, | ||
/** | ||
* | ||
* * Bit vector indicating if each value is null | ||
* | ||
*/ | ||
Validity = 2, | ||
/** | ||
* | ||
* * Type vector used in Union type | ||
* | ||
*/ | ||
Type = 3, | ||
export enum IntervalUnit { | ||
YearMonth = 0, | ||
DayTime = 1, | ||
MonthDayNano = 2, | ||
} | ||
/** | ||
*/ | ||
export enum TimeUnit { | ||
Second = 0, | ||
Millisecond = 1, | ||
Microsecond = 2, | ||
Nanosecond = 3, | ||
} | ||
/** | ||
*/ | ||
export enum DateUnit { | ||
@@ -91,6 +63,7 @@ Day = 0, | ||
*/ | ||
export enum Precision { | ||
Half = 0, | ||
Single = 1, | ||
Double = 2, | ||
export enum TimeUnit { | ||
Second = 0, | ||
Millisecond = 1, | ||
Microsecond = 2, | ||
Nanosecond = 3, | ||
} | ||
@@ -180,7 +153,35 @@ /** | ||
*/ | ||
export enum IntervalUnit { | ||
YearMonth = 0, | ||
DayTime = 1, | ||
MonthDayNano = 2, | ||
export enum BufferType { | ||
/** | ||
* | ||
* * used in List type, Dense Union and variable length primitive types (String, Binary) | ||
* | ||
*/ | ||
Offset = 0, | ||
/** | ||
* | ||
* * actual data, either fixed width primitive types in slots or variable width delimited by an OFFSET vector | ||
* | ||
*/ | ||
Data = 1, | ||
/** | ||
* | ||
* * Bit vector indicating if each value is null | ||
* | ||
*/ | ||
Validity = 2, | ||
/** | ||
* | ||
* * Type vector used in Union type | ||
* | ||
*/ | ||
Type = 3, | ||
} | ||
/** | ||
*/ | ||
export enum Precision { | ||
Half = 0, | ||
Single = 1, | ||
Double = 2, | ||
} | ||
@@ -187,0 +188,0 @@ export type FieldMetadata = Map<string, string>; |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export const memory: WebAssembly.Memory; | ||
export function readFlatGeobuf(a: number, b: number, c: number): void; | ||
export function set_panic_hook(): void; | ||
export function __wbg_geotable_free(a: number): void; | ||
export function geotable_intoTable(a: number): number; | ||
export function set_panic_hook(): void; | ||
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void; | ||
export function __wbg_timestamp_free(a: number): void; | ||
@@ -9,0 +9,0 @@ export function __wbg_duration_free(a: number): void; |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
*/ | ||
export function set_panic_hook(): void; | ||
/** | ||
* Read a FlatGeobuf file into GeoArrow memory | ||
@@ -22,9 +25,7 @@ * | ||
* @param {Uint8Array} file | ||
* @param {number | undefined} [batch_size] | ||
* @returns {GeoTable} | ||
*/ | ||
export function readFlatGeobuf(file: Uint8Array): GeoTable; | ||
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): GeoTable; | ||
/** | ||
*/ | ||
export function set_panic_hook(): void; | ||
/** | ||
* Returns a handle to this wasm instance's `WebAssembly.Memory` | ||
@@ -42,2 +43,30 @@ * @returns {Memory} | ||
*/ | ||
export enum TimeUnit { | ||
Second = 0, | ||
Millisecond = 1, | ||
Microsecond = 2, | ||
Nanosecond = 3, | ||
} | ||
/** | ||
*/ | ||
export enum Precision { | ||
Half = 0, | ||
Single = 1, | ||
Double = 2, | ||
} | ||
/** | ||
*/ | ||
export enum IntervalUnit { | ||
YearMonth = 0, | ||
DayTime = 1, | ||
MonthDayNano = 2, | ||
} | ||
/** | ||
*/ | ||
export enum DateUnit { | ||
Day = 0, | ||
Millisecond = 1, | ||
} | ||
/** | ||
*/ | ||
export enum Type { | ||
@@ -152,8 +181,2 @@ /** | ||
*/ | ||
export enum DateUnit { | ||
Day = 0, | ||
Millisecond = 1, | ||
} | ||
/** | ||
*/ | ||
export enum UnionMode { | ||
@@ -163,24 +186,2 @@ Sparse = 0, | ||
} | ||
/** | ||
*/ | ||
export enum Precision { | ||
Half = 0, | ||
Single = 1, | ||
Double = 2, | ||
} | ||
/** | ||
*/ | ||
export enum TimeUnit { | ||
Second = 0, | ||
Millisecond = 1, | ||
Microsecond = 2, | ||
Nanosecond = 3, | ||
} | ||
/** | ||
*/ | ||
export enum IntervalUnit { | ||
YearMonth = 0, | ||
DayTime = 1, | ||
MonthDayNano = 2, | ||
} | ||
@@ -1327,6 +1328,6 @@ export type FieldMetadata = Map<string, string>; | ||
readonly memory: WebAssembly.Memory; | ||
readonly readFlatGeobuf: (a: number, b: number, c: number) => void; | ||
readonly set_panic_hook: () => void; | ||
readonly __wbg_geotable_free: (a: number) => void; | ||
readonly geotable_intoTable: (a: number) => number; | ||
readonly set_panic_hook: () => void; | ||
readonly readFlatGeobuf: (a: number, b: number, c: number, d: number, e: number) => void; | ||
readonly __wbg_timestamp_free: (a: number) => void; | ||
@@ -1333,0 +1334,0 @@ readonly __wbg_duration_free: (a: number) => void; |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export const memory: WebAssembly.Memory; | ||
export function readFlatGeobuf(a: number, b: number, c: number): void; | ||
export function set_panic_hook(): void; | ||
export function __wbg_geotable_free(a: number): void; | ||
export function geotable_intoTable(a: number): number; | ||
export function set_panic_hook(): void; | ||
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void; | ||
export function __wbg_timestamp_free(a: number): void; | ||
@@ -9,0 +9,0 @@ export function __wbg_duration_free(a: number): void; |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
*/ | ||
export function set_panic_hook(): void; | ||
/** | ||
* Read a FlatGeobuf file into GeoArrow memory | ||
@@ -22,9 +25,7 @@ * | ||
* @param {Uint8Array} file | ||
* @param {number | undefined} [batch_size] | ||
* @returns {GeoTable} | ||
*/ | ||
export function readFlatGeobuf(file: Uint8Array): GeoTable; | ||
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): GeoTable; | ||
/** | ||
*/ | ||
export function set_panic_hook(): void; | ||
/** | ||
* Returns a handle to this wasm instance's `WebAssembly.Memory` | ||
@@ -42,2 +43,29 @@ * @returns {Memory} | ||
*/ | ||
export enum UnionMode { | ||
Sparse = 0, | ||
Dense = 1, | ||
} | ||
/** | ||
*/ | ||
export enum Precision { | ||
Half = 0, | ||
Single = 1, | ||
Double = 2, | ||
} | ||
/** | ||
*/ | ||
export enum DateUnit { | ||
Day = 0, | ||
Millisecond = 1, | ||
} | ||
/** | ||
*/ | ||
export enum TimeUnit { | ||
Second = 0, | ||
Millisecond = 1, | ||
Microsecond = 2, | ||
Nanosecond = 3, | ||
} | ||
/** | ||
*/ | ||
export enum Type { | ||
@@ -124,2 +152,9 @@ /** | ||
*/ | ||
export enum IntervalUnit { | ||
YearMonth = 0, | ||
DayTime = 1, | ||
MonthDayNano = 2, | ||
} | ||
/** | ||
*/ | ||
export enum BufferType { | ||
@@ -151,36 +186,2 @@ /** | ||
} | ||
/** | ||
*/ | ||
export enum DateUnit { | ||
Day = 0, | ||
Millisecond = 1, | ||
} | ||
/** | ||
*/ | ||
export enum IntervalUnit { | ||
YearMonth = 0, | ||
DayTime = 1, | ||
MonthDayNano = 2, | ||
} | ||
/** | ||
*/ | ||
export enum TimeUnit { | ||
Second = 0, | ||
Millisecond = 1, | ||
Microsecond = 2, | ||
Nanosecond = 3, | ||
} | ||
/** | ||
*/ | ||
export enum UnionMode { | ||
Sparse = 0, | ||
Dense = 1, | ||
} | ||
/** | ||
*/ | ||
export enum Precision { | ||
Half = 0, | ||
Single = 1, | ||
Double = 2, | ||
} | ||
@@ -187,0 +188,0 @@ export type FieldMetadata = Map<string, string>; |
@@ -7,7 +7,7 @@ { | ||
"description": "Efficient, vectorized geospatial operations in WebAssembly.", | ||
"version": "0.2.0-beta.1", | ||
"version": "0.2.0-beta.2", | ||
"license": "MIT OR Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/kylebarron/geoarrow-rs" | ||
"url": "https://github.com/geoarrow/geoarrow-rs" | ||
}, | ||
@@ -14,0 +14,0 @@ "files": [ |
@@ -5,3 +5,3 @@ # `geoarrow-wasm` | ||
This library defines efficient data structures for arrays of geometries (by wrapping the Rust implementation of GeoArrow, [`geoarrow-rs`](https://github.com/kylebarron/geoarrow-rs)) and connects to [GeoRust](https://github.com/georust/geo), a suite of geospatial algorithms implemented in Rust. | ||
This library defines efficient data structures for arrays of geometries (by wrapping the Rust implementation of GeoArrow, [`geoarrow-rs`](https://github.com/geoarrow/geoarrow-rs)) and connects to [GeoRust](https://github.com/georust/geo), a suite of geospatial algorithms implemented in Rust. | ||
@@ -12,3 +12,3 @@ Note that this is an _opinionated_ library. Today, it chooses performance over ease of use. Over time it will get easier to use. | ||
- JavaScript library: <https://kylebarron.dev/geoarrow-rs/js> | ||
- JavaScript library: <https://geoarrow.github.io/geoarrow-rs/js> | ||
- Rust wasm-bindgen library: <https://docs.rs/geoarrow-wasm/latest/geoarrow_wasm/> | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15429
4956948