Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var pts = // my point featurecollection
var polys = // my poly featurecollection
pts.features = pts.features.filter(function(pt){
var isInside = false
if(turf.inside(pt, poly)) isInside = true
return isInside
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment