[R-sig-Geo] How select the “contour” cells of a raster file

Robert J. Hijmans r.hijmans at gmail.com
Tue May 14 07:37:25 CEST 2013


Camille, see ?edge
Robert

On Fri, May 10, 2013 at 6:06 AM, Camille Leclerc
<camille.leclerc at ymail.com> wrote:
> Dear all,
>
> I will expose my issue with an example: I have a temperature raster at world
> scale and I want select or identify the “contour” cells of this raster. More
> clearly, I define “contour” cells as cells which are adjacent to ocean. The
> issue is that my raster file contains only terrestrial data and no ocean
> data. I looked the functions of the raster package like clump() but it
> doesn’t resolve my issue.
> I have no idea how resolve this? Must I create an ocean raster or a simple
> function exists?
>
> Best,
> Camille
> --
> Camille Leclerc
> Post-Master student
> Lab ESE, UMR CNRS 8079
> Univ Paris-Sud
> Bat 362
>
>
>
>
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/How-select-the-contour-cells-of-a-raster-file-tp7583540.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> 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