New answers tagged

2

There is an option where you use a feature as an obstacle to discourage labeling other features if they are overlapping each other. But as far as I know, it just shift the labels of one layer if they are overlapped by another layer. For example in your case you want to prevent contour lines to be labeled when they are covered by "New scratch layer". So you ...


6

Set environment setting extent=your DEM extent, snap raster = DEM, cell size= one for DEM. Use raster calculator expression: Con("DEM">1500,"DEM) Right click on resulting raster, Source, scroll down to see Mean


2

The gdal command line is great for this kind of thing. Using an ASTGTM DEM file, with heights in metres, to generate a shapefile with 20 foot contours (6.096m): gdal_contour -a elev -i 6.096 astdem.tif astdem.shp -a elev: create a field called 'elev' with the contour height in metres; -i 6.096: create contours at 6.096m intervals (20 feet); astdem.tif - ...


1

Try this tool box. It has a tool that allows you to create filled contours, from which you can easily work out areas.


0

You could to use "gdal_contour". This tool is in Menu of QGIS >> Raster >> Extraction >> Contour... Input raster = your DEM Interval between contour line = 0.5 (metres)


1

Although there is a float version available in gdal as a function, the gdal_polygonize python script uses the integer version of this function, as ahmadhanb stated. This might be a way to work around this. First, use raster calculator to double your elevations (raster_layer@1 * 2, for example) and write this to a new raster. Use 1/interval to multiply, so ...


0

I do not think you would be able to create a polygon elevation with 0.5m interval directly by converting the DEM to polygon. The DEM has a type of float, and when you convert the DEM to polygon you will convert the pixel value to integer which means you will not get fractions like 0.5. In order to get the attribute table of a raster, the pixel values or DN ...



Top 50 recent answers are included