I use a python module I created that does tests for point in polygon.
It uses the python osgei/ogr and osr modules.
Specifically, I use the following elements of these modules:
osr.SpatialReference() (with ImportFromEPSG4326 and InputFromEPSG3857)
osr.CoordinateTransformation()
ogr.Geometry() (with ogr.wkbLinearRing, ogr.wkbPoint and ogr.wkbPolygon)
The software using these osr/ogr capabilities needs to be translated to be a node.js module.
Is anyone aware of an existing node.js osr/ogr 'wrapper' (or for generic javascript)?
Best Answer
There is a node.js module and not just for ogr and osr but for the whole of gdal. You can find the repository here.