-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEOS-7255] Makes WMS GetFeatureInfo work with expressions dash-arrays
- Loading branch information
Nuno Oliveira
committed
Feb 6, 2016
1 parent
e841289
commit 65c85c5
Showing
3 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/wms/src/test/resources/org/geoserver/wms/featureinfo/dashed-exp.sld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<StyledLayerDescriptor version="1.0.0" | ||
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" | ||
xmlns="http://www.opengis.net/sld" | ||
xmlns:ogc="http://www.opengis.net/ogc" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<!-- a Named Layer is the basic building block of an SLD document --> | ||
<NamedLayer> | ||
<Name>default_line</Name> | ||
<UserStyle> | ||
<!-- Styles can have names, titles and abstracts --> | ||
<Title>Default Line</Title> | ||
<Abstract>A sample style that draws a line</Abstract> | ||
<!-- FeatureTypeStyles describe how to render different features --> | ||
<!-- A FeatureTypeStyle for rendering lines --> | ||
<FeatureTypeStyle> | ||
<Rule> | ||
<Name>rule1</Name> | ||
<Title>Blue Line</Title> | ||
<Abstract>A solid blue line with a 1 pixel width</Abstract> | ||
<LineSymbolizer> | ||
<Stroke> | ||
<CssParameter name="stroke">#0000FF</CssParameter> | ||
<CssParameter name="stroke-dasharray"> | ||
<ogc:Mul> | ||
<ogc:Function name="strLength"> | ||
<ogc:Literal>VWXYZ</ogc:Literal> | ||
</ogc:Function> | ||
<ogc:Literal>4</ogc:Literal> | ||
</ogc:Mul> | ||
<ogc:Literal>5</ogc:Literal> | ||
</CssParameter> | ||
</Stroke> | ||
</LineSymbolizer> | ||
</Rule> | ||
</FeatureTypeStyle> | ||
</UserStyle> | ||
</NamedLayer> | ||
</StyledLayerDescriptor> |