Skip to content

Commit

Permalink
geoserver: add style "mdbw_transit_stops_default"
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Sep 13, 2023
1 parent 95f34f8 commit 0f6cd98
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/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">

<NamedLayer>
<Name>mdbw_transit_stops_default</Name>
<UserStyle>
<Title>MobiData-BW ÖPV-Haltestellen</Title>
<FeatureTypeStyle>
<Rule>
<Title>stops/platforms</Title>
<ogc:Filter>
<ogc:Or>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>location_type</ogc:PropertyName>
<ogc:Literal>stop</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:PropertyIsNull>
<ogc:PropertyName>location_type</ogc:PropertyName>
</ogc:PropertyIsNull>
</ogc:Or>
</ogc:Filter>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName>
<Fill>
<CssParameter name="fill">#f1c40f</CssParameter>
</Fill>
</Mark>
<Size>6</Size>
</Graphic>
</PointSymbolizer>
</Rule>
<Rule>
<Title>stations</Title>
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>location_type</ogc:PropertyName>
<ogc:Literal>station</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName>
<Fill>
<CssParameter name="fill">#27ae60</CssParameter>
</Fill>
</Mark>
<Size>6</Size>
</Graphic>
</PointSymbolizer>
</Rule>
<Rule>
<Title>Others</Title>
<ElseFilter />
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName>
<Fill>
<CssParameter name="fill">#7f8c8d</CssParameter>
</Fill>
</Mark>
<Size>6</Size>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<style>
<id>StyleInfoImpl--3b38816a:18a8b06ea7a:-7ff1</id>
<name>mdbw_transit_stops_default</name>
<workspace>
<id>WorkspaceInfoImpl--48f676ef:18997a59df5:-7ff6</id>
</workspace>
<format>sld</format>
<languageVersion>
<version>1.0.0</version>
</languageVersion>
<filename>mdbw_transit_stops_default.sld</filename>
<dateCreated>2023-09-12 20:39:21.227 UTC</dateCreated>
<dateModified>2023-09-12 20:44:25.720 UTC</dateModified>
</style>

0 comments on commit 0f6cd98

Please sign in to comment.