Skip to main content

Is there a parameter for generating areas of interest as polygons (wkt) for javascript?

  • April 17, 2024
  • 2 replies
  • 0 views

Hi,

I found a parameter about python api, like shown in the below:

wms_request = WmsRequest( … ,
custom_url_params={
CustomUrlParam.GEOMETRY: “POLYGON((1292344.0 5205055.5, 1301479.5 5195920.0, 1310615.0 5205055.5, 1301479.5 5214191.0, 1292344.0 5205055.5))”
}
)

But I can not apply this script for javascript. I want to create a sentinel collection with using postman. Is there any parameter like CustomUrlParam.GEOMETRY for this?

Thank you for your interest,

2 replies

Thank you for your support, I will try it.


Yes you can - see the GEOMETRY parameter description here:

73830a304af43923bad5d543fb2a67371f852e3a.pngsentinel-hub.com
d3714e73b38a87afa3c31502a6696052a7395163.png

Additional Request Parameters

Sentinel-2 WMS/WMTS/WFS/WCS services support many custom parameters which affect the generation of the service responses. See the available custom parameters.

Just use the parameter as GEOMETRY and not CustomUrlParam.