A Simple rtree based parser, in memory search, and point in polygon detection
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
counties.json
geojson.js
index.js
rtree.js

README.md

ArrrTree

A very simple Javascript engine to determine whether a point is within a polygon.

Running the Sample

$ node index.js

Caveats

  • It does not bother with 1/-1 latitude/longitude boundaries
  • It was written in about 2 hours
  • One of those hours was with a fever
  • Multipolygon point in polygon may not work right now