0

I'm plotting a scatter map with plotly, and I have a lot of markers that are overlapping and very close to each other.

This may be convoluted, but I'm trying to spread them apart by tweaking each coordinates so that they're not within a 10-20 mile radius of each other. Is this possible to do in Python? I would have no idea how to go about doing this.

I am also open to other solutions that I haven't thought of.

enter image description here

9
  • Is the number of points important? Could you reduce the number of markers by looping through them, then for each marker, select all other markers within 10-20mile radius, and delete them? Commented Jun 28, 2024 at 3:16
  • @tomtomnz Yes, the number of points are important. I need all the points to be present on the map. Commented Jun 28, 2024 at 15:54
  • How many points are there Commented Jun 30, 2024 at 15:37
  • @Bera About 50/60 points. Commented Jul 1, 2024 at 0:33
  • Can you add a screenshot showing how the points are scattered? Commented Jul 1, 2024 at 7:54

0

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.