@math.gl/arrow
Arrow and GeoArrow binary data utilities
Last updated 19 days ago by ibgreen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @math.gl/arrow 
SYNC missed versions from official npm registry.

@math.gl/arrow

Utilities for working efficiently with Arrow and GeoArrow binary data in browsers and Node.js.

Install

npm install @math.gl/arrow
# Required only for the root and /geoarrow entries:
npm install apache-arrow

Apache Arrow is an optional peer dependency supporting version 17 and newer. The independent utility subpaths work without it. The package does not depend on loaders.gl or geospatial projections; CRS metadata is retained opaquely.

Entry points

Import Purpose Apache Arrow required
@math.gl/arrow Indexed tables/vectors, schema validation, renaming, buffer ownership, hydration and IPC Yes
@math.gl/arrow/utf8 Compare UTF-8 byte ranges and parse ASCII scalar values No
@math.gl/arrow/geoarrow Borrow Arrow geometry buffers, inspect metadata, compute bounds, map coordinates, and rewind rings Yes
@math.gl/arrow/geoarrow-utils Runtime-independent geometry descriptors, builders, kernels, codecs, tessellation, and streaming No
@math.gl/arrow/wkb Parse/write WKB, EWKB, and WKT; traverse geometry buffers No
import {parseWKT, writeWKB} from '@math.gl/arrow/wkb';
import {GeoArrowBuilder, getGeoArrowBounds} from '@math.gl/arrow/geoarrow-utils';

const point = parseWKT('POINT (1 2)');
const bytes = writeWKB(point, 'xy');
const column = GeoArrowBuilder.build([point], {encoding: 'geoarrow.point', dimension: 'xy'});
getGeoArrowBounds(column); // [1, 2, 1, 2]

Documentation and examples

Geographic calculations and CRS interpretation belong in @math.gl/geospatial. Task execution is provided by @math.gl/tasks.

Current Tags

  • 5.0.0-beta.11                                ...           beta (10 days ago)
  • 5.0.0-beta.5                                ...           latest (19 days ago)

8 Versions

  • 5.0.0-beta.11                                ...           10 days ago
  • 5.0.0-beta.10                                ...           13 days ago
  • 5.0.0-beta.9                                ...           13 days ago
  • 5.0.0-beta.8                                ...           15 days ago
  • 5.0.0-beta.7                                ...           16 days ago
  • 5.0.0-beta.6                                ...           17 days ago
  • 5.0.0-beta.5                                ...           19 days ago
  • 0.0.0-stage                                ...           19 days ago
Downloads
Total 21
Today 0
This Week 0
This Month 21
Last Day 0
Last Week 19
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE