Hello,
I would like to have a polygon filled with a pattern made from multiple
SVGs, or one SVGs but with different placements.
For example, I tried this:
<se:PolygonSymbolizer>
<se:Fill>
<se:GraphicFill>
<se:Graphic>
<se:ExternalGraphic>
<se:OnlineResource xlink:type="simple"
xlink:href="pattern.svg" />
<se:Format>image/svg+xml</se:Format>
</se:ExternalGraphic>
<se:Size>12</se:Size>
<se:Displacement>
<se:DisplacementX>18</se:DisplacementX>
<se:DisplacementY>0</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicFill>
</se:Fill>
</se:PolygonSymbolizer>
<se:PolygonSymbolizer>
<se:Fill>
<se:GraphicFill>
<se:Graphic>
<se:ExternalGraphic>
<se:OnlineResource xlink:type="simple"
xlink:href="pattern.svg" />
<se:Format>image/svg+xml</se:Format>
</se:ExternalGraphic>
<se:Size>12</se:Size>
<se:Displacement>
<se:DisplacementX>9</se:DisplacementX>
<se:DisplacementY>18</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicFill>
</se:Fill>
</se:PolygonSymbolizer>
The goal was to have a pattern made from the image pattern.svg at 2
different places (that's why I try to use displacement)
Pattern.svg would be like this:
<http://osgeo-org.1560.x6.nabble.com/file/n5257478/patternimage.jpg>
And the final pattern would render like so:
<http://osgeo-org.1560.x6.nabble.com/file/n5257478/pattern.jpg>
Unfortunately, this is not working.
Any idea how to do this ?
Thank you
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Polygon-pattern-made-of-multiples-SVGs-tp5257478.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users