This package stores a definition of our standard data model. It allows for a common format for geographic records across multiple databases and other packages.
$ npm install pelias-model
Document model is a convenient way of modelling POI and admin records so that they are compatible with the Pelias import pipeline.
Using this model ensures that your import script will continue to work even when the underlying schema changes.
var Document = Document;var poi = 'geoname' 'venue' 1003;console;
_meta property is unenumerable, so you won't see it when you
JSON.stringify the object, don't worry it's still there:
var poi = 'geoname' 'venue' 1003 ;poi;console;
pelias-model 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 all supported Node.js versions.
We rely on semantic-release and Greenkeeper to maintain our module and dependency versions.