Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get geo coordinates equally spaced around a circle centered at a GeoLocation
ResourceFunction["GeoCirclePoints"][loc,dist,n] gives the positions of n points equally spaced at a distance dist around the GeoLocation loc. | |
ResourceFunction["GeoCirclePoints"][loc,{dist1,dist2},n] gives the positions of n points at equal angles around the ellipse with semiaxes of lengths dist1 and dist2 around the GeoLocation loc. | |
ResourceFunction["GeoCirclePoints"][loc,{dist1,dist2,align},n] gives the positions of n points on the ellipse whose major axis is at the angle align. |
Find 10 points at a 10 mile radius from Oxford:
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[2]= | ![]() |
GeoCirclePoints can accept an Entity with a geo position property:
In[3]:= | ![]() |
Out[3]= | ![]() |
Provide two semiaxes lengths to generate points on an ellipse:
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
Ellipses are aligned to the equator unless you provide an alignment angle:
In[6]:= | ![]() |
Out[6]= | ![]() |
In[7]:= | ![]() |
Out[7]= | ![]() |
All points have equal geodesic distance from the circle center:
In[8]:= | ![]() |
In[9]:= | ![]() |
Out[9]= | ![]() |
All points are at equal distances from their neighbors:
In[10]:= | ![]() |
Out[10]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License