GeoStore for Terraformer, helps a geo-database toolkit
This package is part of the Terraformer project.
Terraformer.GeoStore is a class built for handing lightweight storage and querying of large amounts of GeoJSON Features. It is very fast and index the rough US counties data (about 950k) in about 120ms and search for which county contains a point in about 6.5ms. These numbers are form the latest version of Chrome.
$ npm install terraformer-geostore$ npm install terraformer-geostore-rtree$ npm install terraformer-geostore-memory
In the browser, Terraformer is required.
You can use Bower to install the components if you like or download them and host them yourself.
$ bower install terraformer-geostore$ bower install terraformer-geostore-rtree$ bower install terraformer-geostore-memory
For a full guide to GeoStore check out the Terraformer website.
var store =store:index:;// Add a GeoJSON featurestore;// You can also add FeatureCollections of multiple Featuresstore;// ask the store which features are within a given polygon.store;
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.