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

  • October 7, 2019
  • 2 replies
  • 16 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • 2252 replies
  • 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+37
  • Contributor
  • 2002 replies
  • 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.