On Monday 28 January 2008, Edzer Pebesma wrote: > Hi Didier, > > no, right now there's no such distance function in R, afaik. I must > admit that it would be nice. > -- > Edzer > > Didier Leibovici wrote: > > Hi all, > > I am still novice in using sp and/or Maptools and I find difficult to > > locate basic tutorials and general description ... > > I am probably some good source of info? > > > > My problem is very simple and I brlieve it covers some basic handling of > > "GIS" data desirable in geoR: > > > > I would like to read some shapefiles of polygons( I know how to do that) > > and loop through all the polygons to be able to compute the shortest > > distance to one another (fix) polygon > > e.g. distance to the sea or to a montain > > -I had at one point a polylist but probably I need to have "consistant" > > polygon for each element of the list ? > > -is there any distance method supported by a class "polygon" which can > > compute the distance to another geometry? > > > > thanks >
Not sure if it is exactly the same, but you might check the spatstat package: http://www.spatstat.org/spatstat/current/Quickref.pdf cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
