Try the engine in your browser
Three demos run the same Rust core as the Python package, compiled to WebAssembly. The cell maths runs in your browser and nothing you enter is sent to a server. The basemap comes from GeoSquare, with Overture Maps and OpenStreetMap data.
Engine build: geosquare-engine main @ df1c381 · WebAssembly crate 0.1.0, built locally for this site.
Find the cell under a point
Click the map, or type coordinates. The cell is drawn. Use the buttons to move up to the parent, down to the children, or to the eight neighbours.
Loading the map and the engine.
Level 12 cells are 50 m wide. Level 14 cells are 5 m wide. Level 0 is left out, because the engine returns an empty GID for it.
| Level | Side | GID |
|---|
CallspointToCellcellPolygonWgs84parentchildrenkRingdecodecellSideM
Zoom out, and cells merge
The demo makes 4,000 random points around Jakarta, using a fixed seed. Points are rolled up to the cell level for the map zoom. Pick how the values are combined.
Loading the engine and building points.
Zoom 14 and up uses level 12. Zoom 11 to 13 uses level 10. Zoom 10 and below uses level 8. Use the map buttons to change the zoom.
The points are synthetic. They are not population data.
CallslevelForZoomcellPolygonsrollupToLevelcellSideM
Check a column of GIDs
Paste a CSV, load a file, or drop one into the box. The checker reads the gid column, or the first column. It flags invalid GIDs, empty cells, duplicates and mixed levels.
This is a browser check. It is not the gsq check command in the Python tool.
Pasted text is read in the browser only. Nothing is uploaded.
Loading the engine.
CallsdecodedetectTable