mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-11-26 07:33:00 +00:00
identify: fix actual size
This commit is contained in:
parent
d5ebdb632d
commit
2b164ea633
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import Terrain50 from 'terrain50';
|
|||
function summarise_obj(obj) {
|
||||
console.log(`Format: ASC`);
|
||||
console.log(`Claimed size: ${obj.meta.ncols}x${obj.meta.nrows}`);
|
||||
console.log(`Actual size: ${obj.data.length}x${obj.data[0].length}`);
|
||||
console.log(`Actual size: ${obj.data[0].length}x${obj.data.length}`);
|
||||
console.log(`Lower-left corner: (${obj.meta.xllcorner}, ${obj.meta.yllcorner})`);
|
||||
console.log(`Cell size: ${obj.meta.cellsize}`);
|
||||
if(typeof obj.meta.NODATA_value !== "undefined")
|
||||
|
|
Loading…
Reference in a new issue