Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loaders.gl/gis

Package Overview
Dependencies
Maintainers
8
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/gis - npm Package Compare versions

Comparing version 4.3.2 to 4.4.0-alpha.1

dist/lib/binary-geometry-api/binary-geometry-info.d.ts

43

dist/index.d.ts

@@ -1,13 +0,32 @@

export { GEOPARQUET_METADATA_JSON_SCHEMA } from "./lib/geo/geoparquet-metadata-schema.js";
export type { GeoMetadata } from "./lib/geo/geoparquet-metadata.js";
export { getGeoMetadata, setGeoMetadata, unpackGeoMetadata } from "./lib/geo/geoparquet-metadata.js";
export { unpackJSONStringMetadata } from "./lib/geo/geoparquet-metadata.js";
export type { GeoArrowEncoding, GeoArrowMetadata } from "./lib/geo/geoarrow-metadata.js";
export { getGeometryColumnsFromSchema } from "./lib/geo/geoarrow-metadata.js";
export { convertWKBTableToGeoJSON } from "./lib/tables/convert-table-to-geojson.js";
export { flatGeojsonToBinary } from "./lib/binary-features/flat-geojson-to-binary.js";
export { geojsonToBinary } from "./lib/binary-features/geojson-to-binary.js";
export { geojsonToFlatGeojson } from "./lib/binary-features/geojson-to-flat-geojson.js";
export { binaryToGeojson, binaryToGeometry } from "./lib/binary-features/binary-to-geojson.js";
export { transformBinaryCoords, transformGeoJsonCoords } from "./lib/binary-features/transform.js";
export type { GeojsonGeometryInfo } from "./lib/geometry-api/geometry-info.js";
export { getGeometryInfo } from "./lib/geometry-api/geometry-info.js";
export type { BinaryGeometryInfo } from "./lib/binary-geometry-api/binary-geometry-info.js";
export { getBinaryGeometryInfo } from "./lib/binary-geometry-api/binary-geometry-info.js";
export { transformBinaryCoords, transformGeoJsonCoords } from "./lib/binary-geometry-api/transform-coordinates.js";
export { convertGeoArrowToTable } from "./lib/table-converters/convert-geoarrow-table.js";
export { convertWKBTableToGeoJSON } from "./lib/table-converters/convert-wkb-table-to-geojson.js";
export { convertFlatGeojsonToBinaryFeatureCollection, convertFlatGeojsonToBinaryFeatureCollection as flatGeojsonToBinary } from "./lib/feature-collection-converters/convert-flat-geojson-to-binary-features.js";
export { convertGeojsonToBinaryFeatureCollection, convertGeojsonToBinaryFeatureCollection as geojsonToBinary } from "./lib/feature-collection-converters/convert-geojson-to-binary-features.js";
export { convertGeojsonToFlatGeojson, convertGeojsonToFlatGeojson as geojsonToFlatGeojson } from "./lib/feature-collection-converters/convert-geojson-to-flat-geojson.js";
export { convertBinaryFeatureCollectionToGeojson, convertBinaryFeatureCollectionToGeojson as binaryToGeojson } from "./lib/feature-collection-converters/convert-binary-features-to-geojson.js";
export { isWKB, isTWKB, isWKT } from "./lib/geometry-converters/wkb/helpers/parse-wkb-header.js";
export type { WKBHeader } from "./lib/geometry-converters/wkb/helpers/wkb-types.js";
export { WKT_MAGIC_STRINGS } from "./lib/geometry-converters/wkb/helpers/wkb-types.js";
export { convertBinaryGeometryToGeometry } from "./lib/geometry-converters/convert-binary-geometry-to-geojson.js";
export { convertWKTToGeometry } from "./lib/geometry-converters/wkb/convert-wkt-to-geometry.js";
export { convertWKBToGeometry } from "./lib/geometry-converters/wkb/convert-wkb-to-geometry.js";
export { convertWKBToBinaryGeometry } from "./lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.js";
export { convertTWKBToGeometry } from "./lib/geometry-converters/wkb/convert-twkb-to-geometry.js";
export { convertGeometryToWKT } from "./lib/geometry-converters/wkb/convert-geometry-to-wkt.js";
export { convertGeometryToWKB } from "./lib/geometry-converters/wkb/convert-geometry-to-wkb.js";
export { convertGeometryToTWKB } from "./lib/geometry-converters/wkb/convert-geometry-to-twkb.js";
export type { WKTCRS, ParseWKTCRSOptions } from "./lib//wkt-crs/parse-wkt-crs.js";
export { parseWKTCRS } from "./lib//wkt-crs/parse-wkt-crs.js";
export type { EncodeWKTCRSOptions } from "./lib//wkt-crs/encode-wkt-crs.js";
export { encodeWKTCRS } from "./lib//wkt-crs/encode-wkt-crs.js";
export type { BinaryDataFromGeoArrow, BinaryGeometriesFromArrowOptions } from "./lib/feature-collection-converters/convert-geoarrow-to-binary-features.js";
export { convertGeoArrowToBinaryFeatureCollection, convertGeoArrowToBinaryFeatureCollection as getBinaryGeometriesFromArrow, getBinaryGeometryTemplate, getTriangleIndices, getMeanCentersFromBinaryGeometries } from "./lib/feature-collection-converters/convert-geoarrow-to-binary-features.js";
export { convertGeoArrowGeometryToGeoJSON } from "./lib/geometry-converters/convert-geoarrow-to-geojson.js";
export { encodeHex, decodeHex } from "./lib/utils/hex-transcoder.js";
export { extractNumericPropTypes as _extractNumericPropTypes } from "./lib/feature-collection-converters/convert-flat-geojson-to-binary-features.js";
//# sourceMappingURL=index.d.ts.map
// Types from `@loaders.gl/schema`
// Geo Metadata
// import {default as GEOPARQUET_METADATA_SCHEMA} from './lib/geo/geoparquet-metadata-schema.json';
// export {GEOPARQUET_METADATA_SCHEMA};
export { GEOPARQUET_METADATA_JSON_SCHEMA } from "./lib/geo/geoparquet-metadata-schema.js";
export { getGeoMetadata, setGeoMetadata, unpackGeoMetadata } from "./lib/geo/geoparquet-metadata.js";
export { unpackJSONStringMetadata } from "./lib/geo/geoparquet-metadata.js";
export { getGeometryColumnsFromSchema } from "./lib/geo/geoarrow-metadata.js";
// Table conversion
export { convertWKBTableToGeoJSON } from "./lib/tables/convert-table-to-geojson.js";
// Binary Geometries
export { flatGeojsonToBinary } from "./lib/binary-features/flat-geojson-to-binary.js";
export { geojsonToBinary } from "./lib/binary-features/geojson-to-binary.js";
export { geojsonToFlatGeojson } from "./lib/binary-features/geojson-to-flat-geojson.js";
export { binaryToGeojson, binaryToGeometry } from "./lib/binary-features/binary-to-geojson.js";
export { transformBinaryCoords, transformGeoJsonCoords } from "./lib/binary-features/transform.js";
export { getGeometryInfo } from "./lib/geometry-api/geometry-info.js";
export { getBinaryGeometryInfo } from "./lib/binary-geometry-api/binary-geometry-info.js";
export { transformBinaryCoords, transformGeoJsonCoords } from "./lib/binary-geometry-api/transform-coordinates.js";
// TABLE CONVERSION
export { convertGeoArrowToTable } from "./lib/table-converters/convert-geoarrow-table.js";
export { convertWKBTableToGeoJSON } from "./lib/table-converters/convert-wkb-table-to-geojson.js";
// FEATURE COLLECTION CONVERSION
export { convertFlatGeojsonToBinaryFeatureCollection,
// deprecated
convertFlatGeojsonToBinaryFeatureCollection as flatGeojsonToBinary } from "./lib/feature-collection-converters/convert-flat-geojson-to-binary-features.js";
export { convertGeojsonToBinaryFeatureCollection,
// deprecated
convertGeojsonToBinaryFeatureCollection as geojsonToBinary } from "./lib/feature-collection-converters/convert-geojson-to-binary-features.js";
export { convertGeojsonToFlatGeojson,
// deprecated
convertGeojsonToFlatGeojson as geojsonToFlatGeojson } from "./lib/feature-collection-converters/convert-geojson-to-flat-geojson.js";
export { convertBinaryFeatureCollectionToGeojson, convertBinaryFeatureCollectionToGeojson as binaryToGeojson } from "./lib/feature-collection-converters/convert-binary-features-to-geojson.js";
// GEOMETRY ENCODING DETECTION
export { isWKB, isTWKB, isWKT } from "./lib/geometry-converters/wkb/helpers/parse-wkb-header.js";
export { WKT_MAGIC_STRINGS } from "./lib/geometry-converters/wkb/helpers/wkb-types.js";
// GEOMETRY CONVERSION
export { convertBinaryGeometryToGeometry } from "./lib/geometry-converters/convert-binary-geometry-to-geojson.js";
export { convertWKTToGeometry } from "./lib/geometry-converters/wkb/convert-wkt-to-geometry.js";
export { convertWKBToGeometry } from "./lib/geometry-converters/wkb/convert-wkb-to-geometry.js";
export { convertWKBToBinaryGeometry } from "./lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.js";
export { convertTWKBToGeometry } from "./lib/geometry-converters/wkb/convert-twkb-to-geometry.js";
export { convertGeometryToWKT } from "./lib/geometry-converters/wkb/convert-geometry-to-wkt.js";
export { convertGeometryToWKB } from "./lib/geometry-converters/wkb/convert-geometry-to-wkb.js";
export { convertGeometryToTWKB } from "./lib/geometry-converters/wkb/convert-geometry-to-twkb.js";
export { parseWKTCRS } from "./lib//wkt-crs/parse-wkt-crs.js";
export { encodeWKTCRS } from "./lib//wkt-crs/encode-wkt-crs.js";
export { convertGeoArrowToBinaryFeatureCollection,
// deprecated
convertGeoArrowToBinaryFeatureCollection as getBinaryGeometriesFromArrow, getBinaryGeometryTemplate, getTriangleIndices, getMeanCentersFromBinaryGeometries } from "./lib/feature-collection-converters/convert-geoarrow-to-binary-features.js";
export { convertGeoArrowGeometryToGeoJSON } from "./lib/geometry-converters/convert-geoarrow-to-geojson.js";
// EXPERIMENTAL APIs
export { encodeHex, decodeHex } from "./lib/utils/hex-transcoder.js";
export { extractNumericPropTypes as _extractNumericPropTypes } from "./lib/feature-collection-converters/convert-flat-geojson-to-binary-features.js";
{
"name": "@loaders.gl/gis",
"description": "Helpers for GIS category data",
"version": "4.3.2",
"version": "4.4.0-alpha.1",
"license": "MIT",

@@ -35,4 +35,6 @@ "type": "module",

"dependencies": {
"@loaders.gl/loader-utils": "4.3.2",
"@loaders.gl/schema": "4.3.2",
"@loaders.gl/geoarrow": "4.4.0-alpha.1",
"@loaders.gl/loader-utils": "4.4.0-alpha.1",
"@loaders.gl/schema": "4.4.0-alpha.1",
"@loaders.gl/schema-utils": "4.4.0-alpha.1",
"@mapbox/vector-tile": "^1.3.1",

@@ -46,5 +48,5 @@ "@math.gl/polygon": "^4.1.0",

"peerDependencies": {
"@loaders.gl/core": "^4.3.0"
"@loaders.gl/core": "4.4.0-alpha.0"
},
"gitHead": "b4203b8703f64a38d6f79a3113bc7bb51d45c93a"
"gitHead": "f1732de45907bd500bf4eedb4803beca8bf4bfb0"
}

@@ -6,19 +6,92 @@ // Types from `@loaders.gl/schema`

// export {GEOPARQUET_METADATA_SCHEMA};
export {GEOPARQUET_METADATA_JSON_SCHEMA} from './lib/geo/geoparquet-metadata-schema';
// export {GEOPARQUET_METADATA_JSON_SCHEMA} from './lib/geoarrow/geoparquet-metadata-schema';
export type {GeoMetadata} from './lib/geo/geoparquet-metadata';
export {getGeoMetadata, setGeoMetadata, unpackGeoMetadata} from './lib/geo/geoparquet-metadata';
export {unpackJSONStringMetadata} from './lib/geo/geoparquet-metadata';
// export type {GeoMetadata} from './lib/geoarrow/geoparquet-metadata';
// export {
// getGeoMetadata,
// setGeoMetadata,
// unpackGeoMetadata
// } from './lib/geoarrow/geoparquet-metadata';
// export {unpackJSONStringMetadata} from './lib/geoarrow/geoparquet-metadata';
export type {GeoArrowEncoding, GeoArrowMetadata} from './lib/geo/geoarrow-metadata';
export {getGeometryColumnsFromSchema} from './lib/geo/geoarrow-metadata';
//
export type {GeojsonGeometryInfo} from './lib/geometry-api/geometry-info';
export {getGeometryInfo} from './lib/geometry-api/geometry-info';
// Table conversion
export {convertWKBTableToGeoJSON} from './lib/tables/convert-table-to-geojson';
// Binary Geometry Utilities
export type {BinaryGeometryInfo} from './lib/binary-geometry-api/binary-geometry-info';
export {getBinaryGeometryInfo} from './lib/binary-geometry-api/binary-geometry-info';
export {
transformBinaryCoords,
transformGeoJsonCoords
} from './lib/binary-geometry-api/transform-coordinates';
// Binary Geometries
export {flatGeojsonToBinary} from './lib/binary-features/flat-geojson-to-binary';
export {geojsonToBinary} from './lib/binary-features/geojson-to-binary';
export {geojsonToFlatGeojson} from './lib/binary-features/geojson-to-flat-geojson';
export {binaryToGeojson, binaryToGeometry} from './lib/binary-features/binary-to-geojson';
export {transformBinaryCoords, transformGeoJsonCoords} from './lib/binary-features/transform';
// TABLE CONVERSION
export {convertGeoArrowToTable} from './lib/table-converters/convert-geoarrow-table';
export {convertWKBTableToGeoJSON} from './lib/table-converters/convert-wkb-table-to-geojson';
// FEATURE COLLECTION CONVERSION
export {
convertFlatGeojsonToBinaryFeatureCollection,
// deprecated
convertFlatGeojsonToBinaryFeatureCollection as flatGeojsonToBinary
} from './lib/feature-collection-converters/convert-flat-geojson-to-binary-features';
export {
convertGeojsonToBinaryFeatureCollection,
// deprecated
convertGeojsonToBinaryFeatureCollection as geojsonToBinary
} from './lib/feature-collection-converters/convert-geojson-to-binary-features';
export {
convertGeojsonToFlatGeojson,
// deprecated
convertGeojsonToFlatGeojson as geojsonToFlatGeojson
} from './lib/feature-collection-converters/convert-geojson-to-flat-geojson';
export {
convertBinaryFeatureCollectionToGeojson,
convertBinaryFeatureCollectionToGeojson as binaryToGeojson
} from './lib/feature-collection-converters/convert-binary-features-to-geojson';
// GEOMETRY ENCODING DETECTION
export {isWKB, isTWKB, isWKT} from './lib/geometry-converters/wkb/helpers/parse-wkb-header';
export type {WKBHeader} from './lib/geometry-converters/wkb/helpers/wkb-types';
export {WKT_MAGIC_STRINGS} from './lib/geometry-converters/wkb/helpers/wkb-types';
// GEOMETRY CONVERSION
export {convertBinaryGeometryToGeometry} from './lib/geometry-converters/convert-binary-geometry-to-geojson';
export {convertWKTToGeometry} from './lib/geometry-converters/wkb/convert-wkt-to-geometry';
export {convertWKBToGeometry} from './lib/geometry-converters/wkb/convert-wkb-to-geometry';
export {convertWKBToBinaryGeometry} from './lib/geometry-converters/wkb/convert-wkb-to-binary-geometry';
export {convertTWKBToGeometry} from './lib/geometry-converters/wkb/convert-twkb-to-geometry';
export {convertGeometryToWKT} from './lib/geometry-converters/wkb/convert-geometry-to-wkt';
export {convertGeometryToWKB} from './lib/geometry-converters/wkb/convert-geometry-to-wkb';
export {convertGeometryToTWKB} from './lib/geometry-converters/wkb/convert-geometry-to-twkb';
// CRS
export type {WKTCRS, ParseWKTCRSOptions} from './lib//wkt-crs/parse-wkt-crs';
export {parseWKTCRS} from './lib//wkt-crs/parse-wkt-crs';
export type {EncodeWKTCRSOptions} from './lib//wkt-crs/encode-wkt-crs';
export {encodeWKTCRS} from './lib//wkt-crs/encode-wkt-crs';
// GEOARROW
export type {
BinaryDataFromGeoArrow,
BinaryGeometriesFromArrowOptions
} from './lib/feature-collection-converters/convert-geoarrow-to-binary-features';
export {
convertGeoArrowToBinaryFeatureCollection,
// deprecated
convertGeoArrowToBinaryFeatureCollection as getBinaryGeometriesFromArrow,
getBinaryGeometryTemplate,
getTriangleIndices,
getMeanCentersFromBinaryGeometries
} from './lib/feature-collection-converters/convert-geoarrow-to-binary-features';
export {convertGeoArrowGeometryToGeoJSON} from './lib/geometry-converters/convert-geoarrow-to-geojson';
// EXPERIMENTAL APIs
export {encodeHex, decodeHex} from './lib/utils/hex-transcoder';
export {extractNumericPropTypes as _extractNumericPropTypes} from './lib/feature-collection-converters/convert-flat-geojson-to-binary-features';

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 not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc