Re: [gdal-dev] Slope obtained with GDAL has weird lines

2020-03-17 Thread David Strip
On 3/17/2020 2:24 PM, Danilo da Rosa wrote: Do you think it would be a good idea to do some kind of interpolation to smooth the DEM file or the slope file? Do you have any recommendations on how to do that using gdal? The idea is to use the gdaldem

Re: [gdal-dev] Slope obtained with GDAL has weird lines

2020-03-17 Thread Danilo da Rosa
Thanks for your answers Joaquim, Alex and Martin! I think the problem is height is measured by 1m intervals, thatÅ› why I see 1 meter contour lines in the slope result. The dem grid was not interpolated from contours, at least not by me, the data comes from Mapzen terrain tiles, I don't know exactl

Re: [gdal-dev] Slope obtained with GDAL has weird lines

2020-03-17 Thread Martin Chapman
A slope map indicates the maximum rate of change between a pixel elevation value and its neighboring 8 pixels. In other words, the output value for each pixel represents the steepest slope, or decent to the neighboring elevation values. The output values are given as either percent slope or de

Re: [gdal-dev] Slope obtained with GDAL has weird lines

2020-03-17 Thread Michael Patrick
> > *> I am working with this DEM obtained using terraincache > , it uses mapzen data. The SRC is > WGS 84. ... Does anyone have an idea of how to solve it? * > Get better elevation data ... you didn't mention where in the world you are, but if you tell me