Skip to content

Round off on label on using SLD for GetLegendGraphic request on ncwms2 #128

@suman111sanjel

Description

@suman111sanjel

Hi,

I am fetching GetLegendGraphic on thredds Data server 5 which uses ncWMS2. The problem is while fetching legend it round off 2.5 to 3.0 or so on on Legend i don't want to round off on legend.
rain

I want to label 1.0, 1.5, 2.0, 2.5, 3.0, 3.5 and so on
link:http://110.34.30.197:8080/thredds/wms/saldasforecast/monthly_std_ens3.ncml?REQUEST=GetLegendGraphic&SLD_BODY=%3C?xml%20version=%221.0%22%20encoding=%22ISO-8859-1%22?%3E%3CStyledLayerDescriptor%20version=%221.1.0%22%20xsi:schemaLocation=%22http://www.opengis.net/sldStyledLayerDescriptor.xsd%22%20xmlns=%22http://www.opengis.net/sld%22%20xmlns:ogc=%22http://www.opengis.net/ogc%22%20xmlns:se=%22http://www.opengis.net/se%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20xmlns:xsi=%22http://www.w3.org/2001/XMLSchema-instance%22%3E%3CNamedLayer%3E%3Cse:Name%3ERainf_f_tavg%3C/se:Name%3E%3CUserStyle%3E%3Cse:Name%3EThesholded%20colour%20scheme%3C/se:Name%3E%3Cse:CoverageStyle%3E%3Cse:Rule%3E%3Cse:RasterSymbolizer%3E%3Cse:Opacity%3E1.0%3C/se:Opacity%3E%3Cse:ColorMap%3E%3Cse:Categorize%20fallbackValue=%22%2300000000%22%3E%3Cse:LookupValue%3ERasterdata%3C/se:LookupValue%3E%3Cse:Value%3E%2300000000%3C/se:Value%3E%3Cse:Threshold%3E-2.5%3C/se:Threshold%3E%3Cse:Value%3E%23C2523C%3C/se:Value%3E%3Cse:Threshold%3E-2%3C/se:Threshold%3E%3Cse:Value%3E%23FFAA01%3C/se:Value%3E%3Cse:Threshold%3E-1.5%3C/se:Threshold%3E%3Cse:Value%3E%23FFD380%3C/se:Value%3E%3Cse:Threshold%3E-1%3C/se:Threshold%3E%3Cse:Value%3E%23FEFF73%3C/se:Value%3E%3Cse:Threshold%3E-0.5%3C/se:Threshold%3E%3Cse:Value%3E%23E1E1E1%3C/se:Value%3E%3Cse:Threshold%3E0%3C/se:Threshold%3E%3Cse:Value%3E%23E1E1E1%3C/se:Value%3E%3Cse:Threshold%3E0.5%3C/se:Threshold%3E%3Cse:Value%3E%23E9FFBE%3C/se:Value%3E%3Cse:Threshold%3E1%3C/se:Threshold%3E%3Cse:Value%3E%237BED01%3C/se:Value%3E%3Cse:Threshold%3E1.5%3C/se:Threshold%3E%3Cse:Value%3E%2321DD00%3C/se:Value%3E%3Cse:Threshold%3E2%3C/se:Threshold%3E%3Cse:Value%3E%230ACC2E%3C/se:Value%3E%3Cse:Threshold%3E2.5%3C/se:Threshold%3E%3Cse:Value%3E%2317B568%3C/se:Value%3E%3Cse:Threshold%3E3%3C/se:Threshold%3E%3Cse:Value%3E%231E9B89%3C/se:Value%3E%3Cse:Threshold%3E3.5%3C/se:Threshold%3E%3Cse:Value%3E%231A828F%3C/se:Value%3E%3Cse:Threshold%3E4%3C/se:Threshold%3E%3Cse:Value%3E%23135784%3C/se:Value%3E%3Cse:Threshold%3E4.5%3C/se:Threshold%3E%3Cse:Value%3E%2300000000%3C/se:Value%3E%3C/se:Categorize%3E%3C/se:ColorMap%3E%3C/se:RasterSymbolizer%3E%3C/se:Rule%3E%3C/se:CoverageStyle%3E%3C/UserStyle%3E%3C/NamedLayer%3E%3C/StyledLayerDescriptor%3E&VERTICAL=false

Please Help me with this problem

Thank You
Suman Sanjel

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