Dowser. Elasticsearch. Codec. GeoPoint
(Dowser.Elasticsearch v0.4.1)
View Source
geo_point — the %{"lat" => _, "lon" => _} object form <-> a {lat, lon}
tuple.
Other Elasticsearch forms (string "lat,lon", [lon, lat], geohash) pass
through untouched — write your own codec over geo_point to handle them.