Geo Entities Kit

Location-aware entity management with coordinates and geocoding.

0/5 complete
Entity Processing Steps
Initialize CRSSet up WGS84 coordinate reference system200ms
Load entitiesFetch geo-entities from data store600ms
Validate coordinatesCheck lat/lng bounds and precision400ms
Build spatial indexCreate R-tree for fast lookups800ms
Geocode addressesResolve address strings to coordinates1200ms

Integration Code

import { createGeoStore } from 'agent-tools-kit/spatial'

const geo = createGeoStore({
  crs: 'wgs84',
  geocoding: true,
})

await geo.addEntity({
  id: 'store-1',
  type: 'retail',
  lat: 40.7128,
  lng: -74.0060,
})

const nearby = await geo.query({
  type: 'radius',
  center: [40.71, -74.00],
  radius: 50,
})