Changeset 6794274 for src/python/bin


Ignore:
Timestamp:
Sep 22, 2018, 4:40:55 PM (8 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
fbc3d47
Parents:
b76295a
Message:

Added hillshade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/python/bin/gnuboat-log-analyser

    rb76295a r6794274  
    181181        grid_options = gdal.GridOptions(outputType = gdal.GDT_Float32, format = "GTiff", width = target_x_res, height = target_y_res, outputSRS = "WGS84", noData = target_nodata_value, layers = source_data_layer)
    182182        gdal.Grid(gdal_file, source_xml_file, options = grid_options)
     183       
     184        # hillshade
     185        gdal_file_hillshade  = os.path.join(output_directory, "water_depth_hillshade.tif")
     186        gdal.DEMProcessing(gdal_file_hillshade, gdal_file, "hillshade", options = gdal.DEMProcessingOptions(format = "GTiff"))
    183187       
    184188        # translate the data
Note: See TracChangeset for help on using the changeset viewer.