Re: [R-sig-Geo] Elevation data

2017-01-12 Thread Bacou, Melanie
R raster::getData("SRTM", ...) will return elevation rasters at 90m resolution. See: https://www.rdocumentation.org/packages/raster/versions/2.5-8/topics/getData http://www.cgiar-csi.org/data/srtm-90m-digital-elevation-database-v4-1 --Mel. On 1/11/2017 6:26 AM, Miluji Sb wrote: Dear

Re: [R-sig-Geo] shortestPath in a loop

2017-01-12 Thread Eric Carr
Generically independent of R, A graph and the connectivity between points needs defined before a shortest path algorithm can be applied. If it assumes all points are connected, than the shortest path will be a straight line. What you are looking for is some sort of minimum spanning tree for the

Re: [R-sig-Geo] shortestPath in a loop

2017-01-12 Thread Michael Sumner
This seems impossible ( to get right, you can certainly get an answer) in general terms, do you really not know either an order of the points and/or their relative spacing in time? On Fri, Jan 13, 2017, 03:18 marta azores wrote: > Dear forum members, > > I would like to

[R-sig-Geo] Difference in coordinates to country conversion

2017-01-12 Thread Miluji Sb
I have a set of coordinates at 1° x 1° which look like this: structure(list(longitude = c(-179L, -178L, -177L, -177L, -177L, -176L), latitude = c(-15L, -15L, -14L, 51L, 52L, -22L)), .Names = c("longitude", "latitude"), row.names = c("1", "2", "3", "4", "5", "6"), class = "data.frame") I am