This module status is currently beta, the API may change in the future.
The functionality and parameters are specific to Pelias, only use this module if you know what you're doing.
This requires that the quattroshapes data has already been imported and the indeces have been refreshed and ready for querying
$ npm install pelias-hierarchy-lookup
var lookup =stream = lookupthrough = ;stream;var centroid = lat: 515328850 lon: -00652280 ;stream;stream;
stream() constructor accepts an options object, which configures the behavior of the lookup and may contain any of the following keys:
prop: by default the stream looks for an object containing
lonkeys in a property called
center_point; a different property name can be specified here.
logLevel: the minimum level of log messages that the underlying logger, Winston, will print to the console. Defaults to
error; see all possible options.
pelias-hierarchy-lookup npm module can be found here:
Please fork and pull request against upstream master on a feature branch.
Pretty please; provide unit tests and script fixtures in the
Running Unit Tests
$ npm test
Travis tests every release against node version