JS API
Map Object
QueryEngine Object
Layer Object
Feature Object
Query Object
GeoJson Function Library (Experimental)

intersects

Determines whether two GeoJSON geometries intersect as a boolean.

Parameters

Name Required Description
geometry1 Yes Any GeoJSON geometry object.
geometry2 Yes Any GeoJSON geometry object.

Currently Implemented

At present this function is only implemented for the geometry types in the table below.

geometry2
Point MultiPoint LineString MultiLineString Polygon MultiPolygon BoundingBox
geometry1
Point - - - - - - -
MultiPoint - - - - - - -
LineString - - YES - - - -
MultiLineString - - - - - - -
Polygon - - - - YES - -
MultiPolygon - - - - - - -
BoundingBox - - - - - - YES