跳转至

Get XZ curve index of an envelope(获取包络线的XZ曲线索引(XZ curve index))

Supported in: Batch, Streaming

Encodes the envelope in an XZ curve.

Expression categories: Geospatial

Declared arguments

  • Curve preset: Specifies the curve preset to use, higher resolution curves are more expensive to query but produce fewer false positives.
    Enum\
  • Envelope: Geometry envelope to index with longitude mapped to x, and latitude mapped to y.
    Expression\

Output type: Long

Examples

Example 1: Base case

Argument values:

  • Curve preset: LON_LAT_10KM
  • Envelope: envelope
envelope Output
{
 maxLat -> 2.0,
 maxLon -> 3.0,
 minLat -> 0.0,
 minLon -> 1.0,
}
16777222
{
 maxLat -> 2.0,
 maxLon -> 3.0,
 minLat -> null,
 minLon -> 1.0,
}
null


中文翻译


获取包络线的XZ曲线索引(XZ curve index)

支持:批处理(Batch)、流处理(Streaming)

将包络线编码为XZ曲线。

表达式类别: 地理空间(Geospatial)

声明的参数

  • 曲线预设(Curve preset): 指定要使用的曲线预设,分辨率越高的曲线查询成本越高,但产生的误报更少。
    枚举类型(Enum)\
  • 包络线(Envelope): 待索引的几何包络线,其中经度映射为x,纬度映射为y。
    表达式(Expression)\

输出类型: 长整型(Long)

示例

示例1:基础情况

参数值:

  • 曲线预设: LON_LAT_10KM
  • 包络线: envelope
envelope 输出
{
 maxLat -> 2.0,
 maxLon -> 3.0,
 minLat -> 0.0,
 minLon -> 1.0,
}
16777222
{
 maxLat -> 2.0,
 maxLon -> 3.0,
 minLat -> null,
 minLon -> 1.0,
}
null