NOTICE: All information contained herein is, and remains
the property of TechnoCore Automate.
Updated : 2026-03-16
ObjServiceOSM provides geocoding via OpenStreetMap's Nominatim
service (through the geopy library). Converts addresses to
GPS coordinates and vice versa.
No API key required. Rate limit: 1 request per second (enforced
by Nominatim's usage policy).
Forward geocode — address string to (latitude, longitude).
Returns (0.0, 0.0) if not found.
Reverse geocode — coordinates to full address string.
Returns empty string if not found.
| Command | Context Keys | Result Keys |
|---|---|---|
geocode |
address |
_osm_latitude, _osm_longitude, _osm_result |
reverse |
latitude, longitude |
_osm_address, _osm_result |
# Forward geocode
python ObjServiceOSM.py geocode "Norita, Cape Town"
# Reverse geocode
python ObjServiceOSM.py reverse -33.94 18.51
geopy — Nominatim geocoder wrapperfrom ObjServiceOSM import ObjServiceApi
svc = ObjServiceApi()
lat, lon = svc.address_to_geo("Cape Town")
print(f"{lat}, {lon}")
address = svc.geo_to_address(-33.94, 18.51)
print(address)
Updated : 2026-03-16
cythonize -3 -a -i ObjServiceOSM.py
Compiling /home/axion/projects/axion/factory.service/package.core/ObjServiceOSM.py because it changed..[1/1] Cythonizing /home/axion/projects/axion/factory.service/package.core/ObjServiceOSM.py
Updated : 2026-03-16