Correctly accept custom options for formats in ogr.js

This commit is contained in:
Javier Torres 2017-01-11 19:03:11 +01:00
parent d680da0548
commit 4f8fa92272

View File

@ -162,7 +162,7 @@ OgrFormat.prototype.toOGR = function(options, out_format, out_filename, callback
}
if (options.cmd_params){
ogrargs.concat(options.cmd_params);
ogrargs = ogrargs.concat(options.cmd_params);
}
ogrargs.push('-nln', out_layername);