Opened 2 years ago

Closed 2 years ago

#2555 closed enhancement (fixed)

petascope - Default WMS style changed behavior

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: critical Milestone: 10.0
Component: petascope Version: 9.8
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description (last modified by Bang Pham Huu)

For v10, WMS default style of a layer needs to change as below:

  1. if styles are defined then the server must apply one of them
    • if the client specifies style X, then X is applied
    • if the client does not specify a style, then
      • if a default is set on style Y, then Y is applied
      • if no default is set on any style, then Z is applied, where Z is chosen by some consistent criteria, e.g. first style after lexicographic ordering by style name
  2. if no styles are defined then the server returns raw data

In WMS Getcapabilities:

  • adding <default> property under <rasdaman> in the abstract of the style

In WSclient / WMS / DescribeLayer tab

  • at most 1 style can be default, reflected via a radio box in the wcs client

Change History (2)

comment:1 by Bang Pham Huu, 2 years ago

Description: modified (diff)

comment:2 by Bang Pham Huu, 2 years ago

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