@@ -38,17 +38,21 @@ const { s2 } = require('s2js')
3838
3939s2js is a full-featured JavaScript/TypeScript port of Google's S2 Geometry library. It supports:
4040
41- | Feature | Supported? | Notes |
42- | ----------------------------------| :---------:| :------|
43- | ** CellId, Cell** | ✅ | Encoding, decoding, neighbors |
44- | ** Point, LatLng** | ✅ | Spherical & Planar projections |
45- | ** Loop, Polygon** | ✅ | Polygons, potentially with holes |
46- | ** Polyline** | ✅ | Represents linear paths |
47- | ** RegionCoverer** | ✅ | Cover regions (loops, polys) with S2 cells |
48- | ** GeoJSON <> S2 conversions** | ✅ | Supports all GeoJSON geometry types |
49- | ** Polygon contains/intersects** | ✅ | Point-in-polygon & shape intersection |
50- | ** Union, Intersection, Difference** | ✅ | Basic boolean polygon operations |
51- | ** BigInt cell/token conversion** | ✅ | Handles full 64-bit cell IDs |
41+ | Feature | Supported? | Notes |
42+ | ----------------------------------- | :--------: | :----------------------------------------- |
43+ | ** CellId, Cell** | ✅ | Encoding, decoding, neighbors |
44+ | ** Point, LatLng** | ✅ | Spherical & Planar projections |
45+ | ** Loop, Polygon** | ✅ | Polygons, potentially with holes |
46+ | ** Polyline** | ✅ | Represents linear paths |
47+ | ** RegionCoverer** | ✅ | Cover regions (loops, polys) with S2 cells |
48+ | ** GeoJSON <> S2 conversions** | ✅ | Supports all GeoJSON geometry types |
49+ | ** Polygon contains/intersects** | ✅ | Point-in-polygon & shape intersection |
50+ | ** Union, Intersection, Difference** | ✅ | Basic boolean polygon operations |
51+ | ** BigInt cell/token conversion** | ✅ | Handles full 64-bit cell IDs |
52+ | ** CellIndex, ClosestCellQuery** | ✅ | Query a list of cells with various shapes |
53+
54+
55+ TODO: ADD CLOSESTEDGEQUERY HERE
5256
5357### Feature Completeness
5458
0 commit comments