[R-sig-Geo] Circles as polygons?

Alexandre Villers villers.alexandre at gmail.com
Wed Mar 30 14:48:43 CEST 2011


Hi,

Have a look at the disc() function in spatstat. I guess you can then 
either do what you aim at directly with spatstat, or after converting 
spatstat objects to sp class with maptools appropriate functions.

HTH

Alex

On 30/03/2011 15:39, Pieter Botha wrote:
> Hi
>
> I have a SpatialPointsDataFrame, originating from location readings from an Android device. These readings are received as latitude / longitude as well as an accuracy reading in meters. An csv dump of the SpatialPointsDataFrame can be downloaded here: http://www.ploemp.com/opla/statp.csv
>
> I am interested in finding points of interest that falls within an accuracy reading for a location. The sp class only supports points, lines and polygons so I guess I will have to construct a polygon that estimates the circle formed by the location with accuracy as radius?
>
> Any pointers here?
>
> Thanks,
> Pieter
>
>
>



More information about the R-sig-Geo mailing list