Correctly accept custom options for formats in ogr.js
This commit is contained in:
parent
d680da0548
commit
4f8fa92272
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user