Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit 9de657e

Browse files
committed
increase triple-geo upload file size
1 parent bc71eb0 commit 9de657e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/main/webapp/js/workbench/extraction-and-loading/triplegeo-controller.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ var TripleGeoCtrl = function($scope, $http, $q, ConfigurationService, Components
312312

313313
var promises = [];
314314

315+
console.log(errFiles);
316+
315317
angular.forEach(files, function(file) {
316318

317319
var deferred = $q.defer();
@@ -339,19 +341,26 @@ var TripleGeoCtrl = function($scope, $http, $q, ConfigurationService, Components
339341

340342
$q.all(promises).then(
341343
// results: an array of data objects from each deferred.resolve(data) call
344+
342345
function(results) {
346+
347+
console.log(results);
348+
343349
var normalized = new Array();
344350
for(var i in results){
345351
var r = results[i];
346352
for(var k in r)
347353
normalized[k] =r[k];
348354

349355
}
356+
console.log(files);
357+
console.log(normalized);
350358
validateFiles(files, normalized);
351359
uploading=false;
352360
},
353361
// error
354362
function(response) {
363+
355364
uploading=false;
356365
}
357366
);
@@ -361,9 +370,6 @@ var TripleGeoCtrl = function($scope, $http, $q, ConfigurationService, Components
361370
if(files==null) return;
362371
var fileName = "";
363372

364-
console.log(files);
365-
console.log(responseMap);
366-
367373
$scope.files=files;
368374
// validate esri
369375
if ($scope.options.job === "esri"){

src/main/webapp/js/workbench/extraction-and-loading/triplegeo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h5 class="green bold">TripleGeo Configuration</h5>
4949
</div>
5050
<div class="col-xs-8">
5151

52-
<button ngf-select="uploadFiles($files, $invalidFiles)" multiple accept="*/*" ngf-max-height="1000" ngf-max-size="1MB">Select Files</button>
52+
<button ngf-select="uploadFiles($files, $invalidFiles)" multiple accept="*/*" ngf-max-height="1000" ngf-max-size="1GB">Select Files</button>
5353
<ul ng-show="isUploading()">
5454
<li ng-repeat="f in files" style="font:smaller">{{f.name}} {{f.$errorParam}}
5555
<span class="progress" ng-show="f.progress >= 0">

0 commit comments

Comments
 (0)