Terraformer Open Source Geometry for Javascript
summary
Terraformer is an open source JavaScript geo toolkit on GitHub that parses GeoJSON WKT ArcGIS JSON natively, converts large WKT blobs (the Waldo Canyon polygon ~117k) to GeoJSON in ~20 ms on Node, and implements geometric ops—intersections, convex hulls, circle approximations—purely in JS. It exposes a geostore with pluggable indexes (array, super-array, R-tree), with benchmarked throughputs ~2267 ops/s (array), ~4834 ops/s (super-array), ~4080 ops/s (R-tree). It runs in browser and Node and powers a timezone lookup that loads ~93 MB in ~5 s and answers queries in ~2 ms.
AI-written summary · about
chapters (14)
- 0:00Terraformer introduction
- 1:18GeoJSON and WKT support
- 3:07Geographic primitives
- 5:14Polygon intersections
- 8:08GeoStore introduction
- 10:19Custom indexes
- 15:28Super array index
- 18:21Indexing benchmarks
- 21:32Terraformer environments
- 24:21Format conversion
- 26:46Time zone lookup
- 29:18Open source contributions
- 31:51WKT parser plans
- 33:44Browser compatibility
related talks
22mWrangling GeoTIFFs in the browser
29mReducing the world with JavaScript
22mState of TerriaJS
36mAlgorithmic performance optimization in practice
17mIs the turf(js) greener on the other side?
28mTerraforming Minecraft
26mEverything you never wanted to know about maps
27mMagic Wand for surface generation - Voxels with JS
