Skip to main content

Date of response

  • 26 April 2024
  • 1 reply
  • 2 views

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,
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


Reply