Skip to main content
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


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

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • October 9, 2019

@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.


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • October 9, 2019

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.

 

 

 

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings