# How to identify exact coordinates of a circle on geoshow?

1 view (last 30 days)
Eitvydas Karauskas on 24 Mar 2021
Answered: Pavan Guntha on 30 Mar 2021
Hello guys,
I'm really new to MATLAB, started just a week ago and I am having trouble with geoshow map. What I have - a point(NOLNA in the picture) with exact coordinates x,y that I know and so I used plotm function to display it on a map. This worked. Now next step I need to draw a few points exactly 20nm (37,04km) from that point. How do I do that? I drew a circle (with circlem function) with 20nm radius with a center being my point. Now on a map I can see where those points I'm looking for should be, maybe it's somehow possible to determine exact x,y points of that circle? Or maybe there's a better way to plot a line with exact length and only one coordinate?
Hope I explained this well, I'll try to add a few pictures.

Pavan Guntha on 30 Mar 2021
Hi Eitvydas,
A possible workaround is to use scxsc function to calculate the intersection of 2 circles of interest whose centers are the points NOLNA and VNO respectively. It returns the latitude and longitude values of the intersection points.
If you are interested in calculating the cartesian coordinates of those intersection points, you can refer to the documentation of latlon2local function for more details.
Hope this helps!

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!