solidDB Help : solidDB reference : solidDB SA: Function reference : SaGeoNeighbor
  
SaGeoNeighbor
SaGeoNeighbor returns the geohash value of the neighboring block of the given geohash block. The direction of the neighbor is defined by an integer between 0 and 7 that specifies the direction of an adjacent block by using points of the compass numbered in a clockwise direction. (0 = North, 7 = Northwest).
Synopsis
SaDynStrT SA_EXPORT_H SaGeoNeighbor(char* gh, unsigned int direction)
Parameters
The following table describes the parameters:
 
Parameters
Usage type
Description
gh
in
Geohash string.
direction
in
integer between 0 and 7
Return value
The geohash value of the neighboring block.
Go up to
solidDB SA: Function reference