# smoother contour lines

**URL:** <https://community.pix4d.com/t/smoother-contour-lines/2783>\
**Category:** PIX4Dmapper Questions/Troubleshooting\
**Created:** [December 29, 2016, 4:45pm UTC](https://community.pix4d.com/t/smoother-contour-lines/2783 "2016-12-29T16:45:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramiro\_Massa](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@Ramiro\_Massa](https://community.pix4d.com/u/Ramiro_Massa)\
**Post date:** [December 29, 2016, 4:45pm UTC](https://community.pix4d.com/t/smoother-contour-lines/2783/1 "2016-12-29T16:45:20Z")

</div>

is there a way to smooth out the contour lines a client was concerned about jagged lines compared to a traditional survey done with smooth contours.

will adjusting surface smoothing in step 3 effect contours generated from the DTM ?

---

<div class="post-metadata">

**Author:** ![Marili\_Giovani](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/marili_giovani/32/187_2.png) [@Marili\_Giovani](https://community.pix4d.com/u/Marili_Giovani)\
**Post date:** [January 18, 2017, 9:20am UTC](https://community.pix4d.com/t/smoother-contour-lines/2783/2 "2017-01-18T09:20:26Z")

</div>

Hello&nbsp;Ramiro,

Since the contour lines are based on the DSM and the DTM is based on the DSM. So the contour lines generated by the DTM, will also depend on the DSM.&nbsp;

What you could do is to modify is the Processing options of the Contour Lines to make them smoother.&nbsp;  
To do so,&nbsp;

1. On the Menu bar \> Process \> **Processing Options**
2. Click **3. DSM, Orthomosaic and Index** and select the tab **Additional Outputs**
3. In the section _Contour Lines_ change the **Resolution**.
4. Click **OK.**
5. On the Menu bar \> Process \> **Generate Contour Lines** …

Make sure you have processed Step 3 and the DTM is generated so that the contour lines will be based on the DTM.&nbsp;

The _Resolution_ defines the horizontal distance for which an altitude value is registered.&nbsp;  
You can adjust this value and the higher it is the smoother the contour lines will be.&nbsp;

You will find all the analytical information here:  
[https://support.pix4d.com/hc/en-us/articles/202558419#label2](https://support.pix4d.com/hc/en-us/articles/202558419#label2)

&nbsp;

Best Regards,&nbsp;

---

<div class="post-metadata">

**Author:** ![AP\_Procurement](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@AP\_Procurement](https://community.pix4d.com/u/AP_Procurement)\
**Post date:** [June 12, 2018, 3:21am UTC](https://community.pix4d.com/t/smoother-contour-lines/2783/3 "2018-06-12T03:21:16Z")

</div>

I have the converse problem

I have run a DTM generation, with a resolution of 5 x GSD (recommended values) - but the surface that comes from this is very rounded / soft - to such an extent that surfaces I am certain are horizontal, such as roads, have a significant rounding into a slope.

Are there any recommended parameters to control this? - it seems a little of a black box solution

I have read the paper on the Pix4D algorithm, I just don’t see much granularity of control for this in the settings

&nbsp;

My alternative method is to use cloudcompare from the original and progressively use the CSF filter assuming steep processed slopes and resolution at varying values to remove vegetation / upstanding materials

I then re-raster this surface at a modest resolution to produce a lowest point per 0.5m grid say.

A bit time consuming

---

<div class="post-metadata">

**Author:** ![Cristina\_Timofte](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/cristina_timofte/32/221_2.png) [@Cristina\_Timofte](https://community.pix4d.com/u/Cristina_Timofte)\
**Post date:** [June 14, 2018, 1:02pm UTC](https://community.pix4d.com/t/smoother-contour-lines/2783/4 "2018-06-14T13:02:52Z")

</div>

Hi,

&nbsp;

Unfortunately,&nbsp;there are no parameters that would&nbsp;control the smoothness algorithms. To better understand your case could you post here the quality report and a screenshot of the&nbsp;DSM vs. DTM?

&nbsp;

Thank you,

Ina

---

<div class="post-metadata">

**Author:** ![Jeff\_Brady](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jeff\_Brady](https://community.pix4d.com/u/Jeff_Brady)\
**Post date:** [December 10, 2019, 9:38am UTC](https://community.pix4d.com/t/smoother-contour-lines/2783/5 "2019-12-10T09:38:30Z")

</div>

The recommendation in step 3 “change the resolution” has not recommendation on typical settings to try using based on common interval settings. The software defaults to 10 m with a resolution of 100 cm, this default seems appropriate for environments with large elevation changes. In many cases the contour elevation intervals are closer to 1 m (3 feet) and even leaving the resolution at 100 cm, the contours still do not approach the smoothness of a traditional contour map produced by a Land Surveyor. Although I would point out this is going to be more accurate that most traditional methods other than a terrestrial Lidar scan.

Would you not agree that if your intervals are 1 m that the resolution should not be increased to larger than the default 100 cm for something like a 50 hectare area with no more than 25 m of elevation change?

I think this is an area Pix4D can improve on both in the documentation (add some recommendations for some common scenarios and in the software settings themselves.)
