You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great package, very useful. I have a slight issue though, when there are multiple zip files coming from imagico it only seems to process the first one..
var last;
for (var z in tileZips) {
tempPath = path.join(os.tmpdir(), tileZips[z].name);
stream = fs.createWriteStream(tempPath);
last = this._download(tileZips[z].link, stream);
}
return last;
I'm sure this isn't the most elegant solution :P
The text was updated successfully, but these errors were encountered:
Hi,
Great package, very useful. I have a slight issue though, when there are multiple zip files coming from imagico it only seems to process the first one..
https://github.com/perliedman/node-hgt/blob/master/src/imagico.js#L32
Then it throws an error trying to read a file from the 2nd zip file. For example using..
[44.81211, 6.172401], [45.8805, 6.553799].
Two files are returned from imagico..
A quick work around that seems to work is
I'm sure this isn't the most elegant solution :P
The text was updated successfully, but these errors were encountered: