Defect #471

Rewriting layer parameter in OnlineResource used for GetLegendGraphics (WMS)

Added by Magoni Bruno over 7 years ago. Updated over 4 years ago.

Status:ClosedStart date:09/05/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:PROXY
Target version:4.0.0
Affected version:2.4.1

Description

Here are one sample of OnlineResources which must be rewrite with layer parameter taking in account proxyed Name of a Layer (alias prefix).

This:

  <Layer noSubsets="0" opaque="0" queryable="1" cascaded="0">
    <Name>ddt_c__PCT_Valeurs_type</Name>
    <Title>Prescriptions ponctuelles</Title>
    <LatLonBoundingBox maxy="43.5598" maxx="0.66112" miny="42.6563" minx="-0.362421"/>
    <BoundingBox maxy="6.2763e+06" maxx="508096" miny="6.17866e+06" minx="428188" SRS="EPSG:2154"/>
    <Style>
      <Name>default</Name>
      <Title>default</Title>
      <LegendURL height="80" width="161">
        <Format>image/png</Format>
        <OnlineResource xlink:href="http://www.depth.ch:8080/proxy_crigeos/ogc/MAP_WMS?map=/opt/data/carto/cartelie/prod/DDT_65/geoplu65.www.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=c__PCT_Valeurs_type&format=image/png&STYLE=default" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink"/>
      </LegendURL>
    </Style>
    <ScaleHint max="8.83882990052907" min="0"/>
  </Layer>

should be that:

  <Layer noSubsets="0" opaque="0" queryable="1" cascaded="0">
    <Name>ddt_c__PCT_Valeurs_type</Name>
    <Title>Prescriptions ponctuelles</Title>
    <LatLonBoundingBox maxy="43.5598" maxx="0.66112" miny="42.6563" minx="-0.362421"/>
    <BoundingBox maxy="6.2763e+06" maxx="508096" miny="6.17866e+06" minx="428188" SRS="EPSG:2154"/>
    <Style>
      <Name>default</Name>
      <Title>default</Title>
      <LegendURL height="80" width="161">
        <Format>image/png</Format>
        <OnlineResource xlink:href="http://www.depth.ch:8080/proxy_crigeos/ogc/MAP_WMS?map=/opt/data/carto/cartelie/prod/DDT_65/geoplu65.www.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=ddt_c__PCT_Valeurs_type&format=image/png&STYLE=default" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink"/>
      </LegendURL>
    </Style>
    <ScaleHint max="8.83882990052907" min="0"/>
  </Layer>

History

#1 Updated by Magoni Bruno over 7 years ago

  • Target version set to 2.2.0

#2 Updated by Magoni Bruno about 7 years ago

  • Target version changed from 2.2.0 to Future

#3 Updated by Magoni Bruno over 4 years ago

  • Project changed from PROXY to easySDI
  • Target version deleted (Future)

#4 Updated by Magoni Bruno over 4 years ago

  • Category set to PROXY
  • Status changed from New to Affected
  • Target version set to 4.0.0
  • Affected version set to 2.4.1

#5 Updated by Magoni Bruno over 4 years ago

  • Status changed from Affected to Resolved

#6 Updated by Magoni Bruno over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF