Opened 2 months ago

Closed 2 months ago

#2824 closed enhancement (fixed)

NEW - New setting in wcst_import to set wms style + legend

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone:
Component: wcst_import Version: development
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description (last modified by Bang Pham Huu)

The new setting wms_styles as an array allow to add styles to a layer shortly after the time of creating new coverage via WCS-T InsertCoverage request when wms_import is set to: true.

"wms_styles":
[
 {
  "name": "Style 1",
  "title": "Style title",         // required
  "abstract": "Style description",// required
  "default": true,                // optional, false by default
  "wcps_query_fragment": "..",    // optional; exclusive with rasql_query_fragment
  "rasql_query_fragment": "..",   // optional; exclusive with wcps_query_fragment

  "gdal_color_table": "gdal.json",// optional; exclusive with sld_color_table, color_map
  "sld_color_table": "sld.xml",   // optional; exclusive with gdal_color_table, color_map
  "color_map": "ColorMap.json"    // optional; exclusive with gdal_color_table, sld_color_table

  "legend": "legend.png"          // optional
 },
 { ... }
]

Change History (2)

comment:1 by Bang Pham Huu, 2 months ago

Description: modified (diff)
Version: 10.3development

comment:2 by Bang Pham Huu, 2 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.