Difference between WmsRequest and Evalscript

Hello,

I saw that there are two ways I can get images: WmsRequest and the Evalscript with sentinelHubRequest.
What is the difference between the two? when should I prefer one on the other?

Hello,

The OGC API is mainly designed to integrate satellite data in your GIS application (ArcGIS, QGIS, OpenLayers, Google Earth …) or any other app supporting standard services. Usually, people that build apps use our OGC API. The WmsRequest is part of the Sentinel Hub OGC web services from within Python. The Python “wrapper” is provided as a more comfortable tool to make OGC requests in Python. Note that you have to call a layer defined in your dashboard.

If you look at the docs, you will see the following statement:

Sentinel Hub service has a dedicated Processing API that extends the limiting capabilities of the standard OGC endpoints. We advise you to move to Processing API and enjoy the full power of Sentinel Hub services. See the notebook with Processing API examples.

If you don’t have a specific reason to use WmsRequest, I would recommend using the Python API with Evalscripts. It’s more powerful.

Maxim

1 Like