1

I have a use case where I want to generate random points within a geometry. For my use cause, the geometry is a district with my country — for example, West Bay, Grand Cayman.

If I search for the district in Google Maps, it brings it up with the district outlined. How do I download the points that make up that geometry so I can use Python to generate random points within that geometry?

Or is there an easier way to get random points within a specified geometry? Remember that I want to ensure it is within the district boundaries and not in the middle of a pond or harbour.

2

1 Answer 1

0

For anyone else who runs into this, I was able to get what I want from OpenStreetBrowser.com.

https://www.openstreetbrowser.org/

2
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Nov 24, 2023 at 16:07
  • This is not a valid criticism from the StackExchange Bot. Yes, the answer is short. But that's because once the hyperlink is accessed, the answer is obvious. Commented Nov 24, 2023 at 23:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.