Skip to content
minimalistic spatial calculation library
Find file
Pull request Compare This branch is even with PatrickHeneise:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
package.json
sparta.js

README.md

sparta

sparta is a minimalistic spatial calculation library for node.js. Currently it supports the calculation of bounding boxes based on the python code from Federico Ramponi (http://stackoverflow.com/a/238558). More features coming soon.

usage

  sparta = require('sparta')
  // return a bounding box of Placa Catalunya, Barcelona with a radius of 1km.
  sparta.boundingBox(41.386549,2.170004,1);

test

  npm install mocha should
  mocha
Something went wrong with that request. Please try again.