diff --git a/NEWS.md b/NEWS.md index cde41757..65698b2a 100644 --- a/NEWS.md +++ b/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 diff --git a/app/models/formats/ogr.js b/app/models/formats/ogr.js index 80b1a7da..8d1f2fbe 100644 --- a/app/models/formats/ogr.js +++ b/app/models/formats/ogr.js @@ -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,