[RS-ecology] GEOGRAPHICAL COORDINATE S OF A PIXEL

Rop Willy ropcwillies at gmail.com
Fri Sep 28 18:39:37 CEST 2018


Cool, thanks!

On Fri, Sep 28, 2018, 15:48 François Messner <
francois.messner at univ-lemans.fr> wrote:

> Hello,
>
> I think you can use the function xyFromCell from raster package.
> https://rdrr.io/cran/raster/man/xyFromCell.html
>
> François Messner
> Technicien en géomatique
> Université du Maine - GREGUM UMR ESO
> Tel: 02 43 83 31 80
>
> Le 28/09/2018 13:24, Rop Willy a écrit :
>
> Hello,
>
> I have 2 questions to ask:
>
>
> 1. I have obtained a Landsat image and I want to carry out a supervised
> classification and I have to collect validation data in the field.How do I
> obtain the geographic coordinates for a particular pixel? I've tried to use
> extract () and coordinates() function but don't seem to get it. How can I,
> for example, get the geographic coordinates of an upper right pixel in R?
>
> 2. More or less related to the above question, I've generated an NDVI
> image in R. How do I get the NDVI value of a pixel located at certain pixel
> coordinates? For example, pixel coordinate (200, 200)?
>
>
> _______________________________________________
> RS-ecology mailing listRS-ecology at lists.uni-wuerzburg.dehttps://lists.uni-wuerzburg.de/mailman/listinfo/rs-ecology
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-wuerzburg.de/pipermail/rs-ecology/attachments/20180928/dfdd49b4/attachment.html>


More information about the RS-ecology mailing list