Spatial Join

Join attributes from Layer B into Layer A using Intersect, Within, Contains, or Nearest (with threshold). Entirely in your browser.

No upload Joins & Aggregations Standards‑based
Tip: Choose a Relation and Join type. Use Scan Attributes to pick which fields from B to bring into A. For multiple matches per A, enable Aggregations (sum/avg/min/max/count) or pick the first match.
decimals
Applied to output coordinates.
meters (0 = unlimited)
Nearest pairs A→B by great‑circle distance; set a threshold to filter far matches.
Aggregations (numeric fields only):
Layer A (receives attributes)
Layer B (provides attributes)
Result
No data yet.
Output: GeoJSON
Map Preview
Notes:
  • Spatial Join writes B fields into A features. For Nearest, distance is great‑circle; optionally stored as distance_m.
  • For Intersection geometry, result geometry is A ∩ B when a match exists; otherwise A geometry may be null (toggle drop nulls).
  • To improve performance, reduce feature counts and simplify geometries before joining.