Modes
Preview Mode
Test operations with instant visual feedback. Results are computed locally using Turf.js for a quick approximation.Preview mode results may not exactly match verified results due to differences in how Turf.js and PostGIS perform geospatial computations, but they should be approximately the same.
- Select an operation from the dropdown
- Drag markers or draw shapes on the map
- See the preview result update in real-time
- Click Get Verified Result to compute via PostGIS
Policy Builder Mode
Create and publish attestations onchain.- Switch to Policy Builder tab
- Connect your wallet
- Select your target chain (Base Sepolia, Sepolia, Base, or Ethereum)
- Enter a schema UID (defaults provided for numeric/boolean operations)
- Configure your geometries
- Click Get Verified Result to compute
- Click Publish to Chain to submit the attestation via EAS
Operations
| Operation | What it does | Inputs |
|---|---|---|
| Distance | Meters between two points | 2 points |
| Within | Is point A within radius of point B? | 2 points + radius (m) |
| Contains | Is the point inside the polygon? | polygon + point |
| Intersects | Do geometries overlap? | 2 geometries |
| Area | Square meters of a polygon | polygon |
| Length | Meters of a line | linestring |
Working with the Map
Points — Drag markers directly on the map. Polygons & Lines — Enable map editing to use drawing tools:- Click the polygon/line tool in the top-left
- Click to place vertices
- Double-click to finish
- Click vertices to edit, drag to move
GeoJSON Editor
The GeoJSON tab lets you paste or edit geometries directly:Point, Polygon, LineString.
Code Snippets
The SDK and cURL tabs show integration code that updates as you configure your operation. Copy these directly into your project.Quickstart
Ready to integrate? Follow the quickstart guide.