I require a specific output but it is proving difficult for me to work out a workflow.
I have:
1) polygons of new housing developments (356, non overlapping)
2) a 25m raster of land cover
I want to update my land cover raster (in areas where polygons overlay) to a new mix of land cover classes (predominantly built-up but with some improved grassland etc).
This mix is different for each polygon.
I have added to the polygon attribute table the number of cells of each land cover class that I want the polygon to represent when converted to raster (e.g. 18 built-up, 1 arable, 1 improved grassland, as the the polygon will be represented by 20 cells).
Furthermore, the cell values (land cover classes) need to be randomly allocated within the area covered by each polygon!
Any suggestions! Python or R code solutions welcome. I am more familiar with R but can run Python code if it doesn't need much adapting by me!
I am using ArcGIS 10.1 license type advanced. Windows 7 64-bit i7 processor
أكثر...
I have:
1) polygons of new housing developments (356, non overlapping)
2) a 25m raster of land cover
I want to update my land cover raster (in areas where polygons overlay) to a new mix of land cover classes (predominantly built-up but with some improved grassland etc).
This mix is different for each polygon.
I have added to the polygon attribute table the number of cells of each land cover class that I want the polygon to represent when converted to raster (e.g. 18 built-up, 1 arable, 1 improved grassland, as the the polygon will be represented by 20 cells).
Furthermore, the cell values (land cover classes) need to be randomly allocated within the area covered by each polygon!
Any suggestions! Python or R code solutions welcome. I am more familiar with R but can run Python code if it doesn't need much adapting by me!
I am using ArcGIS 10.1 license type advanced. Windows 7 64-bit i7 processor
أكثر...