Quantcast
Viewing all articles
Browse latest Browse all 1257

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 … Continue reading Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 1257

Trending Articles