Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] [jira] Created: (UDIG-1456) uDig WMS style dialog tricked by duplicated titles

Ciao Andrea,

Thanks for the bug reports. This is an area I want to focus on so I will try to get these styler bugs resolved in the next couple weeks. I am a bit behind in my work though so I have to get caught up on that first.

Jesse

On 23-Nov-08, at 10:43 AM, Andrea Aime (JIRA) wrote:

uDig WMS style dialog tricked by duplicated titles
--------------------------------------------------

                Key: UDIG-1456
                URL: http://jira.codehaus.org/browse/UDIG-1456
            Project: uDIG
         Issue Type: Bug
         Components: wms
   Affects Versions: UDIG 1.1.0
           Reporter: Andrea Aime
            Fix For: UDIG 1.1.1


If a capabilities document contains something like:

{code:xml}
<Style>
         <Name>giant_polygon</Name>
         <Title>Default Styler</Title>
         <Abstract/>
         <LegendURL width="20" height="20">
           <Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/ xlink" xlink:type="simple" xlink:href="http://localhost:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&amp;FORMAT=image/png&amp;WIDTH=20&amp;HEIGHT=20&amp;LAYER=tiger:giant_polygon "/>
         </LegendURL>
       </Style>
       <Style>
         <Name>green</Name>
         <Title>Default Styler</Title>
         <Abstract/>
         <LegendURL width="20" height="20">
           <Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/ xlink" xlink:type="simple" xlink:href="http://localhost:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&amp;FORMAT=image/png&amp;WIDTH=20&amp;HEIGHT=20&amp;LAYER=tiger:giant_polygon "/>
         </LegendURL>
       </Style>
{code:xml}

Only one style called "Default Styler" will appear in the WMS named styles UI. The format of drop down items in the UI should be somethig like "<name>: <title>", or simply name and have a separate title field, as what is supposed to be unique is the name, not the title (thought I admit having dupe titles is not good practice)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top