Question

For a range of images getting values as continuous in attribute table but need to create column of the image sensing date and write values in that column

  • 7 October 2019
  • 2 replies
  • 1 view

I have downloaded a date range images of sentinel 2, performed clipping (polygon) and calculated NDVI. Then I have converted raster to point and extracted each pixel values parallely extracted coordinates from coordinate extracter. So in attribute table I have date for each pixel, NDVI value of each pixel , latitude and longitude of each pixel. But I need attribute table structure as Latitude, Longitude and each day Ndvi values. So each date of image generated should create a column and writes NDVI values for same lat longs.


2 replies

Badge +3

@sandyson558

 

Sounds like you need to partitionize (and maybe transpose) your data.

 

Do you have a sample of the data? So we know how the input looks like.

Badge +22

I would use an attributeCreator to create an new attribute with the name coming from the date and the value coming from the NDVI, and then use an Aggregator with a group-by on lat/long and merge attributes set, followed by a schemaSetter and then a dynamic writer.

 

 

 

 

 

Reply