An implementation of the GeoHash encoder for Oracle PL/SQL based on the the work of
GEOHASH_ENCODE( LATITUDE, LONGITUDE, PRECISION )
Parameters
- LATITUDE : Floating point
- LONGITUDE : Floating point
- PRECISION : Optional integer (default: 5)
A varchar2 having a length of the specified precision.
SQL> select GEOHASH_ENCODE( 32.775833, -96.796667 ) GEOHASH from dual;
GEOHASH
---------
9vg4m