{"repo":"dpmcmlxxvi/pouchdb-geospatial","free":true,"listed":false,"github":"https://github.com/dpmcmlxxvi/pouchdb-geospatial","clone":"git clone https://github.com/dpmcmlxxvi/pouchdb-geospatial.git","description":"PouchDB geospatial query plugin.","language":"JavaScript","stars":21,"topics":["pouchdb","geospatial","plugin","geojson","de-9im","database","query","spatial"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"[PouchDB Geospatial][pouchdb-geospatial-github] The [PouchDB][pouchdb-site] Geospatial plugin provides spatial querying of [GeoJSON][geojson-site] objects. GeoJSON objects within a PouchDB database can be queried against an input GeoJSON object to test if they satisfy one of the [DE-9IM][de9im-wiki] spatial predicates: contains , coveredby , covers , crosses , disjoint , equals , intersects , overlaps , touches , within . Any GeoJSON object inserted into the database via the the plugin API is spatially indexed using an [R-Tree][rtree-wiki]. Spatial queries are then processed by querying the R-Tree for candidate geometries and the final query results are returned after the candidates are filtered by the appropriate spatial predicate. The spatial indexing is performed by [RBush][rbush-github] and geospatial predicates are computed with [de9im][de9im-github]. A sample of how to use the plugin is available at the [examples page][pouchdb-geospatial-examples]. The API is described below and at the [documentation page][pouchdb-geospatial-api]. USAGE In browser To use this plugin, include it after pouchdb.js in your HTML page. This plugin has two dependencies not bundled with it that must be included [Turf][turf-github] and [de9im][de9im-github]. In Node To use it in Node, install it then attach it to the PouchDB object: Create database The plugin methods are exposed via an object API. All methods return promises. API Database methods The database methods accept the same options and ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dpmcmlxxvi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dpmcmlxxvi/pouchdb-geospatial/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}