coordinates - How to convert geometry type to latitude x longitude in Ruby -
the postgressql
dbms has st_tranform
method convert coordinate stored hash (geometry column type) in latitude , longitude, how implement in ruby
, or exists lib developed feature?
hashed coordinates called geohash https://en.wikipedia.org/wiki/geohash
this geohash converter ruby https://github.com/davetroy/geohash can decode geohash this:
geohash.decode('f77') => [63.98438, -73.82813]
Comments
Post a Comment