transportation
Version:
Import GTFS into a semantic model
15 lines (13 loc) • 325 B
JavaScript
const ShapesList = require('../lib/list.shape')
const tconsole = require('tconsole')
module.exports = {
fields: {
ID: function () { return this.id },
Points: function () { return this.length }
},
test: function () {
return this instanceof ShapesList
},
insert: tconsole.insert.Array,
headers: true
}