@loaders.gl/gis
Advanced tools
Comparing version 4.3.2 to 4.4.0-alpha.1
@@ -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" | ||
} |
101
src/index.ts
@@ -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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
669343
149
12190
8
2
1
+ Added@loaders.gl/geoarrow@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/loader-utils@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/schema@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/schema-utils@4.4.0-alpha.1(transitive)
+ Added@loaders.gl/worker-utils@4.4.0-alpha.1(transitive)
+ Added@swc/helpers@0.5.15(transitive)
+ Added@types/command-line-args@5.2.3(transitive)
+ Added@types/command-line-usage@5.0.4(transitive)
+ Added@types/node@20.17.8(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedapache-arrow@18.1.0(transitive)
+ Addedarray-back@3.1.06.2.2(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedchalk-template@0.4.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcommand-line-args@5.2.1(transitive)
+ Addedcommand-line-usage@7.0.3(transitive)
+ Addedfind-replace@3.0.0(transitive)
+ Addedflatbuffers@24.3.25(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedjson-bignum@0.0.3(transitive)
+ Addedlodash.camelcase@4.3.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedtable-layout@4.1.1(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedtypical@4.0.07.3.0(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedwordwrapjs@5.1.0(transitive)
- Removed@loaders.gl/core@4.3.2(transitive)
- Removed@loaders.gl/loader-utils@4.3.2(transitive)
- Removed@loaders.gl/schema@4.3.2(transitive)
- Removed@loaders.gl/worker-utils@4.3.2(transitive)