New answers tagged contour
In ArcGIS, you could make a raster surface model using topoToRaster, than use Slope to represent your raster, then use RasterToPolygon to make your steep areas and your relatively flat areas into polygons and then delete the relatively flat areas that do not have a watercourse in their midst or that are not circumscribed between steep slopes. There will be ...
If you want to obtain one layer for every attribute in a specific field then you could to use "Split vector layer" in: Processing Toolbox >> QGIS Geoalgorithms >> Vector general tools
You can do that while generating the contour lines. When you define the interval between contour lines in the Contour menu, you can provide an attribute name, in which the elevation will be attached as an attribute. See also the tutorial, step 14.
You can do something similar using gdal_calc.py, e.g.: gdal_calc.py -A dtm.tif --calc='((A>=100)*(A<=200))*A+((A<100)*0)+((A>200)*0)' --outfile=dtm_reclass.tif --NoDataValue=-32767 This calc expression would: Assign a value of 0 to all pixel values less than 100 ((A<100)*0) Assign a value of 0 to all pixel values greater than 200 ((A>...
I'm not sure if you can do this with any of the gdal cli tools, but I wrote something in python which accomplishes it: from osgeo import gdal from osgeo.gdalconst import GDT_Float32 import sys import numpy as np def fix_dem_nodata(raster_input, raster_output, nodata=0, threshold=-900): try: in_data, out_data = None, None # open ...
Checkout turf.js isobands function. Though ultimately @Diffusion_net is right: trying to do this in the browser is going to be much harder than doing it on your own using Arc/qGIS. If your data is relatively static, this shouldn't be an issue. If you have to perform these calculations on the fly in the browser, then isobands should get you there.
So I do not know of any native plug ins for leaflet to create contour lines and fill them in like this. So unless you want to write your own function for achieving this I see the easiest way to go about this would be to create contour polygons(filled contour lines) in a desktop software (ArcGIS, QGIS, etc.)and export the shapefile, afterwards convert that ...
Top 50 recent answers are included