diff --git a/services/importer/lib/importer/ogr2ogr.rb b/services/importer/lib/importer/ogr2ogr.rb index b459518ac1..b94369c4df 100644 --- a/services/importer/lib/importer/ogr2ogr.rb +++ b/services/importer/lib/importer/ogr2ogr.rb @@ -180,6 +180,7 @@ module CartoDB # Inverse of the selection: if I want guessing I must NOT leave quoted fields as string [ '-oo', 'AUTODETECT_TYPE=YES', + '-oo', 'AUTODETECT_SIZE_LIMIT=20000000', '-oo', "QUOTED_FIELDS_AS_STRING=#{quoted_fields_guessing ? 'NO' : 'YES'}" ] + x_y_possible_names_option + ['-s_srs', 'EPSG:4326', '-t_srs', 'EPSG:4326'] end