Given a defined (lat, lon) geo-point I'm trying to find in which polygon this point lies in. I suppose iterating over all the polygons is not efficient. Is there available any function or library for NodeJS that does this?
const polygon = getPolygonFromPoint(FeatureCollection, x, y);
There are no overlapping polygons, actually I'm using this to detect in which district of a certain country a defined GPS coordinates point lies in.