تخطَّ إلى المحتوى

geocoding

هذا المحتوى غير متوفر بلغتك بعد.

Forward and reverse geocoding with haversine distance calculation and geofence storage and events. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install geocoding

The geocoding plugin provides forward geocoding (address to coordinates) and reverse geocoding (coordinates to address) through a pluggable provider backend. It stores geofences and emits entry and exit events when coordinates cross defined boundaries, with haversine distance calculations available for proximity queries.

Env VarDefaultDescription
GEOCODING_PORT3203Port the service listens on
GEOCODING_PROVIDERnominatimGeocoding provider: nominatim, google, or mapbox
GEOCODING_API_KEYnoneAPI key for Google or Mapbox providers (not required for Nominatim)
PortPurpose
3203Geocoding REST API

4 tables added to your Postgres database:

  • np_geocoding_addresses
  • np_geocoding_geofences
  • np_geocoding_cache
  • np_geocoding_events
RouteTarget
/api/geocoding/localhost:3203