Yes. You would just have to define in the script what the "world" is, as far as parameters or coordinates or regions or facets, etc. Then it's just a matter of selecting a random location from within that definition. The random location would be selected probably by facet, then region, then whatever sets of coordinates you have for each region.