{
  "format": "nativegis-run",
  "version": 1,
  "server": {
    "name": "nativegis-mcp",
    "version": "0.3.0",
    "node": "24.13.0",
    "platform": "win32-x64"
  },
  "recordedAt": "2026-10-31T05:18:05.010Z",
  "epoch": "ddf2a119",
  "notes": "HJA reproducibility showcase R2: benchmark NativeGIS tree detection on the 2008 HJA LiDAR (OpenTopography OTLAS.082011.26910.1 tile bin_100, 750 m window E 565350-566100 N 4900150-4900900) against the published HJA TV081 stem map (tv08117, 1,328,242 trees >= 10 m, FUSION 0.5 m CHM + TreeVaW 3-23 m windows). Reference count confirmed from the file; in-window comparison uses a 20 m inset. Two detector settings: default smoothing (sigma 1) and a stated sensitivity run with smoothing off; nothing was tuned to the reference. Re-recorded from NativeGIS source with the same analysis calls; the map draws the sigma-1 comparison layers under readable names over the run's 0.5 m CHM.",
  "pathsRelative": true,
  "absolutePathsLeft": 0,
  "normalised": [
    "Handles are mapped, not compared: each step runs in a new runtime with a new epoch, and a reference to an earlier step is replaced by that step's new handle.",
    "Output paths are mapped under outputRoot; the folder structure below the common folder of the recorded outputs is kept.",
    "Response numbers are compared exactly (they are already rounded by the tools) except timings (seconds, pointsPerSecond, ms, startedAt, endedAt); strings are not compared.",
    "Output files are compared by sha256 of their bytes, except a GeoPackage (compared by layers, fields, CRS and features: SQLite stamps the write time) and a *.ngis.json project (compared without created/modified).",
    "Input files are compared by sha256 before the step runs (a local EPT folder by a manifest of file names and sizes plus ept.json); an input that was an earlier step's output is checked through that step."
  ],
  "steps": [
    {
      "step": 1,
      "tool": "gis_open",
      "args": {
        "path": {
          "$path": "samples/tv081/x/stem_map.shp"
        },
        "gpsTime": false,
        "maxPoints": 5000000,
        "async": true
      },
      "inputs": [
        {
          "role": "path",
          "path": "samples/tv081/x/stem_map.shp",
          "size": 37190876,
          "sha256": "82fe0b31a73b500803b4bd1c40fa7f60d9ddc21c0c5c020f60e935c48b15968d",
          "hashKind": "file"
        }
      ],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "layers[0].bounds.maxX": 571847.4897075088,
          "layers[0].bounds.maxY": 4903555.253572504,
          "layers[0].bounds.minX": 557740.6547071857,
          "layers[0].bounds.minY": 4894125.580311842,
          "layers[0].featureCount": 1328242,
          "layers[0].fields[0].precision": 0,
          "layers[0].fields[0].width": 9,
          "layers[0].fields[1].precision": 11,
          "layers[0].fields[1].width": 19,
          "layers[0].fields[2].precision": 11,
          "layers[0].fields[2].width": 19,
          "layers[0].fields[3].precision": 11,
          "layers[0].fields[3].width": 19,
          "layers[0].fields[4].precision": 11,
          "layers[0].fields[4].width": 19,
          "layers[0].fields[5].precision": 0,
          "layers[0].fields[5].width": 4
        },
        "numbersDigest": "ce8f25f046eba48063c98b64a76fb22a272402e5b7908d78b189b84334828624",
        "numberCount": 17
      }
    },
    {
      "step": 3,
      "tool": "gis_open",
      "args": {
        "path": {
          "$path": "samples/ot2008/ot_HJ_Andrews_bin_100.laz"
        },
        "toEpsg": 26910,
        "gpsTime": false,
        "maxPoints": 10000000,
        "async": false
      },
      "inputs": [
        {
          "role": "path",
          "path": "samples/ot2008/ot_HJ_Andrews_bin_100.laz",
          "size": 27093103,
          "sha256": "bf81fa07ed8a166ed5d8c3cfe150740d45cf03a80d75a2ae332daadb8c235681",
          "hashKind": "file"
        }
      ],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "headerBounds.maxX": 566099.99,
          "headerBounds.maxY": 4900899.99,
          "headerBounds.maxZ": 940.9200000000001,
          "headerBounds.minX": 565350,
          "headerBounds.minY": 4900150,
          "headerBounds.minZ": 751.89,
          "las.offset[0]": 0,
          "las.offset[1]": 0,
          "las.offset[2]": 0,
          "las.pointCountInFile": 5493081,
          "las.pointFormat": 1,
          "las.scale[0]": 0.01,
          "las.scale[1]": 0.01,
          "las.scale[2]": 0.01,
          "loaded.kept": 5493081,
          "loaded.scanned": 5493081,
          "loaded.toEpsg": 26910,
          "stats.bounds.maxX": 566099.99,
          "stats.bounds.maxY": 4900899.99,
          "stats.bounds.maxZ": 940.9200000000001,
          "stats.bounds.minX": 565350,
          "stats.bounds.minY": 4900150,
          "stats.bounds.minZ": 751.89,
          "stats.classHistogram.1": 5296438,
          "stats.classHistogram.2": 196643,
          "stats.classes.1.n": 5296438,
          "stats.classes.2.n": 196643,
          "stats.count": 5493081,
          "stats.firstReturns": 4170507
        },
        "numbersDigest": "532486af1987054e88f0647854b1393a52b1e87e7e6b43a2bdb606e6a39088f2",
        "numberCount": 29
      }
    },
    {
      "step": 4,
      "tool": "gis_lidar_qa",
      "args": {
        "handle": {
          "$ref": {
            "step": 3,
            "handle": "dataset"
          }
        },
        "cell": 1
      },
      "inputs": [],
      "outputs": [],
      "produces": [],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "areaM2": 562500,
          "bboxAreaM2": 562485,
          "bounds.maxX": 566099.99,
          "bounds.maxY": 4900899.99,
          "bounds.maxZ": 940.92,
          "bounds.minX": 565350,
          "bounds.minY": 4900150,
          "bounds.minZ": 751.89,
          "classHistogram.1": 5296438,
          "classHistogram.2": 196643,
          "coverage.cells1m": 0.997,
          "coverage.cells5m": 1,
          "density.allReturns": 9.765,
          "density.firstReturns": 7.414,
          "density.ground": 0.35,
          "maxReturns": 4,
          "points": 5493081,
          "returnHistogram.1": 4170507,
          "returnHistogram.2": 1148867,
          "returnHistogram.3": 164155,
          "returnHistogram.4": 9552
        },
        "numbersDigest": "bbb0600362c4b7594c72e7997b3a85372e8ed1a464516c2f1ce0f7f18f660d38",
        "numberCount": 21
      }
    },
    {
      "step": 5,
      "tool": "gis_query",
      "args": {
        "handle": {
          "$ref": {
            "step": 1,
            "handle": "dataset"
          }
        },
        "match": "all",
        "bbox": [
          565350,
          4900150,
          566100,
          4900900
        ],
        "includeGeometry": false,
        "limit": 0,
        "offset": 0,
        "saveAs": true
      },
      "inputs": [],
      "outputs": [],
      "produces": [
        "selection"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "matched": 16624,
          "nextOffset": 0,
          "offset": 0,
          "returned": 0
        },
        "numbersDigest": "005595e8b13f240fc7e5cd0e3395a3906b6e262c80335bc18ae32d722d4b434c",
        "numberCount": 4
      }
    },
    {
      "step": 6,
      "tool": "gis_lidar_ground",
      "args": {
        "handle": {
          "$ref": {
            "step": 3,
            "handle": "dataset"
          }
        },
        "mode": "auto",
        "minGroundDensity": 0.25,
        "cell": 1,
        "slope": 0.15,
        "window": 18,
        "threshold": 0.3,
        "scalar": 0.5,
        "async": false
      },
      "inputs": [],
      "outputs": [],
      "produces": [],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "groundDensity": 0.35,
          "stats.existingDensity": 0.35,
          "stats.ground": 196643,
          "stats.points": 5493081
        },
        "numbersDigest": "063e68048e0740844bcd21bbcfe5fabaf2ac9ea07a992cc9c71eebee768135bf",
        "numberCount": 4
      }
    },
    {
      "step": 8,
      "tool": "gis_lidar_dtm",
      "args": {
        "handle": {
          "$ref": {
            "step": 3,
            "handle": "dataset"
          }
        },
        "resolution": 1,
        "method": "tin",
        "out": {
          "$path": "work/repro/tv081-stems-prev/dtm_2008_1m.tif"
        },
        "async": false
      },
      "inputs": [],
      "outputs": [
        {
          "role": "out",
          "path": "work/repro/tv081-stems-prev/dtm_2008_1m.tif",
          "bytes": 2239124,
          "sha256": "4ab757315ac26483aa4016027433b86127948a78134113fadbcdf640849d74e8",
          "hashKind": "file"
        }
      ],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "filledCells": 97,
          "ground.stats.existingDensity": 0.35,
          "ground.stats.ground": 196643,
          "ground.stats.points": 5493081,
          "groundPoints": 196643,
          "output.bytes": 2239124,
          "output.grid.height": 750,
          "output.grid.origin[0]": 565350,
          "output.grid.origin[1]": 4900900,
          "output.grid.res": 1,
          "output.grid.width": 750,
          "output.overviews": 2,
          "output.stats.cells": 562500,
          "output.stats.max": 887.653,
          "output.stats.mean": 815.372,
          "output.stats.min": 751.917,
          "output.stats.sd": 26.999,
          "output.stats.valid": 562500
        },
        "numbersDigest": "3eb14f2a429c5abc7fce2179748fe44490eaa628bff82e86501ff0b5c50f8aec",
        "numberCount": 18
      }
    },
    {
      "step": 10,
      "tool": "gis_lidar_chm",
      "args": {
        "handle": {
          "$ref": {
            "step": 3,
            "handle": "dataset"
          }
        },
        "resolution": 0.5,
        "maxHeight": 100,
        "out": {
          "$path": "work/repro/tv081-stems-prev/chm_2008_0p5m.tif"
        },
        "async": false
      },
      "inputs": [],
      "outputs": [
        {
          "role": "out",
          "path": "work/repro/tv081-stems-prev/chm_2008_0p5m.tif",
          "bytes": 10709057,
          "sha256": "857566541e312f29fcf92a3cb5783e4c948cd984401d3b97b92471dabcd62034",
          "hashKind": "file"
        }
      ],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "firstReturns": 4170507,
          "layers[0].points": 4170507,
          "layers[0].threshold": 0,
          "layers[0].triangles": 8337005,
          "layers[10].points": 425659,
          "layers[10].threshold": 45,
          "layers[10].triangles": 106062,
          "layers[11].points": 299110,
          "layers[11].threshold": 50,
          "layers[11].triangles": 83538,
          "layers[12].points": 190426,
          "layers[12].threshold": 55,
          "layers[12].triangles": 64617,
          "layers[13].points": 96586,
          "layers[13].threshold": 60,
          "layers[13].triangles": 39576,
          "layers[14].points": 34001,
          "layers[14].threshold": 65,
          "layers[14].triangles": 16952,
          "layers[15].points": 7682,
          "layers[15].threshold": 70,
          "layers[15].triangles": 4447,
          "layers[16].points": 1127,
          "layers[16].threshold": 75,
          "layers[16].triangles": 643,
          "layers[17].points": 95,
          "layers[17].threshold": 80,
          "layers[17].triangles": 62,
          "layers[1].points": 3666363,
          "layers[1].threshold": 2,
          "layers[1].triangles": 582196,
          "layers[2].points": 3374738,
          "layers[2].threshold": 5,
          "layers[2].triangles": 339723,
          "layers[3].points": 2851555,
          "layers[3].threshold": 10,
          "layers[3].triangles": 439212,
          "layers[4].points": 2201345,
          "layers[4].threshold": 15,
          "layers[4].triangles": 324098,
          "layers[5].points": 1777634,
          "layers[5].threshold": 20,
          "layers[5].triangles": 293306,
          "layers[6].points": 1384906,
          "layers[6].threshold": 25,
          "layers[6].triangles": 269111,
          "layers[7].points": 1040799,
          "layers[7].threshold": 30,
          "layers[7].triangles": 218955,
          "layers[8].points": 785521,
          "layers[8].threshold": 35,
          "layers[8].triangles": 177774,
          "layers[9].points": 582011,
          "layers[9].threshold": 40,
          "layers[9].triangles": 138497,
          "maxEdge": 1.5,
          "meanSpacing": 0.367,
          "output.bytes": 10709057,
          "output.grid.height": 1500,
          "output.grid.origin[0]": 565350,
          "output.grid.origin[1]": 4900900,
          "output.grid.res": 0.5,
          "output.grid.width": 1500,
          "output.overviews": 3,
          "output.stats.cells": 2250000,
          "output.stats.max": 83.08,
          "output.stats.mean": 20.339,
          "output.stats.min": 0,
          "output.stats.sd": 16.135,
          "output.stats.valid": 2249995
        },
        "numbersDigest": "6b9051a7756ecd96ecc5aa4070e59f592a1993fa78162059cfeadf342d985343",
        "numberCount": 70
      }
    },
    {
      "step": 12,
      "tool": "gis_lidar_trees",
      "args": {
        "handle": {
          "$ref": {
            "step": 3,
            "handle": "dataset"
          }
        },
        "minHeight": 10,
        "cwA": 2,
        "cwB": 0.18,
        "wsFactor": 0.6,
        "wsMin": 3,
        "thSeed": 0.45,
        "thCrown": 0.55,
        "smoothSigma": 1,
        "topsOut": {
          "$path": "work/repro/tv081-stems-prev/tops_2008_ge10m.geojson"
        },
        "limit": 5,
        "async": false
      },
      "inputs": [],
      "outputs": [
        {
          "role": "topsOut",
          "path": "work/repro/tv081-stems-prev/tops_2008_ge10m.geojson",
          "bytes": 1793432,
          "sha256": "1d79a0566b0336f7834679eb80b37d9a2bc6cbf4c0f3d83cdd84c76dfbc26ec3",
          "hashKind": "file"
        }
      ],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "count": 10261,
          "heightClasses.20-40": 3095,
          "heightClasses.40-50": 606,
          "heightClasses.5-20": 5518,
          "heightClasses.50-60": 381,
          "heightClasses.60+": 661,
          "params.crownRadiusFactor": 0.6,
          "params.cwA": 2,
          "params.cwB": 0.18,
          "params.minHeight": 10,
          "params.smoothSigma": 1,
          "params.thCrown": 0.55,
          "params.thSeed": 0.45,
          "params.thTree": 2,
          "params.wsFactor": 0.6,
          "params.wsMin": 3,
          "perHectare": 182.418,
          "tallest[0].crownArea": 184.75,
          "tallest[0].crownDiameter": 15.337,
          "tallest[0].height": 82.029,
          "tallest[0].id": 1,
          "tallest[0].pixels": 739,
          "tallest[0].x": 565423.25,
          "tallest[0].y": 4900164.25,
          "tallest[1].crownArea": 159.5,
          "tallest[1].crownDiameter": 14.251,
          "tallest[1].height": 80.774,
          "tallest[1].id": 2,
          "tallest[1].pixels": 638,
          "tallest[1].x": 565413.75,
          "tallest[1].y": 4900229.75,
          "tallest[2].crownArea": 167.5,
          "tallest[2].crownDiameter": 14.604,
          "tallest[2].height": 80.589,
          "tallest[2].id": 3,
          "tallest[2].pixels": 670,
          "tallest[2].x": 565704.25,
          "tallest[2].y": 4900557.75,
          "tallest[3].crownArea": 108.25,
          "tallest[3].crownDiameter": 11.74,
          "tallest[3].height": 79.958,
          "tallest[3].id": 4,
          "tallest[3].pixels": 433,
          "tallest[3].x": 565780.25,
          "tallest[3].y": 4900418.25,
          "tallest[4].crownArea": 121.25,
          "tallest[4].crownDiameter": 12.425,
          "tallest[4].height": 79.501,
          "tallest[4].id": 5,
          "tallest[4].pixels": 485,
          "tallest[4].x": 565378.25,
          "tallest[4].y": 4900261.75
        },
        "numbersDigest": "f6e8eca6e23432e289d785835dfd8d1948347403a9085bed3719e43caa0db154",
        "numberCount": 52
      }
    },
    {
      "step": 14,
      "tool": "gis_compare",
      "args": {
        "mode": "trees",
        "a": {
          "handle": {
            "$ref": {
              "step": 3,
              "handle": "dataset"
            }
          },
          "layer": "trees"
        },
        "b": {
          "handle": {
            "$ref": {
              "step": 5,
              "handle": "selection"
            }
          }
        },
        "params": {
          "maxDistance": 3,
          "heightFieldB": "Height",
          "heightClasses": [
            10,
            20,
            30,
            40,
            50,
            60,
            70
          ],
          "extent": [
            565370,
            4900170,
            566080,
            4900880
          ]
        },
        "dryRun": false,
        "async": false,
        "render": false,
        "name": "trees_vs_tv081_inset20m"
      },
      "inputs": [],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "outputs.layers[0].features": 9054,
          "outputs.layers[1].features": 9054,
          "outputs.layers[2].features": 5943,
          "outputs.layers[3].features": 134,
          "params.extent[0]": 565370,
          "params.extent[1]": 4900170,
          "params.extent[2]": 566080,
          "params.extent[3]": 4900880,
          "params.heightClasses[0]": 10,
          "params.heightClasses[1]": 20,
          "params.heightClasses[2]": 30,
          "params.heightClasses[3]": 40,
          "params.heightClasses[4]": 50,
          "params.heightClasses[5]": 60,
          "params.heightClasses[6]": 70,
          "params.maxDistance": 3,
          "replay.args.params.extent[0]": 565370,
          "replay.args.params.extent[1]": 4900170,
          "replay.args.params.extent[2]": 566080,
          "replay.args.params.extent[3]": 4900880,
          "replay.args.params.heightClasses[0]": 10,
          "replay.args.params.heightClasses[1]": 20,
          "replay.args.params.heightClasses[2]": 30,
          "replay.args.params.heightClasses[3]": 40,
          "replay.args.params.heightClasses[4]": 50,
          "replay.args.params.heightClasses[5]": 60,
          "replay.args.params.heightClasses[6]": 70,
          "replay.args.params.maxDistance": 3,
          "result.byHeightClass[0].commission": 0.00541624874624,
          "result.byHeightClass[0].detected": 4985,
          "result.byHeightClass[0].heightBias": -0.300614672034,
          "result.byHeightClass[0].heightRmse": 0.638733983517,
          "result.byHeightClass[0].matched": 4896,
          "result.byHeightClass[0].n": 4896,
          "result.byHeightClass[0].omission": 0.519764590486,
          "result.byHeightClass[0].reference": 10195,
          "result.byHeightClass[1].commission": 0.0308853809197,
          "result.byHeightClass[1].detected": 1457,
          "result.byHeightClass[1].heightBias": -0.418559728957,
          "result.byHeightClass[1].heightRmse": 0.896714836153,
          "result.byHeightClass[1].matched": 1392,
          "result.byHeightClass[1].n": 1392,
          "result.byHeightClass[1].omission": 0.224512534819,
          "result.byHeightClass[1].reference": 1795,
          "result.byHeightClass[2].commission": 0.0148786217698,
          "result.byHeightClass[2].detected": 1277,
          "result.byHeightClass[2].heightBias": -0.500399616012,
          "result.byHeightClass[2].heightRmse": 0.978023669447,
          "result.byHeightClass[2].matched": 1294,
          "result.byHeightClass[2].n": 1294,
          "result.byHeightClass[2].omission": 0.0988857938719,
          "result.byHeightClass[2].reference": 1436,
          "result.byHeightClass[3].commission": 0.032380952381,
          "result.byHeightClass[3].detected": 525,
          "result.byHeightClass[3].heightBias": -0.847473878003,
          "result.byHeightClass[3].heightRmse": 1.49169275924,
          "result.byHeightClass[3].matched": 523,
          "result.byHeightClass[3].n": 523,
          "result.byHeightClass[3].omission": 0.098275862069,
          "result.byHeightClass[3].reference": 580,
          "result.byHeightClass[4].commission": 0.0469208211144,
          "result.byHeightClass[4].detected": 341,
          "result.byHeightClass[4].heightBias": -0.866615549088,
          "result.byHeightClass[4].heightRmse": 1.58324996479,
          "result.byHeightClass[4].matched": 320,
          "result.byHeightClass[4].n": 320,
          "result.byHeightClass[4].omission": 0.0697674418605,
          "result.byHeightClass[4].reference": 344,
          "result.byHeightClass[5].commission": 0.0161616161616,
          "result.byHeightClass[5].detected": 495,
          "result.byHeightClass[5].heightBias": -0.76878231379,
          "result.byHeightClass[5].heightRmse": 1.33683534382,
          "result.byHeightClass[5].matched": 508,
          "result.byHeightClass[5].n": 508,
          "result.byHeightClass[5].omission": 0.0268199233716,
          "result.byHeightClass[5].reference": 522,
          "result.byHeightClass[6].commission": 0.0185185185185,
          "result.byHeightClass[6].detected": 108,
          "result.byHeightClass[6].heightBias": -0.826481859191,
          "result.byHeightClass[6].heightRmse": 1.44992223433,
          "result.byHeightClass[6].matched": 121,
          "result.byHeightClass[6].n": 121,
          "result.byHeightClass[6].omission": 0.032,
          "result.byHeightClass[6].reference": 125,
          "result.commission": 0.0145842403135,
          "result.committed": 134,
          "result.counted.detected": 9188,
          "result.counted.detectedOutside": 1073,
          "result.counted.reference": 14997,
          "result.counted.referenceOutside": 1627,
          "result.detected": 9188,
          "result.f": 0.748728550755,
          "result.height.bias": -0.432190547203,
          "result.height.mae": 0.584763093072,
          "result.height.median": -0.353602428436,
          "result.height.n": 9054,
          "result.height.rmse": 0.909091586695,
          "result.height.sd": 0.799830920271,
          "result.heightClasses.breaks[0]": 10,
          "result.heightClasses.breaks[1]": 20,
          "result.heightClasses.breaks[2]": 30,
          "result.heightClasses.breaks[3]": 40,
          "result.heightClasses.breaks[4]": 50,
          "result.heightClasses.breaks[5]": 60,
          "result.heightClasses.breaks[6]": 70,
          "result.match.candidates": 17353,
          "result.match.maxDistance": 3,
          "result.matched": 9054,
          "result.omission": 0.396279255851,
          "result.omitted": 5943,
          "result.position.maxDistance": 2.98488609989,
          "result.position.meanDistance": 0.481696767002,
          "result.position.n": 9054,
          "result.position.rmseDistance": 0.58689287849,
          "result.precision": 0.985415759687,
          "result.recall": 0.603720744149,
          "result.reference": 14997
        },
        "numbersDigest": "c0c143b36f6d6a0828d872626b399483f52d95867df5fd148b8908d5816ced28",
        "numberCount": 117
      }
    },
    {
      "step": 15,
      "tool": "gis_lidar_trees",
      "args": {
        "handle": {
          "$ref": {
            "step": 3,
            "handle": "dataset"
          }
        },
        "minHeight": 10,
        "cwA": 2,
        "cwB": 0.18,
        "wsFactor": 0.6,
        "wsMin": 3,
        "thSeed": 0.45,
        "thCrown": 0.55,
        "smoothSigma": 0,
        "topsOut": {
          "$path": "work/repro/tv081-stems-prev/tops_2008_ge10m_nosmooth.geojson"
        },
        "limit": 0,
        "async": false
      },
      "inputs": [],
      "outputs": [
        {
          "role": "topsOut",
          "path": "work/repro/tv081-stems-prev/tops_2008_ge10m_nosmooth.geojson",
          "bytes": 2240545,
          "sha256": "7edd1efa21f01eaa81200e0e3bacb0d5bb17492f1f8c9047e730e0372d02b786",
          "hashKind": "file"
        }
      ],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "count": 12812,
          "heightClasses.20-40": 3399,
          "heightClasses.40-50": 617,
          "heightClasses.5-20": 7747,
          "heightClasses.50-60": 377,
          "heightClasses.60+": 672,
          "params.crownRadiusFactor": 0.6,
          "params.cwA": 2,
          "params.cwB": 0.18,
          "params.minHeight": 10,
          "params.smoothSigma": 0,
          "params.thCrown": 0.55,
          "params.thSeed": 0.45,
          "params.thTree": 2,
          "params.wsFactor": 0.6,
          "params.wsMin": 3,
          "perHectare": 227.769
        },
        "numbersDigest": "cd50eaaa8539991a11daac3c865a796f747b4c5c207e9847dacb577dca565bcc",
        "numberCount": 17
      }
    },
    {
      "step": 17,
      "tool": "gis_compare",
      "args": {
        "mode": "trees",
        "a": {
          "handle": {
            "$ref": {
              "step": 3,
              "handle": "dataset"
            }
          },
          "layer": "trees"
        },
        "b": {
          "handle": {
            "$ref": {
              "step": 5,
              "handle": "selection"
            }
          }
        },
        "params": {
          "maxDistance": 3,
          "heightFieldB": "Height",
          "heightClasses": [
            10,
            20,
            30,
            40,
            50,
            60,
            70
          ],
          "extent": [
            565370,
            4900170,
            566080,
            4900880
          ]
        },
        "dryRun": false,
        "async": false,
        "render": false,
        "name": "trees_nosmooth_vs_tv081_inset20m"
      },
      "inputs": [],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "outputs.layers[0].features": 11033,
          "outputs.layers[1].features": 11033,
          "outputs.layers[2].features": 3964,
          "outputs.layers[3].features": 429,
          "params.extent[0]": 565370,
          "params.extent[1]": 4900170,
          "params.extent[2]": 566080,
          "params.extent[3]": 4900880,
          "params.heightClasses[0]": 10,
          "params.heightClasses[1]": 20,
          "params.heightClasses[2]": 30,
          "params.heightClasses[3]": 40,
          "params.heightClasses[4]": 50,
          "params.heightClasses[5]": 60,
          "params.heightClasses[6]": 70,
          "params.maxDistance": 3,
          "replay.args.params.extent[0]": 565370,
          "replay.args.params.extent[1]": 4900170,
          "replay.args.params.extent[2]": 566080,
          "replay.args.params.extent[3]": 4900880,
          "replay.args.params.heightClasses[0]": 10,
          "replay.args.params.heightClasses[1]": 20,
          "replay.args.params.heightClasses[2]": 30,
          "replay.args.params.heightClasses[3]": 40,
          "replay.args.params.heightClasses[4]": 50,
          "replay.args.params.heightClasses[5]": 60,
          "replay.args.params.heightClasses[6]": 70,
          "replay.args.params.maxDistance": 3,
          "result.byHeightClass[0].commission": 0.0319575809688,
          "result.byHeightClass[0].detected": 6978,
          "result.byHeightClass[0].heightBias": -0.111525282809,
          "result.byHeightClass[0].heightRmse": 0.7265696746,
          "result.byHeightClass[0].matched": 6709,
          "result.byHeightClass[0].n": 6709,
          "result.byHeightClass[0].omission": 0.341932319765,
          "result.byHeightClass[0].reference": 10195,
          "result.byHeightClass[1].commission": 0.0826296743064,
          "result.byHeightClass[1].detected": 1658,
          "result.byHeightClass[1].heightBias": -0.220234950404,
          "result.byHeightClass[1].heightRmse": 0.685852455703,
          "result.byHeightClass[1].matched": 1526,
          "result.byHeightClass[1].n": 1526,
          "result.byHeightClass[1].omission": 0.149860724234,
          "result.byHeightClass[1].reference": 1795,
          "result.byHeightClass[2].commission": 0.0224215246637,
          "result.byHeightClass[2].detected": 1338,
          "result.byHeightClass[2].heightBias": -0.238489799413,
          "result.byHeightClass[2].heightRmse": 0.684785951246,
          "result.byHeightClass[2].matched": 1329,
          "result.byHeightClass[2].n": 1329,
          "result.byHeightClass[2].omission": 0.0745125348189,
          "result.byHeightClass[2].reference": 1436,
          "result.byHeightClass[3].commission": 0.0315398886827,
          "result.byHeightClass[3].detected": 539,
          "result.byHeightClass[3].heightBias": -0.376135182525,
          "result.byHeightClass[3].heightRmse": 0.957575911866,
          "result.byHeightClass[3].matched": 528,
          "result.byHeightClass[3].n": 528,
          "result.byHeightClass[3].omission": 0.0896551724138,
          "result.byHeightClass[3].reference": 580,
          "result.byHeightClass[4].commission": 0.0357142857143,
          "result.byHeightClass[4].detected": 336,
          "result.byHeightClass[4].heightBias": -0.429489073843,
          "result.byHeightClass[4].heightRmse": 1.06306060245,
          "result.byHeightClass[4].matched": 318,
          "result.byHeightClass[4].n": 318,
          "result.byHeightClass[4].omission": 0.0755813953488,
          "result.byHeightClass[4].reference": 344,
          "result.byHeightClass[5].commission": 0.0180360721443,
          "result.byHeightClass[5].detected": 499,
          "result.byHeightClass[5].heightBias": -0.339061785278,
          "result.byHeightClass[5].heightRmse": 0.773399983786,
          "result.byHeightClass[5].matched": 500,
          "result.byHeightClass[5].n": 500,
          "result.byHeightClass[5].omission": 0.0421455938697,
          "result.byHeightClass[5].reference": 522,
          "result.byHeightClass[6].commission": 0.00877192982456,
          "result.byHeightClass[6].detected": 114,
          "result.byHeightClass[6].heightBias": -0.398971778435,
          "result.byHeightClass[6].heightRmse": 0.892909092215,
          "result.byHeightClass[6].matched": 123,
          "result.byHeightClass[6].n": 123,
          "result.byHeightClass[6].omission": 0.016,
          "result.byHeightClass[6].reference": 125,
          "result.commission": 0.0374280230326,
          "result.committed": 429,
          "result.counted.detected": 11462,
          "result.counted.detectedOutside": 1350,
          "result.counted.reference": 14997,
          "result.counted.referenceOutside": 1627,
          "result.detected": 11462,
          "result.f": 0.833969537775,
          "result.height.bias": -0.177198941661,
          "result.height.mae": 0.451339830042,
          "result.height.median": -0.194657516479,
          "result.height.n": 11033,
          "result.height.rmse": 0.744988216012,
          "result.height.sd": 0.723640407746,
          "result.heightClasses.breaks[0]": 10,
          "result.heightClasses.breaks[1]": 20,
          "result.heightClasses.breaks[2]": 30,
          "result.heightClasses.breaks[3]": 40,
          "result.heightClasses.breaks[4]": 50,
          "result.heightClasses.breaks[5]": 60,
          "result.heightClasses.breaks[6]": 70,
          "result.match.candidates": 23002,
          "result.match.maxDistance": 3,
          "result.matched": 11033,
          "result.omission": 0.264319530573,
          "result.omitted": 3964,
          "result.position.maxDistance": 2.9994684361,
          "result.position.meanDistance": 0.52200655716,
          "result.position.n": 11033,
          "result.position.rmseDistance": 0.697719621326,
          "result.precision": 0.962571976967,
          "result.recall": 0.735680469427,
          "result.reference": 14997
        },
        "numbersDigest": "d90448b6ff5a3e867c1ab7a4ef0177155086aa9259f93f93f9100babf0fe3b69",
        "numberCount": 117
      }
    },
    {
      "step": 18,
      "tool": "gis_open",
      "args": {
        "path": {
          "$path": "work/repro/tv081-stems-prev/chm_2008_0p5m.tif"
        },
        "gpsTime": false,
        "maxPoints": 5000000,
        "async": false
      },
      "inputs": [
        {
          "role": "path",
          "path": "work/repro/tv081-stems-prev/chm_2008_0p5m.tif",
          "size": 10709057,
          "sha256": "857566541e312f29fcf92a3cb5783e4c948cd984401d3b97b92471dabcd62034",
          "hashKind": "file"
        }
      ],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "band1.max": 83.07967376708984,
          "band1.mean": 20.3394164458185,
          "band1.min": 0,
          "band1.nodataCount": 5,
          "band1.valid": 2249995,
          "bounds.maxX": 566100,
          "bounds.maxY": 4900900,
          "bounds.minX": 565350,
          "bounds.minY": 4900150,
          "cog.overviewCount": 3,
          "geotransform.originX": 565350,
          "geotransform.originY": 4900900,
          "geotransform.pixelHeight": 0.5,
          "geotransform.pixelWidth": 0.5,
          "geotransform.zScale": 0,
          "image.bands": 1,
          "image.bitsPerSample": 32,
          "image.compressionCode": 8,
          "image.height": 1500,
          "image.planar": 1,
          "image.predictor": 1,
          "image.tileHeight": 256,
          "image.tileWidth": 256,
          "image.width": 1500,
          "nodata": -9999,
          "overviews[0].height": 750,
          "overviews[0].width": 750,
          "overviews[1].height": 375,
          "overviews[1].width": 375,
          "overviews[2].height": 188,
          "overviews[2].width": 188
        },
        "numbersDigest": "50cf4ca35d3a3f9dd404554f99e355d28b93c9ea43f08db243a443cdb20660c7",
        "numberCount": 31
      }
    },
    {
      "step": 19,
      "tool": "gis_process",
      "args": {
        "op": "translate",
        "inputs": [
          {
            "handle": {
              "$ref": {
                "step": 18,
                "handle": "dataset"
              }
            }
          }
        ],
        "params": {
          "dx": 0,
          "dy": 0,
          "band": 1
        },
        "name": "Canopy height, 2008 LiDAR, 0.5 m cells",
        "dryRun": false,
        "async": false
      },
      "inputs": [],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "details.dx": 0,
          "details.dy": 0,
          "params.band": 1,
          "params.dx": 0,
          "params.dy": 0,
          "replay.args.params.band": 1,
          "replay.args.params.dx": 0,
          "replay.args.params.dy": 0,
          "summary.cells": 2250000,
          "summary.extent[0]": 565350,
          "summary.extent[1]": 4900150,
          "summary.extent[2]": 566100,
          "summary.extent[3]": 4900900,
          "summary.height": 1500,
          "summary.nodataCells": 5,
          "summary.resolution[0]": 0.5,
          "summary.resolution[1]": 0.5,
          "summary.stats.max": 83.0796737671,
          "summary.stats.mean": 20.3394164458,
          "summary.stats.min": 0,
          "summary.stats.sd": 16.1351665494,
          "summary.validAreaM2": 562498.75,
          "summary.validCells": 2249995,
          "summary.width": 1500
        },
        "numbersDigest": "fde0939d496f61d238b13fe223b72583a43b0ad957c956d43e8d1098a52c0d32",
        "numberCount": 24
      }
    },
    {
      "step": 20,
      "tool": "gis_process",
      "args": {
        "op": "translate",
        "inputs": [
          {
            "handle": {
              "$ref": {
                "step": 14,
                "handle": "dataset"
              }
            },
            "layer": "matched"
          }
        ],
        "params": {
          "dx": 0,
          "dy": 0,
          "band": 1
        },
        "name": "Tree tops matched to a stem-map tree",
        "dryRun": false,
        "async": false
      },
      "inputs": [],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "details.dx": 0,
          "details.dy": 0,
          "params.band": 1,
          "params.dx": 0,
          "params.dy": 0,
          "replay.args.params.band": 1,
          "replay.args.params.dx": 0,
          "replay.args.params.dy": 0,
          "summary.area.total": 0,
          "summary.area.totalM2": 0,
          "summary.extent[0]": 565370.25,
          "summary.extent[1]": 4900170.25,
          "summary.extent[2]": 566079.75,
          "summary.extent[3]": 4900879.75,
          "summary.featureCount": 9054,
          "summary.length.total": 0,
          "summary.length.totalM": 0,
          "summary.snap": 0.000001
        },
        "numbersDigest": "8cb55be9fd32262a018ab22ff15a2552ff31a007b286052033c42c16d308ab34",
        "numberCount": 18
      }
    },
    {
      "step": 21,
      "tool": "gis_process",
      "args": {
        "op": "translate",
        "inputs": [
          {
            "handle": {
              "$ref": {
                "step": 14,
                "handle": "dataset"
              }
            },
            "layer": "omitted"
          }
        ],
        "params": {
          "dx": 0,
          "dy": 0,
          "band": 1
        },
        "name": "Stem-map trees not found (omitted)",
        "dryRun": false,
        "async": false
      },
      "inputs": [],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "details.dx": 0,
          "details.dy": 0,
          "params.band": 1,
          "params.dx": 0,
          "params.dy": 0,
          "replay.args.params.band": 1,
          "replay.args.params.dx": 0,
          "replay.args.params.dy": 0,
          "summary.area.total": 0,
          "summary.area.totalM2": 0,
          "summary.extent[0]": 565370.038856,
          "summary.extent[1]": 4900170.11944,
          "summary.extent[2]": 566079.836062,
          "summary.extent[3]": 4900879.99279,
          "summary.featureCount": 5943,
          "summary.length.total": 0,
          "summary.length.totalM": 0,
          "summary.snap": 0.000001
        },
        "numbersDigest": "721e19eb82fb6d178bbd4d9b76c36bad586790a67ad3a9919aed4ea3656cbf29",
        "numberCount": 18
      }
    },
    {
      "step": 22,
      "tool": "gis_process",
      "args": {
        "op": "translate",
        "inputs": [
          {
            "handle": {
              "$ref": {
                "step": 14,
                "handle": "dataset"
              }
            },
            "layer": "committed"
          }
        ],
        "params": {
          "dx": 0,
          "dy": 0,
          "band": 1
        },
        "name": "NativeGIS tops with no stem-map tree",
        "dryRun": false,
        "async": false
      },
      "inputs": [],
      "outputs": [],
      "produces": [
        "dataset"
      ],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "details.dx": 0,
          "details.dy": 0,
          "params.band": 1,
          "params.dx": 0,
          "params.dy": 0,
          "replay.args.params.band": 1,
          "replay.args.params.dx": 0,
          "replay.args.params.dy": 0,
          "summary.area.total": 0,
          "summary.area.totalM2": 0,
          "summary.extent[0]": 565371.25,
          "summary.extent[1]": 4900170.25,
          "summary.extent[2]": 566079.75,
          "summary.extent[3]": 4900879.75,
          "summary.featureCount": 134,
          "summary.length.total": 0,
          "summary.length.totalM": 0,
          "summary.snap": 0.000001
        },
        "numbersDigest": "8d8a47a2c21331900c8779dbc45d0093eac4348421b041a6ffb0fb9fc6bf2105",
        "numberCount": 18
      }
    },
    {
      "step": 23,
      "tool": "gis_render",
      "args": {
        "layers": [
          {
            "handle": {
              "$ref": {
                "step": 19,
                "handle": "dataset"
              }
            },
            "style": {
              "ramp": "greys",
              "min": 0,
              "max": 80,
              "units": "m"
            }
          },
          {
            "handle": {
              "$ref": {
                "step": 20,
                "handle": "dataset"
              }
            },
            "style": {
              "fill": "#00c853",
              "stroke": "#ffffff",
              "width": 1,
              "marker": "circle",
              "size": 10
            }
          },
          {
            "handle": {
              "$ref": {
                "step": 21,
                "handle": "dataset"
              }
            },
            "style": {
              "fill": "#ff1744",
              "stroke": "#ffffff",
              "width": 1,
              "marker": "circle",
              "size": 10
            }
          },
          {
            "handle": {
              "$ref": {
                "step": 22,
                "handle": "dataset"
              }
            },
            "style": {
              "fill": "#d500f9",
              "stroke": "#ffffff",
              "width": 1,
              "marker": "circle",
              "size": 10
            }
          }
        ],
        "extent": [
          565350,
          4900060,
          566100,
          4900900
        ],
        "width": 2400,
        "height": 2688,
        "title": "One 2008 LiDAR tile: NativeGIS tree tops against the TV081 stem map",
        "outPath": {
          "$path": "work/repro/tv081-stems-prev/trees_vs_tv081.svg"
        },
        "format": "svg",
        "legend": true,
        "scaleBar": true,
        "northArrow": true,
        "background": "#ffffff",
        "async": false,
        "inline": true
      },
      "inputs": [],
      "outputs": [
        {
          "role": "outPath",
          "path": "work/repro/tv081-stems-prev/trees_vs_tv081.svg",
          "bytes": 6896146,
          "sha256": "1890dc444816534bc4fa45f2b69d1297b4955be96f28c6fcfb084c2759f2945b",
          "hashKind": "file"
        }
      ],
      "produces": [],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "bytes": 6896146,
          "extent[0]": 565350,
          "extent[1]": 4900060,
          "extent[2]": 566100,
          "extent[3]": 4900900,
          "height": 2688,
          "layers[0].index": 1,
          "layers[0].max": 82.732,
          "layers[0].min": 0,
          "layers[0].opacity": 1,
          "layers[0].pixels": 6451200,
          "layers[0].range[0]": 0,
          "layers[0].range[1]": 80,
          "layers[0].validPixels": 5759982,
          "layers[1].features": 9054,
          "layers[1].inView": 9054,
          "layers[1].index": 2,
          "layers[1].opacity": 1,
          "layers[2].features": 5943,
          "layers[2].inView": 5943,
          "layers[2].index": 3,
          "layers[2].opacity": 1,
          "layers[3].features": 134,
          "layers[3].inView": 134,
          "layers[3].index": 4,
          "layers[3].opacity": 1,
          "legend[0].max": 80,
          "legend[0].min": 0,
          "northArrow.convergenceDeg": -0.575,
          "scaleBar.metres": 100,
          "scaleBar.metresPerPixel": 0.313,
          "scaleBar.pixels": 320,
          "unitsPerPixel": 0.313,
          "width": 2400
        },
        "numbersDigest": "b356f94eb1c95d7ac550125b86519e506887054bb9ea8a4ea8791d21eaa12b04",
        "numberCount": 34
      }
    },
    {
      "step": 25,
      "tool": "gis_render",
      "args": {
        "layers": [
          {
            "handle": {
              "$ref": {
                "step": 19,
                "handle": "dataset"
              }
            },
            "style": {
              "ramp": "greys",
              "min": 0,
              "max": 80,
              "units": "m"
            }
          },
          {
            "handle": {
              "$ref": {
                "step": 20,
                "handle": "dataset"
              }
            },
            "style": {
              "fill": "#00c853",
              "stroke": "#ffffff",
              "width": 1,
              "marker": "circle",
              "size": 10
            }
          },
          {
            "handle": {
              "$ref": {
                "step": 21,
                "handle": "dataset"
              }
            },
            "style": {
              "fill": "#ff1744",
              "stroke": "#ffffff",
              "width": 1,
              "marker": "circle",
              "size": 10
            }
          },
          {
            "handle": {
              "$ref": {
                "step": 22,
                "handle": "dataset"
              }
            },
            "style": {
              "fill": "#d500f9",
              "stroke": "#ffffff",
              "width": 1,
              "marker": "circle",
              "size": 10
            }
          }
        ],
        "extent": [
          565350,
          4900060,
          566100,
          4900900
        ],
        "width": 1600,
        "height": 1792,
        "title": "One 2008 LiDAR tile: NativeGIS tree tops against the TV081 stem map",
        "outPath": {
          "$path": "work/repro/tv081-stems-prev/trees_vs_tv081.png"
        },
        "format": "png",
        "inline": false,
        "legend": true,
        "scaleBar": true,
        "northArrow": true,
        "background": "#ffffff",
        "async": false
      },
      "inputs": [],
      "outputs": [
        {
          "role": "outPath",
          "path": "work/repro/tv081-stems-prev/trees_vs_tv081.png",
          "bytes": 1990085,
          "sha256": "29d3d279595553ac5cd3f6bf7c0c151c56bc37b18b146b77218624a4489ea6f9",
          "hashKind": "file"
        }
      ],
      "produces": [],
      "expect": {
        "ok": true,
        "code": null,
        "numbers": {
          "bytes": 1990085,
          "extent[0]": 565350,
          "extent[1]": 4900060,
          "extent[2]": 566100,
          "extent[3]": 4900900,
          "height": 1792,
          "layers[0].index": 1,
          "layers[0].max": 82.88,
          "layers[0].min": 0,
          "layers[0].opacity": 1,
          "layers[0].pixels": 2867200,
          "layers[0].range[0]": 0,
          "layers[0].range[1]": 80,
          "layers[0].validPixels": 2559995,
          "layers[1].features": 9054,
          "layers[1].inView": 9054,
          "layers[1].index": 2,
          "layers[1].opacity": 1,
          "layers[2].features": 5943,
          "layers[2].inView": 5943,
          "layers[2].index": 3,
          "layers[2].opacity": 1,
          "layers[3].features": 134,
          "layers[3].inView": 134,
          "layers[3].index": 4,
          "layers[3].opacity": 1,
          "legend[0].max": 80,
          "legend[0].min": 0,
          "northArrow.convergenceDeg": -0.575,
          "scaleBar.metres": 100,
          "scaleBar.metresPerPixel": 0.469,
          "scaleBar.pixels": 213.3,
          "unitsPerPixel": 0.469,
          "width": 1600
        },
        "numbersDigest": "810efa117122e70ccfbb659825565c45a83b437af7db81141b1cb5c2448acfcb",
        "numberCount": 34
      }
    }
  ],
  "skipped": [
    {
      "step": 2,
      "tool": "gis_job_result",
      "reason": "not a processing step"
    },
    {
      "step": 7,
      "tool": "gis_job_result",
      "reason": "not a processing step"
    },
    {
      "step": 9,
      "tool": "gis_job_result",
      "reason": "not a processing step"
    },
    {
      "step": 11,
      "tool": "gis_job_result",
      "reason": "not a processing step"
    },
    {
      "step": 13,
      "tool": "gis_job_result",
      "reason": "not a processing step"
    },
    {
      "step": 16,
      "tool": "gis_job_result",
      "reason": "not a processing step"
    },
    {
      "step": 24,
      "tool": "gis_job_result",
      "reason": "not a processing step"
    },
    {
      "step": 26,
      "tool": "gis_report",
      "reason": "not a processing step"
    }
  ]
}
