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

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -