--no-progress needed. do not use full path for osmium.

This commit is contained in:
Greg Knisely 2018-03-01 14:38:01 -05:00
parent 81f9d702e4
commit 4d5fd847cf

View File

@ -182,8 +182,8 @@ module.exports = function () {
fs.writeFile(`${this.scenarioCacheFile}.geojson`, JSON.stringify(geojson), cb);
}, xml);
var params = ['cat',this.scenarioCacheFile,'-O','-o',this.scenarioCacheFilePBF, '--no-progress'];
q.defer(child_process.execFile,'/usr/local/bin/osmium', params, {maxBuffer: 1024 * 1024 * 1000, env: {}});
var params = ['cat',this.scenarioCacheFile,'-O','-o',this.scenarioCacheFilePBF];
q.defer(child_process.execFile,'osmium', params, {maxBuffer: 1024 * 1024 * 1000, env: {}});
q.awaitAll(callback);
});
}