[R-sig-Geo] Solution in R for finding closest points:

Rick Reeves reeves at nceas.ucsb.edu
Tue Mar 18 16:58:44 CET 2008


Mary:

Have a look at this tutorial:

http://nceas.ucsb.edu/scicomp/GISSeminar/UseCases/AssignClosestPointsR/AssignClosestPointsR.html

Uses R, which has a good set of geospatial analysis functions. This web 
site has several other examples!

Hope this helps,
Rick Reeves

Mary.Barnes at csiro.au wrote:
> Hi all,
> I recently joined, and have a rather basic question. I'd appreciate any
> help to find some R routines to find the closest match to GIS
> coordinates. I suspect simply using the Euclidean distance. I could
> write some code but I suspect there is some already.  I describe three
> classes of difficulties below. 
> 1. Sometimes there are simple measurement error differences in GIS from
> vine coordinates measurement at different times. This may also relate to
> ability to get close to trunk in addition to equipment measurement
> error.
> 2. Sometimes we encounter the problem of matching aerial spatial records
> with vines. Aerial and satellite imagery is on a different scales
> (pixels) to vine spacing. But we would like to be able to match these as
> best we can.
> 3. Sometimes we want to match kriged clusters to target vine GPS
> coordinates.
>
> Typically I have 100 target vines at each of 5 vineyards.
>
> Euclidean distance  approx. = square root of  ( differences between
> Eastings squared plus the differences between Northings squared)
>
> Any help will be appreciated  Mary Barnes
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reeves.vcf
Type: text/x-vcard
Size: 339 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20080318/30cfeb73/attachment.vcf>


More information about the R-sig-Geo mailing list