跳转至

Geometries have intersection(几何体相交(Geometries have intersection))

Supported in: Batch, Faster, Streaming

Determines if two geometries intersect.

Expression categories: Geospatial

Declared arguments

  • Geometry a: Geometry a.
    Expression\
  • Geometry b: Geometry b.
    Expression\

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Geometry a: geometry_a
  • Geometry b: geometry_b
geometry_a geometry_b Output
{"coordinates":[[[-112.94377956164206,34.81725414459382],[-112.94377956164206,30.006795384733323], [... {"coordinates":[[[-103.78627755867336,33.162750522563925],[-103.78627755867336,28.29724741894266],[-... true
{"coordinates":[[[0.3651446504365481,15.159518507965103],[0.3651446504365481,13.427462911044273],[3.... {"coordinates":[[[5.656394524666183,13.405417496831944],[5.656394524666183,11.29869961209053],[8.551... false


中文翻译


几何体相交(Geometries have intersection)

支持:批量计算(Batch)、快速计算(Faster)、流式计算(Streaming)

判断两个几何体是否相交。

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

声明的参数

  • 几何体 a(Geometry a): 几何体 a。
    表达式\
  • 几何体 b(Geometry b): 几何体 b。
    表达式\

输出类型: 布尔值(Boolean)

示例

示例 1:基础案例

参数值:

  • 几何体 a(Geometry a): geometry_a
  • 几何体 b(Geometry b): geometry_b
geometry_a geometry_b 输出(Output)
{"coordinates":[[[-112.94377956164206,34.81725414459382],[-112.94377956164206,30.006795384733323], [... {"coordinates":[[[-103.78627755867336,33.162750522563925],[-103.78627755867336,28.29724741894266],[-... true
{"coordinates":[[[0.3651446504365481,15.159518507965103],[0.3651446504365481,13.427462911044273],[3.... {"coordinates":[[[5.656394524666183,13.405417496831944],[5.656394524666183,11.29869961209053],[8.551... false