i am trying to executed the request posted below in the request-buider. for the oupur
object, i used resx
and resy
, with both of them are set to 100
meter.
referring to the link Sentinel-2 L1C, in DETAIL (default) section, it mentions the following:
This option can be used when requesting spatial resolutions from original full resolution to at most 200m per pixel
despite i set resx
and resy
to 100
, the request can not be executed
please let me know how to solve this issue and what is wrong
request:
-d '{
"input": {
"bounds": {
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
137232.8500427823,
7697342.185359917
],
[
280322.96699263225,
7543245.136337002
],
[
496792.6310962514,
7847770.257025144
],
[
225288.3066273053,
7829425.370236701
],
[
137232.8500427823,
7697342.185359917
]
]
]
},
"properties": {
"crs": "http://www.opengis.net/def/crs/EPSG/0/3857"
}
},
"data": [
{
"dataFilter": {
"timeRange": {
"from": "2024-01-01T00:00:00Z",
"to": "2024-02-22T23:59:59Z"
}
},
"type": "sentinel-2-l1c"
}
]
},
"output": {
"resx": 100,
"resy": 100,
"responses": [
{
"identifier": "default",
"format": {
"type": "image/tiff"
}
}
]
},
"evalscript": "//VERSION=3\n\nfunction setup() {\n return {\n input: [\"B02\", \"B03\", \"B04\"],\n output: { bands: 3 }\n };\n}\n\nfunction evaluatePixel(sample) {\n return [2.5 * sample.B04, 2.5 * sample.B03, 2.5 * sample.B02];\n}"
}'