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

intersection

Finds the GeoJSON geometry that makes up the intersection of two other geometries.

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 - - - - - - -
MultiPolygon - - - - - - -
BoundingBox - - - - - - -