# Pix4D not respecting the pointcloud classification to create the DTM

**URL:** <https://community.pix4d.com/t/pix4d-not-respecting-the-pointcloud-classification-to-create-the-dtm/7698>\
**Category:** PIX4Dmapper Questions/Troubleshooting\
**Created:** [December 10, 2018, 11:56pm UTC](https://community.pix4d.com/t/pix4d-not-respecting-the-pointcloud-classification-to-create-the-dtm/7698 "2018-12-10T23:56:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raul\_Martinez](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/raul_martinez/32/376_2.png) [@Raul\_Martinez](https://community.pix4d.com/u/Raul_Martinez)\
**Post date:** [December 10, 2018, 11:56pm UTC](https://community.pix4d.com/t/pix4d-not-respecting-the-pointcloud-classification-to-create-the-dtm/7698/1 "2018-12-10T23:56:28Z")

</div>

I’m having some problems with the DTM creation.&nbsp;

After ajust the automatic pointcloud classification process you can see I left not even one point of threes or buildings on my point cloud:&nbsp;

Even so, the DTM proccess still having some unexpected elevation that complete disregards that classification:&nbsp;

How can I (or anyone) trust the classification or the DTM result if the program it’s not taking on account those specification?&nbsp;

&nbsp;

How can I prevent this from happening and have every point on his correct classification? (I don’t want to classified all the objects on the “Disable” category.&nbsp;

---

<div class="post-metadata">

**Author:** ![Pix4D\_Alumni\_MV](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/pix4d_alumni_mv/32/2071_2.png) [@Pix4D\_Alumni\_MV](https://community.pix4d.com/u/Pix4D_Alumni_MV)\
**Post date:** [December 13, 2018, 9:49am UTC](https://community.pix4d.com/t/pix4d-not-respecting-the-pointcloud-classification-to-create-the-dtm/7698/2 "2018-12-13T09:49:48Z")

</div>

Hola Raúl,

During DTM generation, the disabled points are not definitively removed but rather smoothed which can lead sometimes to certain inconsistencies. Besides as the classification is automatic it might need some manual correction.

That’s why sometimes we would recommend to generate the DTM in the same way you do so for the DSM, but assigning all point from all classes, except “Ground”,&nbsp; to the class “Disable”. This usually leads to better results.  
If you want to preserve some features, you can keep them by assigning them to the class “Ground”. Make sure that all the points from features you want to preserve are assign to the correct class.

- [How to edit the point cloud in the rayCloud](https://support.pix4d.com/hc/en-us/articles/202560499-How-to-edit-the-point-cloud-in-the-rayCloud)

Then, when you are happy with your classification, you can launch step 3:

- [Menu Process \> Processing Options… \> 3. DSM, Orthomosaic and Index \> DSM and Orthomosaic](https://community.pix4d.com/hc/en-us/related/click?data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGkESckSDDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGkE08sSDDoLbG9jYWxlSSIKZW4tdXMGOgZFVDoIdXJsSSJxL2hjL2VuLXVzL2FydGljbGVzLzIwMjU1Nzc2OS1NZW51LVByb2Nlc3MtUHJvY2Vzc2luZy1PcHRpb25zLTMtRFNNLU9ydGhvbW9zYWljLWFuZC1JbmRleC1EU00tYW5kLU9ydGhvbW9zYWljBjsIVDoJcmFua2kH--6075da37e8fe640f644b74e08bd1e0a6269a39f8)

Make sure that Raster DTM is unchecked:

One more thing, if you DTM has some holes you can fill them using the “New Surface” tool:

- [How to draw a Surface in the rayCloud](https://support.pix4d.com/hc/en-us/articles/202560269-How-to-draw-a-Surface-in-the-rayCloud)

Make sure that you have check the box “Use for DSM and Triangle Mesh”:  
  
Hope this will you to improve the quality for your DTM.

Best,
