Skip to content

Update API parameters for Sentinel Hub #139

Closed
@adbedada

Description

@adbedada

The API for Sentinel Hub has changed since the example on how to access imagery was written. Use the following config.json file to download, for instance, Sentinel-2 L1C imagery.

  {
   "country": "spain",
   "bounding_box": [
         -0.745697021484375,
          39.28010491220614,
         -0.3076171875,
          39.625788248139436
        ],
    "zoom": 14,
    "classes": [
     { "name": "Building", "filter": ["has", "building"] }
       ],
   "imagery": "http://services.sentinel-hub.com/ogc/wms/[WMS_ID]?SERVICE=WMS&REQUEST=GetMap&BBOX={bbox}&LAYERS=TRUE_COLOR&MAXCC=20&SHOWLOGO=false&VERSION=1.1.1&WIDTH=256&HEIGHT=256&FORMAT=image/jpeg&TIME=2016-01-29/2019-02-29&srs=EPSG%3A3857&NAME=Sentinel-2%20L1C",
   "background_ratio": 1,
   "ml_type": "segmentation"
 }

Dont forget to replace the WMS_ID value on "http://services.sentinel-hub.com/ogc/wms/[WMS_ID], with your ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions