Quantcast
Viewing all articles
Browse latest Browse all 14

Creating a raster layer with a weighted random sample of points (or, my first attempt to create a python script)

I needed to create a raster map layer with a weighted random sample of all raster cells, using the percentage of crop land as weight. I couldn’t find a function to create such a weighted sample, so I decided to create a script to do this for me. Update: I created an addon based on […]Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 14

Trending Articles