Range Theme - Precisely Data Integrity Suite

Data Integrity Suite APIs

Product
Data_Integrity
Spatial_Analytics
Data_Enrichment
geo_addressing_1
Services
Spatial Analytics
Data Enrichment
Geo Addressing
ft:title
Data Integrity Suite APIs
ft:locale
en-US
PublicationType
pt_developer
copyrightfirst
2023
copyrightlast
2026

A range theme references a numeric field present in the layer. For example, the population of a county. The theme defines the numeric ranges to use, and each feature is assigned the color, symbol, or line for its corresponding range.

The structure of the JSON is shown below.

{
  "styleDetails": {
    "layer": {
      "name": "buildings",
      "type": "NamedLayer"
    },
    "themeList": {
      "theme": [
        {
          "type": "CustomRangeTheme",
          "rangeBinList": {
            "rangeBin": [
              {
                "upperBound": {},
                "lowerBound": {},
                "style": {}
              },
              {
                "upperBound": {},
                "lowerBound": {},
                "style": {}
              },
              {
                "upperBound": {},
                "lowerBound": {},
                "style": {}
              },
              {
                "upperBound": {},
                "lowerBound": {},
                "style": {}
              },
              {
                "upperBound": {},
                "lowerBound": {},
                "style": {}
              }
            ]
          },
          "allOthers": {},
          "expression": "elevation",
          "applyStylePart": "ALL"
        }
      ]
    }
  }
}

The relevant JSON properties are described below

Element Description
layer -> name

String: This is the name of the WMS layer retuned in the get capabilities response. The same layer must also be specified in the LAYERS parameter

Note: This is optional in cases where only 1 layer is specified in the URL request.
layer -> type

String: This is always a string value "NamedLayer"

Note: This is optional in cases where only 1 layer is specified in the URL request.
theme -> type String. Specifies the type of theme. For range themes this must be "CustomRangeTheme"
theme -> expression String. The name of the field from the layer to use for each style. The field must be a numeric field.
theme -> applyStylePart An enumeration value specifying whether to apply all parts of the style definition to the feature. This is one of "All" or "Color". When Color is specified only the color of the style is applied. For example on a layer that already has symbols the original symbol will be retained but a new color applied.
theme -> rangeBinList -> rangeBin

An array of values from the expression column. Each array element defines an upper and lower bound to style. The type of value, the value itself and the style for each bound is provided. Below we have a style that is applied to features whose values are between 100 and 200.

{
  "upperBound": {
    "type": "DoubleValue",
    "value": 200
  },
  "lowerBound": {
    "type": "DoubleValue",
    "value": 100
  },
  "style": {
  }
},
theme -> rangeBinList -> rangeBin -> style The JSON style definition which contains a MapBasicCompositeStyle. Please see the style element section above for documentation on the syntax for the style element.

Example Requests

Point Layer

Showing addresses styled by their numeric latitude

Request (GET)

https://api.cloud.precisely.com/v1/spatial/wms?GET/v1/spatial/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=37.78662956646336823%2C-122.2745967175037549%2C37.81410536165775227%2C-122.2403683391127061&CRS=EPSG%3A4326&WIDTH=1062&HEIGHT=853&LAYERS=address_fabric&STYLES=&FORMAT=image%2Fpng&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi%3A96&TRANSPARENT=TRUE&SLD_BODY=%7B%22styleDetails%22%3A%20%5B%7B%22themeList%22%3A%20%7B%22theme%22%3A%20%5B%7B%22type%22%3A%20%22CustomRangeTheme%22%2C%22expression%22%3A%20%22lat%22%2C%22applyStylePart%22%3A%20%22ALL%22%2C%22rangeBinList%22%3A%20%7B%22rangeBin%22%3A%20%5B%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.78662957%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.79112957%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22PointStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicPointStyle%22%2C%22MapBasicSymbol%22%3A%20%7B%22type%22%3A%20%22MapBasicFontSymbol%22%2C%22shape%22%3A%2036%2C%22size%22%3A%2010%2C%22color%22%3A%20%22%23ff0000%22%2C%22fontName%22%3A%20%22MapInfo%20Symbols%22%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.79112957%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.79562957%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22PointStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicPointStyle%22%2C%22MapBasicSymbol%22%3A%20%7B%22type%22%3A%20%22MapBasicFontSymbol%22%2C%22shape%22%3A%2036%2C%22size%22%3A%2010%2C%22color%22%3A%20%22%23ff7f00%22%2C%22fontName%22%3A%20%22MapInfo%20Symbols%22%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.79562957%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.80012957%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22PointStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicPointStyle%22%2C%22MapBasicSymbol%22%3A%20%7B%22type%22%3A%20%22MapBasicFontSymbol%22%2C%22shape%22%3A%2036%2C%22size%22%3A%2010%2C%22color%22%3A%20%22%23ffff00%22%2C%22fontName%22%3A%20%22MapInfo%20Symbols%22%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.80012957%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.80462957%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22PointStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicPointStyle%22%2C%22MapBasicSymbol%22%3A%20%7B%22type%22%3A%20%22MapBasicFontSymbol%22%2C%22shape%22%3A%2036%2C%22size%22%3A%2010%2C%22color%22%3A%20%22%2300ff00%22%2C%22fontName%22%3A%20%22MapInfo%20Symbols%22%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.80462957%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.80912957%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22PointStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicPointStyle%22%2C%22MapBasicSymbol%22%3A%20%7B%22type%22%3A%20%22MapBasicFontSymbol%22%2C%22shape%22%3A%2036%2C%22size%22%3A%2010%2C%22color%22%3A%20%22%230000ff%22%2C%22fontName%22%3A%20%22MapInfo%20Symbols%22%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.80912957%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2037.81462957%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22PointStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicPointStyle%22%2C%22MapBasicSymbol%22%3A%20%7B%22type%22%3A%20%22MapBasicFontSymbol%22%2C%22shape%22%3A%2036%2C%22size%22%3A%2010%2C%22color%22%3A%20%22%238a2be2%22%2C%22fontName%22%3A%20%22MapInfo%20Symbols%22%7D%7D%7D%7D%5D%7D%7D%5D%7D%7D%5D%7D

JSON Body

{
  "styleDetails": [
    {
      "themeList": {
        "theme": [
          {
            "type": "CustomRangeTheme",
            "expression": "lat",
            "applyStylePart": "ALL",
            "rangeBinList": {
              "rangeBin": [
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 37.78662957
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 37.79112957
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "PointStyle": {
                      "type": "MapBasicPointStyle",
                      "MapBasicSymbol": {
                        "type": "MapBasicFontSymbol",
                        "shape": 36,
                        "size": 10,
                        "color": "#ff0000",
                        "fontName": "MapInfo Symbols"
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 37.79112957
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 37.79562957
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "PointStyle": {
                      "type": "MapBasicPointStyle",
                      "MapBasicSymbol": {
                        "type": "MapBasicFontSymbol",
                        "shape": 36,
                        "size": 10,
                        "color": "#ff7f00",
                        "fontName": "MapInfo Symbols"
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 37.79562957
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 37.80012957
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "PointStyle": {
                      "type": "MapBasicPointStyle",
                      "MapBasicSymbol": {
                        "type": "MapBasicFontSymbol",
                        "shape": 36,
                        "size": 10,
                        "color": "#ffff00",
                        "fontName": "MapInfo Symbols"
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 37.80012957
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 37.80462957
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "PointStyle": {
                      "type": "MapBasicPointStyle",
                      "MapBasicSymbol": {
                        "type": "MapBasicFontSymbol",
                        "shape": 36,
                        "size": 10,
                        "color": "#00ff00",
                        "fontName": "MapInfo Symbols"
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 37.80462957
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 37.80912957
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "PointStyle": {
                      "type": "MapBasicPointStyle",
                      "MapBasicSymbol": {
                        "type": "MapBasicFontSymbol",
                        "shape": 36,
                        "size": 10,
                        "color": "#0000ff",
                        "fontName": "MapInfo Symbols"
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 37.80912957
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 37.81462957
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "PointStyle": {
                      "type": "MapBasicPointStyle",
                      "MapBasicSymbol": {
                        "type": "MapBasicFontSymbol",
                        "shape": 36,
                        "size": 10,
                        "color": "#8a2be2",
                        "fontName": "MapInfo Symbols"
                      }
                    }
                  }
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

Response

Thematic map of parcels colored purple-to-red with hatched fills and star point symbols.

Polygon Layer

Showing the numeric crime index value

Request (GET)

 https://api.cloud.precisely.com/v1/spatial/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-13622266.8377645202%2C4537799.134791154414%2C-13596401.93852676079%2C4562255.154625417665&CRS=EPSG%3A3857&WIDTH=973&HEIGHT=920&LAYERS=crime_index&STYLES=&FORMAT=image%2Fpng&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi%3A96&TRANSPARENT=TRUE&SLD_BODY=%7B%22styleDetails%22%3A%20%5B%7B%22themeList%22%3A%20%7B%22theme%22%3A%20%5B%7B%22type%22%3A%20%22CustomRangeTheme%22%2C%22rangeBinList%22%3A%20%7B%22rangeBin%22%3A%20%5B%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%200%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20200%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22AreaStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicAreaStyle%22%2C%22MapBasicBrush%22%3A%20%7B%22pattern%22%3A%202%2C%22foregroundColor%22%3A%20%22%23ffff00%22%7D%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%201%2C%22color%22%3A%20%22%23000000%22%2C%22pattern%22%3A%202%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20200%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20400%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22AreaStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicAreaStyle%22%2C%22MapBasicBrush%22%3A%20%7B%22pattern%22%3A%202%2C%22foregroundColor%22%3A%20%22%23cccc32%22%7D%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%201%2C%22color%22%3A%20%22%23000000%22%2C%22pattern%22%3A%202%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20400%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20600%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22AreaStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicAreaStyle%22%2C%22MapBasicBrush%22%3A%20%7B%22pattern%22%3A%202%2C%22foregroundColor%22%3A%20%22%23999965%22%7D%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%201%2C%22color%22%3A%20%22%23000000%22%2C%22pattern%22%3A%202%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20600%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20800%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22AreaStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicAreaStyle%22%2C%22MapBasicBrush%22%3A%20%7B%22pattern%22%3A%202%2C%22foregroundColor%22%3A%20%22%23666699%22%7D%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%201%2C%22color%22%3A%20%22%23000000%22%2C%22pattern%22%3A%202%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20800%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%201000%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22AreaStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicAreaStyle%22%2C%22MapBasicBrush%22%3A%20%7B%22pattern%22%3A%202%2C%22foregroundColor%22%3A%20%22%233333cc%22%7D%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%201%2C%22color%22%3A%20%22%23000000%22%2C%22pattern%22%3A%202%7D%7D%7D%7D%5D%7D%2C%22expression%22%3A%20%22composite_crime_idx%22%2C%22applyStylePart%22%3A%20%22ALL%22%7D%5D%7D%7D%5D%7D

JSON Body

{
  "styleDetails": [
    {
      "themeList": {
        "theme": [
          {
            "type": "CustomRangeTheme",
            "rangeBinList": {
              "rangeBin": [
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 0
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 200
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "AreaStyle": {
                      "type": "MapBasicAreaStyle",
                      "MapBasicBrush": {
                        "pattern": 2,
                        "foregroundColor": "#ffff00"
                      },
                      "MapBasicPen": {
                        "width": 1,
                        "color": "#000000",
                        "pattern": 2
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 200
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 400
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "AreaStyle": {
                      "type": "MapBasicAreaStyle",
                      "MapBasicBrush": {
                        "pattern": 2,
                        "foregroundColor": "#cccc32"
                      },
                      "MapBasicPen": {
                        "width": 1,
                        "color": "#000000",
                        "pattern": 2
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 400
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 600
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "AreaStyle": {
                      "type": "MapBasicAreaStyle",
                      "MapBasicBrush": {
                        "pattern": 2,
                        "foregroundColor": "#999965"
                      },
                      "MapBasicPen": {
                        "width": 1,
                        "color": "#000000",
                        "pattern": 2
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 600
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 800
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "AreaStyle": {
                      "type": "MapBasicAreaStyle",
                      "MapBasicBrush": {
                        "pattern": 2,
                        "foregroundColor": "#666699"
                      },
                      "MapBasicPen": {
                        "width": 1,
                        "color": "#000000",
                        "pattern": 2
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 800
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 1000
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "AreaStyle": {
                      "type": "MapBasicAreaStyle",
                      "MapBasicBrush": {
                        "pattern": 2,
                        "foregroundColor": "#3333cc"
                      },
                      "MapBasicPen": {
                        "width": 1,
                        "color": "#000000",
                        "pattern": 2
                      }
                    }
                  }
                }
              ]
            },
            "expression": "composite_crime_idx",
            "applyStylePart": "ALL"
          }
        ]
      }
    }
  ]
}

Response

Choropleth map of urban tracts colored yellow, gray, and blue to show composite crime index variation.

Line Layer

Showing hurricane lines styled by windspeed in southern Florida

Request(POST)


      https://api.cloud.precisely.com/v1/spatial/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-9286150.467678617686%2C2948856.50787251303%2C-8859178.058591626585%2C3325928.686222711112&CRS=EPSG%3A3857&WIDTH=984&HEIGHT=869&LAYERS=historical_weather_hurricanelines_world&STYLES=&FORMAT=image%2Fpng&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi%3A96&TRANSPARENT=TRUE
      HTTP/1.1&SLD_BODY=%7B%22styleDetails%22%3A%20%5B%7B%22themeList%22%3A%20%7B%22theme%22%3A%20%5B%7B%22type%22%3A%20%22CustomRangeTheme%22%2C%22expression%22%3A%20%22windspeed%22%2C%22applyStylePart%22%3A%20%22ALL%22%2C%22rangeBinList%22%3A%20%7B%22rangeBin%22%3A%20%5B%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%200%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2038%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22LineStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicLineStyle%22%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%201%2C%22pattern%22%3A%2093%2C%22color%22%3A%20%22%2300ccff%22%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2039%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2073%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22LineStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicLineStyle%22%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%202%2C%22pattern%22%3A%202%2C%22color%22%3A%20%22%2300ff00%22%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%2074%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20110%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22LineStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicLineStyle%22%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%203%2C%22pattern%22%3A%205%2C%22color%22%3A%20%22%23ffff00%22%7D%7D%7D%7D%2C%7B%22lowerBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20111%7D%2C%22upperBound%22%3A%20%7B%22type%22%3A%20%22DecimalValue%22%2C%22value%22%3A%20200%7D%2C%22style%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22LineStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicLineStyle%22%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%204%2C%22pattern%22%3A%207%2C%22color%22%3A%20%22%23ff0000%22%7D%7D%7D%7D%5D%7D%2C%22allOthers%22%3A%20%7B%22type%22%3A%20%22MapBasicCompositeStyle%22%2C%22LineStyle%22%3A%20%7B%22type%22%3A%20%22MapBasicLineStyle%22%2C%22MapBasicPen%22%3A%20%7B%22width%22%3A%201%2C%22pattern%22%3A%203%2C%22color%22%3A%20%22%23888888%22%7D%7D%7D%7D%5D%7D%7D%5D%7D

JSON Body

{
  "styleDetails": [
    {
      "themeList": {
        "theme": [
          {
            "type": "CustomRangeTheme",
            "expression": "windspeed",
            "applyStylePart": "ALL",
            "rangeBinList": {
              "rangeBin": [
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 0
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 38
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "LineStyle": {
                      "type": "MapBasicLineStyle",
                      "MapBasicPen": {
                        "width": 1,
                        "pattern": 93,
                        "color": "#00ccff"
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 39
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 73
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "LineStyle": {
                      "type": "MapBasicLineStyle",
                      "MapBasicPen": {
                        "width": 2,
                        "pattern": 2,
                        "color": "#00ff00"
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 74
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 110
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "LineStyle": {
                      "type": "MapBasicLineStyle",
                      "MapBasicPen": {
                        "width": 3,
                        "pattern": 5,
                        "color": "#ffff00"
                      }
                    }
                  }
                },
                {
                  "lowerBound": {
                    "type": "DecimalValue",
                    "value": 111
                  },
                  "upperBound": {
                    "type": "DecimalValue",
                    "value": 200
                  },
                  "style": {
                    "type": "MapBasicCompositeStyle",
                    "LineStyle": {
                      "type": "MapBasicLineStyle",
                      "MapBasicPen": {
                        "width": 4,
                        "pattern": 7,
                        "color": "#ff0000"
                      }
                    }
                  }
                }
              ],
              "allOthers": {
                "type": "MapBasicCompositeStyle",
                "LineStyle": {
                  "type": "MapBasicLineStyle",
                  "MapBasicPen": {
                    "width": 1,
                    "pattern": 3,
                    "color": "#888888"
                  }
                }
              }
            }
          }
        ]
      }
    }
  ]
}

Response

Dense overlay of multicolored line styles (solid, dashed, double) demonstrating composite line geometries.