Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Enable relative URL on SLD ExternalGraphic
- Loading branch information
1 parent
9919ed8
commit 015bfc5
Showing
7 changed files
with
115 additions
and
3 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
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
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,55 @@ | ||
<StyledLayerDescriptor version="1.1.0"> | ||
<NamedLayer> | ||
<Name>danube</Name> | ||
<UserStyle> | ||
<FeatureTypeStyle> | ||
<Rule> | ||
<LineSymbolizer> | ||
<Stroke> | ||
<SvgParameter name="stroke-width">5</SvgParameter> | ||
<SvgParameter name="stroke">#0000FF</SvgParameter> | ||
</Stroke> | ||
</LineSymbolizer> | ||
<LineSymbolizer> | ||
<Stroke> | ||
<GraphicStroke> | ||
<Graphic> | ||
<Size>10</Size> | ||
<Mark> | ||
<WellKnownName>circle</WellKnownName> | ||
<Stroke> | ||
<SvgParameter name="stroke">#FFFF00</SvgParameter> | ||
<SvgParameter name="stroke-width">2</SvgParameter> | ||
</Stroke> | ||
</Mark> | ||
</Graphic> | ||
<Gap>80</Gap> | ||
<InitialGap>40</InitialGap> | ||
</GraphicStroke> | ||
</Stroke> | ||
</LineSymbolizer> | ||
<LineSymbolizer> | ||
<Stroke> | ||
<GraphicStroke> | ||
<Graphic> | ||
<Size>30</Size> | ||
<ExternalGraphic> | ||
<OnlineResource xlink:type="simple" xlink:href="/sld/data/ship.svg" /> | ||
<!-- | ||
<OnlineResource xlink:type="simple" xlink:href="ship.svg" /> | ||
<OnlineResource xlink:type="simple" xlink:href="http://localhost:8000/sld/data/ship.svg" /> | ||
<OnlineResource xlink:type="simple" xlink:href="/sld/data/ship.svg" /> | ||
--> | ||
<Format>image/svg+xml</Format> | ||
</ExternalGraphic> | ||
</Graphic> | ||
<Gap>80</Gap> | ||
<InitialGap>0</InitialGap> | ||
</GraphicStroke> | ||
</Stroke> | ||
</LineSymbolizer> | ||
</Rule> | ||
</FeatureTypeStyle> | ||
</UserStyle> | ||
</NamedLayer> | ||
</StyledLayerDescriptor> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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