<div dir="ltr"><div class="gmail-gE gmail-iv gmail-gt" style="padding:20px 0px 0px;font-size:12.8px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><table cellpadding="0" class="gmail-cf gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block"><tbody style="display:block"><tr class="gmail-acZ gmail-xD" style="height:auto;display:flex"><td colspan="3"><table cellpadding="0" class="gmail-cf gmail-adz" style="border-collapse:collapse;table-layout:fixed;white-space:nowrap;width:872px"><tbody><tr><td class="gmail-ady" style="overflow:visible;text-overflow:ellipsis;display:flex;line-height:20px"><div class="gmail-ajy" tabindex="0" style="display:inline-flex;margin-left:4px;vertical-align:top;border:none;outline:none"><img class="gmail-ajz" id="gmail-:1e4" src="https://mail.google.com/mail/ca/u/0/images/cleardot.gif" alt="" style="background: url("https://www.gstatic.com/images/icons/material/system/2x/arrow_drop_down_black_20dp.png") 50% 50% / 20px no-repeat; cursor: pointer; padding: 0px; vertical-align: baseline; height: 20px; width: 20px; border: none; margin: 0px 0px 0px auto; right: 0px; top: 0px; display: flex; opacity: 0.54;"></div></td></tr></tbody></table></td></tr></tbody></table></div><div id="gmail-:1en" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-qQVYZb"></div><div class="gmail-utdU2e"></div><div class="gmail-btm"></div></div><div class="gmail-" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-aHl" style=""></div><div id="gmail-:1e3" tabindex="-1"></div><div id="gmail-:1ep" class="gmail-ii gmail-gt gmail-adO" style="font-size:12.8px;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-:1eo" class="gmail-a3s gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr"><div dir="ltr">See attached screenshot, I was able to remove voxels above the DEM and below bedrock surface using r3.out.vtk and selecting export as <b>pointdata (p)</b> not voxels.  If exported as a Voxel from r3.out.vtk, the voxel file did not open properly in Paraview could be due to size of file. I changed option to export as points and it is working.  </div><div dir="ltr">grid resolution is 5 x 5 x 1 m over 4km x 4 km x 65 m thickness approx. (actual thickness varies between DEM and top of rock).<br><div><br></div><div><div>r3.out.vtk -p -s input=jan27551tens100@Toronto output=C:\Users\Francois Chartier\Documents\GeoModel\WorkingFile\Feb6_VTK_Pts top=GTADEM@Toronto bottom=rock@PERMANENT</div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 5 févr. 2019 à 21:20, Francois Chartier <<a href="mailto:fra.chartier@gmail.com">fra.chartier@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">See attached screenshot, I was able to remove voxels above the DEM and below bedrock surface using r3.out.vtk and selecting export as <b>pointdata (p)</b> not voxels.  If exported as a Voxel from r3.out.vtk, the voxel file did not open properly in Paraview could be due to size of file. I changed option to export as points and it is working.  </div><div dir="ltr">grid resolution is 5 x 5 x 1 m over 4km x 4 km x 65 m thickness approx. (actual thickness varies between DEM and top of rock).<br><div><br></div><div><div>r3.out.vtk -p -s input=jan27551tens100@Toronto output=C:\Users\Francois Chartier\Documents\GeoModel\WorkingFile\Feb6_VTK_Pts top=GTADEM@Toronto bottom=rock@PERMANENT</div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 3 févr. 2019 à 16:42, Francois Chartier <<a href="mailto:fra.chartier@gmail.com" target="_blank">fra.chartier@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I would like to remove voxels located at a higher elevation than  DEM.  </div><div>I have been trying r3.mapcalc without sucess.</div><div>Does the XY resolutions of both raster have to the same?</div><div>any ideas how to do this?</div><div>Thanks</div><div>Francois</div></div>
</blockquote></div>
</blockquote></div>