Use Case
|
ODBC / SQL
|
SA
|
---|---|---|
Writing data
|
Convert coordinates to geohashes by using the GEO* SQL functions.
Write the geohash values by using the VARCHAR datatype.
|
Convert coordinates to geohashes by using the SaGeo* C-functions. For exact function interfaces see the header file include\sa.h.
Write the geohash values by using the VARCHAR datatype.
|
Reading data
|
Find data either regularly or by getting a set of matching geohash values by using the GEO_INSIDE predicate.
|
Find data by using regular SA functions. Neighboring geohash blocks, or multiple geohash blocks within borders, must be implemented by the application
|