Skip to main content

Spatial Join

Each feature with the columns of a feature of the other table it intersects, lies within, or contains, as Noodles' spatial join: the first match, and a same-named column takes the match's value. Features with no match keep their own columns and nulls.

Syntax​

{ "id": "n1", "op": "spatial-join", "name": "spatial-join", "x": 0, "y": 0, "params": {} }

An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out".

Inputs​

PortTypeTakes
intableone edge
jointableone edge

Parameters​

ParameterKindDefaultChoices
predicatemenu"intersects"intersects, within, contains
prefixstring""

Outputs​

PortType
outtable

Details​

  • Category: Geometry
  • Operator: spatial-join

Older projects​

Projects saved before documents used operator classes. These convert to spatial-join when they open: SpatialJoinOp.