← All nodes
Filter

Point in Polygon

Keeps the rows whose coordinates fall inside an area you paste (GeoJSON, WKT or a list of points) — or outside it, or keeps all rows and marks them.

When to use it

Use it to keep only service-area rows, split customers by region boundary, or check deliveries against a zone.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
Latitude columnselectYesSelect column…
Longitude columnselectYesSelect column…
AreatextareaYesGeoJSON, WKT POLYGON((lon lat, …)) or [[lon,lat],[lon,lat],…]
Rowsselect—inside
New column nametext—Default: In Area

Example

Keep sites inside central London

  • Latitude column=Lat
  • Longitude column=Lon
  • Area=[[-0.25,51.4],[0.05,51.4],[0.05,51.6],[-0.25,51.6]]
Sites
SiteLatLon
A51.51-0.12
B52.20.12
C51.45-0.2
Inside the area
SiteLatLon
A51.51-0.12
C51.45-0.2

Worth knowing

  • Points are longitude first, as GeoJSON and WKT write them: [[lon, lat], …] or POLYGON((lon lat, …)). GeoJSON Polygon, MultiPolygon, Feature and FeatureCollection all work, holes included.
  • Rows without a usable latitude and longitude are dropped (and counted) when keeping inside or outside; with Keep all they get a blank.
  • Draw an area on geojson.io and paste the result.

Others in Filter