Skip to main content

Hi,


I’m trying to request the API with a GEOMETRY parameters, like that :


http://services.sentinel-hub.com/ogc/wms/{INSTANCE_ID}?REQUEST=GetMap&LAYERS=TRUE_COLOR&FORMAT=image/png&WIDTH=500&HEIGHT=500&BBOX=-102.680,32.266,-102.679,32.271&GEOMETRY=POLYGON((-102.6799780643014230 32.2664152159741064,-102.6798633201786117 32.2709222209287176,-102.6745585116752011 32.2708246109079226,-102.6746735175748455 32.2663176228672697,-102.6799780643014230 32.2664152159741064))


but I got a blank image, so I understand that there is no data for my given polygon or my request is wrong ?


Many thanks,

Jocelyn

I think the problem is that you do not define CRS. By default we use EPSG:3857 and your coordinates seems to be in WGS 84?

So either

CRS=EPSG:4326

or

CRS=CRS:84


Check also
https://www.sentinel-hub.com/faq/why-result-different-when-i-am-using-wms-or-wcs-when-coordinate-system-epsg4326


All good there, you were right, it was the CRS option that I miss. Thanks for you time 🙂


Reply