ogr2ogr csv: Keep output consistent between gdal releases
This commit is contained in:
parent
5a99c28834
commit
a8d10f25ee
@ -149,8 +149,9 @@ OgrFormat.prototype.toOGR = function (options, outFormat, outFilename, callback)
|
||||
|
||||
var ogrargs = [
|
||||
'-f', outFormat,
|
||||
'-lco', 'RESIZE=YES',
|
||||
'-lco', 'ENCODING=UTF-8',
|
||||
'-lco', 'RESIZE=YES', /* shapefile */
|
||||
'-lco', 'ENCODING=UTF-8', /* shapefile */
|
||||
'-lco', 'STRING_QUOTING=IF_NEEDED', /* csv: Match gdal 2.2 behaviour */
|
||||
'-lco', 'LINEFORMAT=CRLF',
|
||||
outFilename,
|
||||
'PG:host=' + dbhost + ' port=' + dbport + ' user=' + dbuser + ' dbname=' + dbname + ' password=' + dbpass,
|
||||
|
Loading…
Reference in New Issue
Block a user