<div dir="ltr">You can't do this directly with a command-line option, but there are alternatives:<div><br></div><div>1) The header of a PLY file is ASCII text.  You can simply change the name of the field that's called "gray" (or whatever) to "Intensity".</div><div>2) You can add a ferry filter after the ply reader in your pipeline to copy the data from the gray field to the Intensity field.  If you're using "pdal translate", you can add the ferry filter to the process by using `-f ferry --filters.ferry.dimensions "gray=>Intensity"</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 5, 2018 at 12:41 PM Schneider, Dominik <<a href="mailto:dominik.schneider@wsu.edu">dominik.schneider@wsu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-8361276463773472080divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0">is it possible to read a custom scalar field into the intensity dimension?</p>
<p style="margin-top:0;margin-bottom:0"><span>in my case, the output from our scanner includes a "gray" scalar value (binary .ply format) that is actually intensity. i would like to map it into the intensity dimension for processing.</span><br>
</p>
<p style="margin-top:0;margin-bottom:0">see this discussion surrounding lastools :<br>
</p>
<p style="margin-top:0;margin-bottom:0"><a href="https://groups.google.com/d/msg/lastools/zrpVZXtzhug/7-ZZKqIHAgAJ" class="m_-8361276463773472080OWAAutoLink" id="m_-8361276463773472080LPlnk817887" target="_blank">https://groups.google.com/d/msg/lastools/zrpVZXtzhug/7-ZZKqIHAgAJ</a></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><a href="https://groups.google.com/d/msg/lastools/zrpVZXtzhug/7-ZZKqIHAgAJ" class="m_-8361276463773472080OWAAutoLink" id="m_-8361276463773472080LPlnk817887" target="_blank"><span style="color:rgb(0,0,0)">Thanks!</span><br>
</a></p>
<div id="m_-8361276463773472080LPBorder_GT_15387573529370.6626886477549087" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px">
<table id="m_-8361276463773472080LPContainer_15387573529350.7213150903758169" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td id="m_-8361276463773472080TextCell_15387573529360.22434935464485217" style="vertical-align:top;padding:0px;display:table-cell" colspan="2">
<div id="m_-8361276463773472080LPRemovePreviewContainer_15387573529360.02392829268071417"></div>
<div id="m_-8361276463773472080LPTitle_15387573529360.06885591719204198" style="color:rgb(0,120,215);font-weight:400;font-size:21px;font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;line-height:21px">
<a id="m_-8361276463773472080LPUrlAnchor_15387573529360.11966461979746246" style="text-decoration:none" href="https://groups.google.com/d/msg/lastools/zrpVZXtzhug/7-ZZKqIHAgAJ" target="_blank">Google Groups</a></div>
<div id="m_-8361276463773472080LPMetadata_15387573529360.7465951949687325" style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:14px">
<a href="http://groups.google.com" target="_blank">groups.google.com</a></div>
<div id="m_-8361276463773472080LPDescription_15387573529370.05160597268630995" style="display:block;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:20px;max-height:100px;overflow:hidden">
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<p></p>
</div>
</div>

_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>