Loading

HHCODE.EAST

geo

The HHCODE.EAST function returns the cell east of the given one at the given resolution.

It will first convert the HHCode to the resolution and then compute the new cell.

The function accepts 3 different types of HHCode and will return the same type for the resulting HHCode.

Since 2.6.0, the resolution is optional. In that case the length of the input is used to determine the resolution.

HHCODE.EAST is available since version 2.4.0.

See also

Signatures

Examples

// Using a LONG HHCode format 0xb570f97231462cd7 24 HHCODE.EAST // Using a STRING HHCode format 'b570f97231462cd7' 24 HHCODE.EAST // Using a bytes array HHCode format (bytes arrays can not be represented) 0xb570f97231462cd7 8 ->LONGBYTES 24 HHCODE.EAST