GeoServer

All raster layers in WMS capabalities have the same description

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.0-RC2
  • Fix Version/s: 1.7.0-RC3
  • Component/s: Configuration, WMS
  • Labels:
    None
  • Number of attachments :
    1

Description

Try connecting to GeoServer from uDig, the raster layers cannot be told apart (if my memory serves me right, they are all called "My GeoServer WMS"...)

Activity

Hide
Gabriel Roldán added a comment -

GetCaps for 1.6.x with the release config gives:

<Layer queryable="1">
        <Name>nurc:Img_Sample</Name>
        <Title>A Raster with a World File</Title>

GetCaps for 1.7.x with the release config gives:

<Layer>
        <Name>Img_Sample</Name>
        <Title>Img_Sample</Title>
        <Layer queryable="1">
          <Name>nurc:Img_Sample</Name>
          <Title/>
          <Abstract>Generated from worldImageSample</Abstract>
Show
Gabriel Roldán added a comment - GetCaps for 1.6.x with the release config gives:
<Layer queryable="1">
        <Name>nurc:Img_Sample</Name>
        <Title>A Raster with a World File</Title>
GetCaps for 1.7.x with the release config gives:
<Layer>
        <Name>Img_Sample</Name>
        <Title>Img_Sample</Title>
        <Layer queryable="1">
          <Name>nurc:Img_Sample</Name>
          <Title/>
          <Abstract>Generated from worldImageSample</Abstract>
Hide
Gabriel Roldán added a comment -

the title problem lays down to "label" not being written down to info.xml:

info.xml straight out of the release configuration:

<coverage format = "worldImageSample" >
  <name>Img_Sample</name>
  <label>A Raster with a World File</label>
  <description>Generated from worldImageSample</description>
  <metadataLink about = "http://www.geotools.org/WorldImageReader+formats" metadataType = "other" >

After saving the config (ej, just changing the server contact info)

<coverage format = "worldImageSample" >
  <name>Img_Sample</name>
  <description>Generated from worldImageSample</description>
  <wmspath>Img_Sample</wmspath>
  <keywords>WCS,worldImageSample,worldImageSample_Coverage</keywords>
Show
Gabriel Roldán added a comment - the title problem lays down to "label" not being written down to info.xml: info.xml straight out of the release configuration:
<coverage format = "worldImageSample" >
  <name>Img_Sample</name>
  <label>A Raster with a World File</label>
  <description>Generated from worldImageSample</description>
  <metadataLink about = "http://www.geotools.org/WorldImageReader+formats" metadataType = "other" >
After saving the config (ej, just changing the server contact info)
<coverage format = "worldImageSample" >
  <name>Img_Sample</name>
  <description>Generated from worldImageSample</description>
  <wmspath>Img_Sample</wmspath>
  <keywords>WCS,worldImageSample,worldImageSample_Coverage</keywords>
Hide
Gabriel Roldán added a comment -

CoverageInfo.load was not setting the org.geoserver.catalog.CoverageInfo title (which is what matches the label in the new config model)

Show
Gabriel Roldán added a comment - CoverageInfo.load was not setting the org.geoserver.catalog.CoverageInfo title (which is what matches the label in the new config model)

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: