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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

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

asp.net mvc - breakpoint on javascript in CSHTML? -