📄 prrm_current.jsp
字号:
</CssParameter>
</Stroke>
</LineSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</UserLayer>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${!empty params[0] && !empty params[2] && params[0] == 'view'}" >
<UserLayer>
<Name>prrm:prrm_roaddefect</Name>
<UserStyle>
<Title>Road Defect Styler For View Page</Title>
<Abstract></Abstract>
<FeatureTypeStyle>
<FeatureTypeName>Feature</FeatureTypeName>
<Rule>
<Name>Current Road Defect</Name>
<Title>Highlighted and labelled road defect</Title>
<Filter xmlns:gml= "http://www.opengis.net/gml ">
<PropertyIsEqualTo>
<PropertyName>id</PropertyName>
<Literal>${params[2]}</Literal>
</PropertyIsEqualTo>
</Filter>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="http://localhost:8080/prrm/images/rd-on.gif" />
<Format>image/gif</Format>
</ExternalGraphic>
<Size>16.0</Size>
</Graphic>
</PointSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>id</ogc:PropertyName>
</Label>
<Font>
<CssParameter name="font-family">
<ogc:Literal>Arial</ogc:Literal>
</CssParameter>
<CssParameter name="font-weight">
<ogc:Literal>bold</ogc:Literal>
</CssParameter>
<CssParameter name="size">
<ogc:Literal>10</ogc:Literal>
</CssParameter>
</Font>
<Fill>
<CssParameter name="fill">
<ogc:Literal>#000000</ogc:Literal>
</CssParameter>
</Fill>
<Halo>
<Radius>
<ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
<CssParameter name="fill">#FFF88B</CssParameter>
<CssParameter name="fill-opacity">0.85</CssParameter>
</Fill>
</Halo>
<LabelPlacement>
<Displacement>
<DisplacementX>50</DisplacementX>
<DisplacementY>0</DisplacementY>
</Displacement>
</LabelPlacement>
</TextSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</UserLayer>
</c:when>
<c:when test="${!empty params[0] && !empty params[2] && params[0] == 'edit'}" >
<UserLayer>
<Name>prrm:prrm_roaddefect</Name>
<UserStyle>
<Title>Road Defect Styler For Edit Page</Title>
<Abstract></Abstract>
<FeatureTypeStyle>
<FeatureTypeName>Feature</FeatureTypeName>
<Rule>
<Name>Current Road Defect</Name>
<Title>Highlighted and labelled road defect</Title>
<Filter xmlns:gml= "http://www.opengis.net/gml ">
<PropertyIsEqualTo>
<PropertyName>id</PropertyName>
<Literal>${params[2]}</Literal>
</PropertyIsEqualTo>
</Filter>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="http://localhost:8080/prrm/images/rd-on.gif" />
<Format>image/gif</Format>
</ExternalGraphic>
<Size>16.0</Size>
</Graphic>
</PointSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>id</ogc:PropertyName>
</Label>
<Font>
<CssParameter name="font-family">
<ogc:Literal>Arial</ogc:Literal>
</CssParameter>
<CssParameter name="font-weight">
<ogc:Literal>bold</ogc:Literal>
</CssParameter>
<CssParameter name="size">
<ogc:Literal>10</ogc:Literal>
</CssParameter>
</Font>
<Fill>
<CssParameter name="fill">
<ogc:Literal>#000000</ogc:Literal>
</CssParameter>
</Fill>
<Halo>
<Radius>
<ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
<CssParameter name="fill">#FFF88B</CssParameter>
<CssParameter name="fill-opacity">0.85</CssParameter>
</Fill>
</Halo>
<LabelPlacement>
<Displacement>
<DisplacementX>50</DisplacementX>
<DisplacementY>0</DisplacementY>
</Displacement>
</LabelPlacement>
</TextSymbolizer>
</Rule>
<Rule>
<Name>Other Road Defects</Name>
<Title>Other road defects</Title>
<Filter xmlns:gml= "http://www.opengis.net/gml ">
<PropertyIsNotEqualTo>
<PropertyName>id</PropertyName>
<Literal>${params[2]}</Literal>
</PropertyIsNotEqualTo>
</Filter>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="http://localhost:8080/prrm/images/rd-off.gif" />
<Format>image/gif</Format>
</ExternalGraphic>
<Size>16.0</Size>
</Graphic>
</PointSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>id</ogc:PropertyName>
</Label>
<Font>
<CssParameter name="font-family">
<ogc:Literal>Arial</ogc:Literal>
</CssParameter>
<CssParameter name="font-style">
<ogc:Literal>italic</ogc:Literal>
</CssParameter>
<CssParameter name="font-weight">
<ogc:Literal>bold</ogc:Literal>
</CssParameter>
<CssParameter name="size">
<ogc:Literal>10</ogc:Literal>
</CssParameter>
</Font>
<Fill>
<CssParameter name="fill">
<ogc:Literal>#000000</ogc:Literal>
</CssParameter>
</Fill>
<Halo>
<Radius>
<ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
<CssParameter name="fill">#FFF88B</CssParameter>
<CssParameter name="fill-opacity">0.85</CssParameter>
</Fill>
</Halo>
<LabelPlacement>
<Displacement>
<DisplacementX>50</DisplacementX>
<DisplacementY>0</DisplacementY>
</Displacement>
</LabelPlacement>
</TextSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</UserLayer>
</c:when>
<c:otherwise>
<UserLayer>
<Name>prrm:prrm_roaddefect</Name>
<UserStyle>
<Title>Default Road Defect Styler</Title>
<Abstract></Abstract>
<FeatureTypeStyle>
<FeatureTypeName>Feature</FeatureTypeName>
<Rule>
<Name>RoadDefects Zoomed In</Name>
<Title>Road defects zoomed in</Title>
<MinScaleDenominator>0.1</MinScaleDenominator>
<MaxScaleDenominator>370000</MaxScaleDenominator>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="http://localhost:8080/prrm/images/rd-on.gif" />
<Format>image/gif</Format>
</ExternalGraphic>
<Size>16.0</Size>
</Graphic>
</PointSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>id</ogc:PropertyName>
</Label>
<Font>
<CssParameter name="font-family">
<ogc:Literal>Arial</ogc:Literal>
</CssParameter>
<CssParameter name="font-style">
<ogc:Literal>italic</ogc:Literal>
</CssParameter>
<CssParameter name="font-weight">
<ogc:Literal>bold</ogc:Literal>
</CssParameter>
<CssParameter name="size">
<ogc:Literal>10</ogc:Literal>
</CssParameter>
</Font>
<Fill>
<CssParameter name="fill">
<ogc:Literal>#000000</ogc:Literal>
</CssParameter>
</Fill>
<Halo>
<Radius>
<ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
<CssParameter name="fill">#FFF88B</CssParameter>
<CssParameter name="fill-opacity">0.85</CssParameter>
</Fill>
</Halo>
<LabelPlacement>
<Displacement>
<DisplacementX>50</DisplacementX>
<DisplacementY>0</DisplacementY>
</Displacement>
</LabelPlacement>
</TextSymbolizer>
</Rule>
<Rule>
<Name>RoadDefects Zoomed Out</Name>
<Title>Road defects zoomed out</Title>
<MinScaleDenominator>370001</MinScaleDenominator>
<MaxScaleDenominator>510000</MaxScaleDenominator>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="http://localhost:8080/prrm/images/rd-on.gif" />
<Format>image/gif</Format>
</ExternalGraphic>
<Size>10.0</Size>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</UserLayer>
</c:otherwise>
</c:choose>
</StyledLayerDescriptor>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -