<div dir="ltr">I am working on a voxelization problem and am having difficulty with filters.assign. <div>The purpose of the code is to 1) add the HeightAboveGround dimension to las points using a dtm, copy the Z value of each point to a backup dimension (PassiveZ), and then calculate a new Z as: </div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>((Z-minx)/scalefactor)+HeightAboveGround</div></blockquote><div><br></div><div>I voxelize the resulting LAS and should get an image of vertical profiles that includes information about topography and canopy structure, like so:</div><div><br></div><div><img src="cid:ii_lqzy7ww00" alt="image.png" width="542" height="328"><br></div><div><br></div><div>The problem I have is that when I run the JSON for it, I get the following message: </div><div><br></div><div>(pdal_261) lefsky@lefsky-X10DRi:~/time_trials$ pdal pipeline tile_66_136_sub_01hagscale.json <br><b>PDAL: filters.assign: <br></b></div><div><br></div><div>If I remove the filters.assign section, the json runs without a problem. </div><div><br></div><div>The Json follows. </div><div><br></div><div>I also have another, simpler, problem involving the extra_dims keyword for writers.las. I see the explanation about how to format the specification for extra_dims (<dimension_name>=<type>) but I couldn't get it to work and I don't see any examples of proper formatting to follow.  </div><div><br></div><div>Any help is appreciated. </div><div><br></div><div>Michael<br><div><br></div><div><br>{  "pipeline":[<br>    {"filename":"tile_66_136_sub_01.laz"},<br>    { "type":"filters.hag_dem","raster":"tile_66_136_dtm.tif"},<br>{ "type": "filters.assign","value": ["PassiveZ=Z",<br>            "Z=((PassiveZ-8153)/20)+HeightAboveGround"]},<br>{       "type":"writers.las",<br>        "filename":"tile_66_136_sub_01_hagscale.laz",        <br>        "compression":"laszip",<br>        "extra_dims":"all"}<br>]}<br><div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Michael Lefsky (He/His) <br></div><div>Home Location: HVHF+GH<br></div><div>Cell: 970-980-9036</div><div><div><span style="color:rgb(51,51,51);font-family:Arial,Helvetica,sans-serif;font-size:12px;white-space:nowrap"><a href="http://www.researcherid.com/rid/A-7224-2009" target="_blank">http://www.researcherid.com/rid/A-7224-2009</a></span><br><div><br><div><em style="color:rgb(96,96,96);font-family:Helvetica;font-size:11px"><span style="font-family:"courier new",courier,"lucida sans typewriter","lucida typewriter",monospace"><strong>“</strong><strong>for being prematurely, and worse, intuitively right — there’s a heavy price. But for being wrong — no, not so long as you’re wrong in a pack.</strong><strong></strong><strong>" Gary Brecher / Portis</strong></span></em></div></div></div></div><div><em style="color:rgb(96,96,96);font-family:Helvetica;font-size:11px"><span style="font-family:"courier new",courier,"lucida sans typewriter","lucida typewriter",monospace"><strong><br></strong></span></em></div><div><div style="color:rgb(34,34,34)"><font size="1">*I acknowledge that I live and work on stolen land. This is the land of the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more about these nations, please visit;</font></div><div style="color:rgb(34,34,34)"><font size="1"><a href="http://www.utemountainutetribe.com/" style="color:rgb(17,85,204)" target="_blank">http://www.utemountainutetribe.com/</a><br></font></div><div style="color:rgb(34,34,34)"><font size="1"><a href="http://www.cheyennenation.com/" style="color:rgb(17,85,204)" target="_blank">http://www.cheyennenation.com/</a><br></font></div><div style="color:rgb(34,34,34)"><font size="1"><a href="https://cheyenneandarapaho-nsn.gov/" style="color:rgb(17,85,204)" target="_blank">https://cheyenneandarapaho-nsn.gov/</a><br></font></div><div style="color:rgb(34,34,34)"><font size="1"><a href="https://native-land.ca/" style="color:rgb(17,85,204)" target="_blank">https://native-land.ca/</a><br></font></div></div><div><br></div></div></div></div></div></div></div></div></div></div>