bogsnork / enBlanketBogModel

a model for predicting the presence of blanket bog in England
0 stars 0 forks source link

moorland line distance #4

Closed bogsnork closed 6 years ago

bogsnork commented 6 years ago

instead of clipping predictors to to moorland line, train model on distance to moorland line. Need to create a raster of distances to moorland line.

bogsnork commented 6 years ago

Did this in ArcGIS by:

  1. using moorland_line_RPA layer and calculating euclidian distance using Spatial Analyst, ensuring environments use extent same as topo_env_data.tif and snapped to topo_env_data.tif. This results in all distances inside each polygon = 0.
  2. creating inverse of moorland line and caluclating euclidian distance in the same way. This results in all cells outside polygon = 0.
  3. multiplying the inside distances by -1 using Map Algebra
  4. adding the two distance rasters together
bogsnork commented 6 years ago

now need to

bogsnork commented 6 years ago

cleaned and committed changes b27b4b303741f8e25c762958350e71622ce4eb2f

bogsnork commented 6 years ago

ran model with moorland line distance incorporated

bogsnork commented 6 years ago

pushed changes, close issue