Select to view content in your preferred language

Problem with the pixel value

2011
5
11-26-2020 05:21 AM
DespinaTsigarida
Emerging Contributor

Hello, 

I have a dem in which two lines are shown, one is vertical and the other is horizontal. The pixel value of those is 0. When I use the slope tool, the final result of the area is distorted. I've tried the Setnull from raster calculator which worked but also for other pixels where their value is also 0(screenshot_4). Does anyone know how to solve this problem? 

Thank you in advance.

 

0 Kudos
5 Replies
DavidPike
MVP Frequent Contributor

can you give an example of the distortion?

0 Kudos
DespinaTsigarida
Emerging Contributor
 
0 Kudos
DavidPike
MVP Frequent Contributor

Looks like a logical result of the mismatched tiles, what are you expecting or wanting to see instead?

I guess you could interpolate the missing DEM values.

0 Kudos
DespinaTsigarida
Emerging Contributor

First, thanks for the reply. I just think that for the final report it's not aesthetically nice to be shown these 2 lines so I was hoping there was a way to correct the DEM. Also, in DEM there are no missing values. The pixel value of the problematic lines are 0. 

0 Kudos
DavidPike
MVP Frequent Contributor

With the value as 0, its calculating a huge slope in those areas, which is logical.  I'd definitely call those lines of 0 value missing data.

0 Kudos