Hi, I am having problems with the quality of the result image of my requests.
In detail in order to obtain a quite decent result i had to create a quite big bbox (see attachment), but for smaller bboxes the quality is really bad.
Is there something i can do to improve it?
It should be very simple to generate higher resolution images in your request
Instead of using WIDTH and HEIGHT you should use RESX and RESY parameters in your WMS request. Therefore, instead of setting an image size you set the X and Y of each pixel in metres. If it is Sentinel 2 I would recommend using either 10 or 20.
Here is the documentation with the parameters documented:
And if you go to the Request Builder, you can also build and test your requests in a neat GUI interface
Hope this helps. If you run into any more problems let me know
I think you need to try requesting a smaller Area of Interest. You are limited on how large your requests can be using SentinelHub. This is to ensure that our processing API doesn’t get overwhelmed by a single request or user.
@william.ray if I use a smaller bbox the result is an image so small that it’s basically a pixel, but if i use the metric units instead of the crs the image quality drops down and it’s worse than the image I sent in the first post
Just spoken to my colleague and we realised you are requesting the image in WGS84. This would mean that the XRES and YRES would need to be in degrees. If you change the EPSG to 3857 and keep the XRES and YRES at 10 then everything should run smoothly for you now
Hi @william.ray I changed my request as you told me to and it works.
But onestly i am a little disappointed about the result since it’s worse than when i used width and height, could there be another reason? maybe i have to setup differently my layer?
Settimg resolution to 10 meters will give you native full resolution. This is what Sentinel-2 is capable of. If you want prettier results, you can make use of BICUBIC resolution and then ask for “1 meter resolution”. However, note that this is just interpolation, not real data…
Hi @gmilcinski, i have tried to add the upsampling parameter and it improves a bit, but if a try to to change resx & resy from 10 to 1m i get a request error. How can i set the 1 meter resolution?
Hi @william.ray sorry for the late reply,
i have tried reducing the dimension of the bbox and i have also tried several combination of parameters, but i wasn’t able to find a way to get a better result.
I guess i will keep using width and height
Just a curiosity, while testing with the different combinations of paramenters I got a couple of images that were completely white even if my request was completed successfully