[R-sig-Geo] Find a circle center with spatial points

Alex Mandel tech_dev at wildintellect.com
Fri Mar 18 15:43:13 CET 2016


library(rgeos)
gCentroid

http://www.rdocumentation.org/packages/rgeos/functions/topo-unary-gCentroid

Assuming its a circle that would be the center. Then you need to decide
how much of a difference between that and your existing point is
acceptable to still call them the same point.

Enjoy,
Alex

On 03/18/2016 02:12 AM, Adrien Inacio wrote:
> Dear all,
> 
> I need some advices for a problem I have on R.
> So, I have points with latitude and longitude. These points seem to be part
> of a circle, and I need to determine the center of this circle
> (automatically). So, if you have an idea of the methods for it, It would be
> great,
> 
> Thank you,
> Adrien I.
> 
> ps: you can see an exemple of points here.
> 
> [image: Images intégrées 1]
> 
> 
> Cet e-mail a été envoyé depuis un ordinateur protégé par Avast.
> www.avast.com
> <https://www.avast.com/fr-fr/lp-esg-fav?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=OA-2109-B>
> <#-7691127820984744905_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> 
> 
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list