We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

3

I would suggest Add autoincremental field tool in the QGIS Processing Toolbox > Vector table. [Step 1] Draw a dummy line Create a new line shapefile (in this example I have created a Lines layer, with only one line, which starts at the lowest point and ends at the highest point [a1]. [a2]. I have an id field, called fid (and it has only 1 line; i.e. "...


2

In my earlier comment I said: Try running a transect line across your contours and then doing an Intersect of that with your contours. If the resultant points preserve the order you want then you could iterate through them to select the contours (Select By Location) and update their values (Calculate Field or UpdateCursor). This would be easier ...


2

I could be wrong about the success of this approach, but I would think something like this would work: Identify an area of the map where contours are of even slope, ie they evenly spaced apart. Create a new line layer with just the boundary contours and give them their correct values Interpolate a grid with these boundary contours. Because they are evenly ...


3

with the commanline tool gdal_contour you can choose from which band the contour lines shall be created. In this example band 42: gdal_contour -a elev dem.tif contour_band_42.shp -i 10.0 -b 42 This can be integrated in a batch file. On Unix it should be something like this: for BAND in {1..120} do gdal_contour -a elev dem.tif contour_band_${BAND}.shp -...


Top 50 recent answers are included