node-hgt
node-hgt copied to clipboard
Doesn't handle hgt files of a no standard size.
E.g., S44W177.hgt is 2801664 bytes instead of the usual 2884802 and that breaks the system.
Hi, to my knowledge there is no way to know the resolution except looking at the file size (https://github.com/perliedman/node-hgt/blob/master/src/hgt.js#L16), so currently there is no way for us to handle a file like that.
I am open to suggestion on how to handle this, PRs welcome if this important to you!