Grid Functions - Spectrum_Location_Intelligence_for_Big_Data - 5.2.1

Location Intelligence SDK for Big Data Guide

Product type
Software
Portfolio
Locate
Product family
Spectrum
Product
Spatial Big Data > Location Intelligence SDK for Big Data
Version
5.2.1
Language
English
Product name
Location Intelligence for Big Data
Title
Location Intelligence SDK for Big Data Guide
Copyright
2024
First publish date
2015
Last updated
2024-10-16
Published on
2024-10-16T13:55:01.634374

A grid is a way of dividing the surface of the earth into contiguous cells with no gaps in between. This makes grids particularly useful for spatial indexing and aggregating.

Location Intelligence SDK for Big Data provides Spark SQL user defined functions (UDF) for hashing that allow you to manage grid cells for a variety of use cases. Hashing is a way of encoding and decoding the grid cell using the cell boundary and a unique identifier.

We provide three types of UDFs for processing three grid cell shapes:
  • rectangular (geohash)
  • hexagon (hexagon hash)
  • square (square hash)
Hashes are useful for analysis and interoperability with other systems.

Square hash is like GeoHash but has the advantage that when displayed in Popular Mercator, the cells appear as squares.

Hexagons are often used in telecommunication solutions as they approximate circles while covering the surface of the earth without gaps.

The following Grid index functions are available: