Date of response

Hello everyone. In our product, we go to use Process API .
I have a question about the response I received.
When requesting, I specify the date range from-to, how can I know which date the response ( image ) belongs to, because there may be several options corresponding to the specified range.?

Hi Alex,
this depends on how you set mosaicking parameter.
If it is SIMPLE the service will “automagically” create a mosaic based od mosaicking order parameter - different parts of the image might be from different dates/scenes.
In case it is ORBIT or TILE, you can get the date in evalscript, see this example for ORBIT and this for TILE.
And you can then write these info in outputMetadata

1 Like