Select to view content in your preferred language

Simulating/Randomizing Raster Data

110
1
04-17-2025 11:57 AM
caleb576
New Contributor

I just created a raster layer by using the Polygon to Raster Tool, but the result doesn't really give any information. Is there another tool that can be used from this point to Randomize the value of each raster cell to simulate density but still equal the value that was given to the polygon?

For context if it helps at all: I am trying to map herbicide treatment of weeds and don't have any geospatial data, but do have application records. These records give me the area (in acres) of land treated, gallons of herbicide used, and rate of application (gallons per acre).  My goal is to try and visualize the amount of herbicide sprayed in areas across this site.

I created multiple polygons to further break down the site into segments, calculated the area in acres of each polygon, and created fields and assigned values for each piece of data listed before:Acres treated, Gallons of herbicide used, and application rate. And I also calculated a new field: Treatment Ratio to know how much area of each polygon was treated. I used this Treatment Ratio value as the value used in the Polygon to Raster tool

Now from here I'm not sure how to make this data make any sense visually would one of the other values I have access to work better, or is there not much I can do with this data? Any help is much appreciated and I would be happy to explain further if that would help.

0 Kudos
1 Reply
DavidPike
MVP Notable Contributor

I don't quite understand what you want to achieve from your explanation.  If you want the total values of all the raster cells to be equal to the amount of herbicide used:
assuming the ratio is per sq.m.
Set raster cell size to 1m.
Polygon to raster using the ratio value.

however I'm not sure what that realistically achieves.  Randomising those values but retaining a total sum cell value equal to the herbicide volume seems like a python numpy script.  However it creates a false visual of accuracy and precision.


0 Kudos