Determine if circle contain point ( geographic ) while the number before the point are equals

39 Views Asked by At

I want to check if circle contain some point(latitude and longitude). the problem I have is that the number before the point are equals, for example:

  1. $\left(x-22.276706726696727\right)^2+\left(y-70.77873229980467\right)^2=4.51^2$
  2. $\left(x-22.348170603696186\right)^2+\left(y-70.95245361328125\right)^2=5.47^2$

I insert the equations into desmos and this is the result:
enter image description here


If I will insert show it on some map space it will be:
enter image description here

There is way to check it more precisely and maybe my problem is that I dont normalize it? any suggestions?
thanks.

2

There are 2 best solutions below

2
On

Looking at your map of Gujarat, it seems that you are using degrees on the left hand side for the circle centres (co-ordinates in Rajkot and perhaps near Kuvadava) but something like kilometres on the right hand side.

Hence the confusion with your almost concentric circles, which assume the units are the same on each side.

0
On

I found solution by converting the degress to UTM, if you are facing with this problem you can check this:
Degress Convert to UTM


In addition if you are facing the problem on the programming side you can check this lib for example in PHP :
gPoint