Merge pull request #462 from CartoDB/export-ogr-add-resize-param

Add RESIZE=yes param to shapefiles export
This commit is contained in:
Rafa de la Torre 2018-02-27 11:16:51 +01:00 committed by GitHub
commit 99a8a82e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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,