Querying large polygons

#1

Is it now possible to query geometry of any size? If yes, how does it work (is there an example)? If not, when will this be possible?

Definition of nodata-value in WCS-Request
#2

Hi @schorcht, can you be more specific with your question?
What do you mean “query”?
You will find an example on how to process the data per polygon:
https://www.sentinel-hub.com/faq/how-can-i-clip-image-specific-polygon
The size of the request is limited to 5000x5000 px.

If you are referring to “character limit in the URL”, it is now possible to do with the new API. You will find examples here:

#3

Hi @gmilcinski,
thank you for your fast answer. I was referring to the character limit in the URL. I tested the new API and I got “<Response [200]>”. So far, so good.
1.) But how do I retrieve/access the data? I couldn’t find an example for that.
2.) What I am basically looking for is a FIS request (similar to that one: https://sentinelhub-py.readthedocs.io/en/latest/examples/fis_request.html ) but without “character limit in the URL”, i.e. with polygons that have many points. Is there something like that?
I guess not, because this page says the statistical analysis for the new API is still in development.

#4
  1. You will find some examples here:
    https://docs.sentinel-hub.com/api/latest/reference/#operation/render
    (see Request sample on the right side, e.g. Javascript.

  2. Statistical API is indeed not yet implemented in the new API. However, existing FIS does actually support POST request already
    E.g. something along these lines:
    curl 'https://services.sentinel-hub.com/ogc/fis/<INSTANCE>' -H 'Accept: application/json, text/plain, */*' --compressed -H 'Content-Type: application/json;charset=utf-8' -H 'Connection: keep-alive' --data '{"layer":"NDVI_INDEX","crs":"EPSG:3857","time":"2019-01-01/2019-04-01","resolution":"10m","geometry":"<GEOMETRY>","maxcc":100}'

#5

Works well for me. Thank you