Merge pull request #462 from CartoDB/export-ogr-add-resize-param
Add RESIZE=yes param to shapefiles export
This commit is contained in:
commit
99a8a82e02
5
NEWS.md
5
NEWS.md
@ -1,8 +1,11 @@
|
||||
#Changelog
|
||||
# Changelog
|
||||
|
||||
## 1.48.1
|
||||
Released 2018-mm-dd
|
||||
|
||||
Announcements:
|
||||
* Added `RESIZE=yes` param to gdal shapefile driver, wich optimizes size of exported shapefiles [#462](https://github.com/CartoDB/CartoDB-SQL-API/pull/462)
|
||||
|
||||
|
||||
## 1.48.0
|
||||
Released 2018-02-12
|
||||
|
@ -145,6 +145,7 @@ OgrFormat.prototype.toOGR = function(options, out_format, out_filename, callback
|
||||
|
||||
var ogrargs = [
|
||||
'-f', out_format,
|
||||
'-lco', 'RESIZE=YES',
|
||||
'-lco', 'ENCODING=UTF-8',
|
||||
'-lco', 'LINEFORMAT=CRLF',
|
||||
out_filename,
|
||||
|
Loading…
Reference in New Issue
Block a user