I need to visualize PostGIS' polygons as GeoServer WMS with specific style such that the polygons' stroke have different color between inner and outerside of the polygon.
According to this reference, a
<PerpendicularOffset> tag can be used. Below is the illustration from the reference.
I tried to add that tag in my GeoServer 2.7.0 but does not work. The stroke was rendered with usual symmetric stroke, (inner and outer polygon with similar color and width). Below is the result (i am expecting the gray stroke in only inner side) but fails:
The reference apparently is for "2.9.x", and when I check the same reference spot (LineSymbolizer) of lower version (2.8.x and 2.7.2), the explanation of
<PerpendicularOffset> tag in LineSymbolizer does not exist.
<PerpendicularOffset>only available in GeoServer from version 2.9 ?
<PerpendicularOffset>is only available in GeoServer from version 2.9, then what are the possible options for me using GeoServer 2.7.x ?
- What's the difference between using
<PerpendicularOffset>tag in GeoServer 2.9.0 and using Fluxomajic ? (Fluxomajic was also discussed here).
- GeoServer 2.7.0 on Apache Tomcat 7.0.61 on Windows Server 2008 R2 Datacenter 64-bit on VMWare
- JVM: Oracle Corporation: 1.7.0_80 (Java HotSpot(TM) 64-Bit Server VM)
- PostGIS - PostgreSQL 9.4.1 (on Windows Server 2008 R2 Datacenter 64-bit on VMWare)
The above uses 4
FeatureTypeStyle, more or less based on the example you refer in the answer by @AndreAime.
I also tried the Fluxomajic but blending modes are far better.