Optional
format?: GeoS2FormatIf set to "latLngDouble"
, each latitude and longitude value is stored
as an 8-byte floating-point value (16 bytes per coordinate pair).
If set to "latLngInt"
, each latitude and longitude value is stored as
a 4-byte integer value (8 bytes per coordinate pair).
If set to "s2Point"
, each longitude-latitude pair is stored in the
native format of Google S2 (24 bytes per coordinate pair).
Default: "latLngDouble"
Optional
options?: { Options for fine-tuning geo queries.
Default: { maxCells: 20, minLevel: 4, maxLevel: 23 }
Optional
maxOptional
maxOptional
minOptional
type?: GeoTypeIf set to "centroid"
, only the centroid of the input geometry will be
computed and indexed.
If set to "point"
only GeoJSON objects of type Point will be indexed and
all other geometry types will be ignored.
Default: "shape"
(Enterprise Edition only.) Options for creating a Geo S2 Analyzer