地理编码csv
用于接收 CSV 文本文件并对每一行进行地理编码的 Node.js 模块
var geocodeCSV = require('./app/data/geocode');
opts = {
addressStringAccessor: creatorFunction,
interval: 1200,
test: true
}
function creatorFunction(rowData) {
return rowData.address + ", " + rowData.city + " " + rowData.state;
}
geocodeCSV('./app/data/cost.txt', './app/data/costgeocoded.txt', opts);
评论0
最新资源