Skip to content

Commit

Permalink
rewrite geometry to vector; finished interpolators; dataStructures us…
Browse files Browse the repository at this point in the history
…e BigInt; cluster and index simplified and support grids now; tests updated
  • Loading branch information
Mr Martian committed Jan 14, 2025
1 parent eaf48a9 commit 35e020f
Show file tree
Hide file tree
Showing 103 changed files with 2,685 additions and 1,528 deletions.
11 changes: 4 additions & 7 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# LIST OF TODOs

[ ] - reimagine the pointIndex system, its too slow for javascript (but perfect for lower langauges
[ ] - reimagine the point(Index|Cluster) system, its too slow for javascript (but perfect for lower langauges
that have u64 support)
[ ] - bin -> toS2JSON, toRasterTiles, & toVectorTiles
[ ] - toVectorTiles
[ ] - bin -> toRasterTiles, & toVectorTiles
[ ] - readers
[ ] - - KML, KMZ, GML, & GPX
[ ] - - LAS/LAZ
[ ] - - image -> png
[ ] - geometry tools (lookup readme in geometry folder)
[ ] - support missing projections in proj4 found in c++ implementation
[ ] - grib 2 has missing templates

[ ] - interpolation tools
[ ] - Grib2 has missing templates

[ ] - translations [BCP-47 language code] [ISO 639-1 language code]

[ ] - fix all enums (search "enum not emitted esbuild" in ChatGPT for the answer on the build fix)
[ ] Tile readers should support a 'lon-lat' lookup where it finds the RGBA or elevation at said lon-lat. Maybe take an input VectorGeometry, so all points will get the Elevation interface injected.
Binary file modified bun.lockb
Binary file not shown.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@skypack/package-check": "^0.2.2",
"@types/all-the-cities": "^3.1.3",
"@types/bun": "^1.1.16",
"@types/node": "^22.10.5",
"@types/node": "^22.10.6",
"@types/tmp": "^0.2.6",
"@webgpu/types": "^0.1.52",
"ajv": "^8.17.1",
Expand All @@ -82,8 +82,8 @@
"badge-maker": "^4.1.0",
"coveralls": "^3.1.1",
"esbuild": "^0.24.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-jsdoc": "^50.6.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-tsdoc": "^0.4.0",
Expand All @@ -99,13 +99,13 @@
"typedoc": "^0.27.6",
"typedoc-plugin-coverage": "^3.4.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1"
"typescript-eslint": "^8.20.0"
},
"dependencies": {
"earclip": "^1.1.1",
"open-vector-tile": "^1.7.0",
"pbf-ts": "^1.0.2",
"s2-tilejson": "^1.8.5",
"open-vector-tile": "^1.7.2",
"pbf-ts": "^1.0.3",
"s2-tilejson": "^1.9.5",
"s2json-spec": "^1.7.3",
"sharp": "^0.33.5"
}
Expand Down
1 change: 0 additions & 1 deletion src/converters/README.md

This file was deleted.

8 changes: 4 additions & 4 deletions src/converters/toJSON/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export interface ToJSONOptions {
*
* Usage:
* ```ts
* import { toJSON, JSONReader } from 'gis-tools'
* import { FileReader, FileWriter } from 'gis-tools/file'
* import { toJSON, JSONReader } from 'gis-tools-ts'
* import { FileReader, FileWriter } from 'gis-tools-ts/file'
*
* const fileReader = new FileReader(`${__dirname}/fixtures/points.geojson`);
* const jsonReader = new JSONReader(fileReader);
Expand Down Expand Up @@ -72,8 +72,8 @@ export async function toJSON(
*
* Usage:
* ```ts
* import { toJSON, JSONReader } from 'gis-tools'
* import { FileReader, FileWriter } from 'gis-tools/file'
* import { toJSON, JSONReader } from 'gis-tools-ts'
* import { FileReader, FileWriter } from 'gis-tools-ts/file'
*
* const fileReader = new FileReader(`${__dirname}/fixtures/points.geojson`);
* const jsonReader = new JSONReader(fileReader);
Expand Down
63 changes: 0 additions & 63 deletions src/converters/toTiles/file.ts

This file was deleted.

Loading

0 comments on commit 35e020f

Please sign in to comment.