Convert addresses to coordinates, reverse-geocode coordinates to addresses, store and query geofences, and check point-in-polygon membership. Caches results in Postgres for fast lookups. Google Maps integration is planned; current version uses open geocoding providers (Nominatim, Photon).
Set your license key with nself license set nself_pro_... before installing.
nself license set nself_pro_...
nself plugin install geocoding
nself build
nself startcurl "http://127.0.0.1:3203/geocoding/forward?address=1600+Pennsylvania+Ave+NW,+Washington+DC"curl "http://127.0.0.1:3203/geocoding/reverse?lat=38.8977&lng=-77.0365"curl -X POST http://127.0.0.1:3203/geocoding/geofences \
-H "Content-Type: application/json" \
-d '{
"name": "Office Campus",
"type": "circle",
"center": {"lat": 37.7749, "lng": -122.4194},
"radius_meters": 500
}'| Endpoint | Method | Description |
|---|---|---|
/geocoding/forward | GET | Convert address string to lat/lng coordinates |
/geocoding/reverse | GET | Convert lat/lng to address string |
/geocoding/batch | POST | Batch geocode an array of addresses |
/geocoding/geofences | GET, POST | List or create geofences |
/geocoding/geofences/:id | GET, DELETE | Read or delete a geofence |
/geocoding/geofences/check | POST | Check if a point falls inside any stored geofence |
/health | GET | Plugin health check |
nself plugin remove geocodingPort: 3203 | Category: Geo | Last Updated: April 2026 | Plugin Version 1.1.1