hi,
i have a problem with Styles.
There is a Layer with several line-strings.
Some line-strings form Routes (are grouped).
Each Route has one or many Logos.
So if i write an Rule to display a Route i use following code:
<Rule>
<ogc:Filter>
<ogc:Filter>
...
</ogc:Filter>
<LineSymbolizer>
<Stroke><CssParameter name="stroke">#630A7B</CssParameter><CssParameter name="stroke-width">6</CssParameter></Stroke>
</LineSymbolizer>
<TextSymbolizer>
<Label>.</Label>
<Font><CssParameter name="font-size">0</CssParameter></Font>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="logo/logo1.png" xmlns:xlink="http://www.w3.org/1999/xlink" />
<Format>image/png</Format>
</ExternalGraphic>
<Size>15</Size>
</Graphic>
<VendorOption name="followLine">yes</VendorOption>
<VendorOption name="repeat">200</VendorOption>
<VendorOption name="maxAngleDelta">50</VendorOption>
<VendorOption name="group">yes</VendorOption>
</TextSymbolizer>
</Rule>
</ogc:Filter>
<LineSymbolizer>
<Stroke><CssParameter name="stroke">#630A7B</CssParameter><CssParameter name="stroke-width">6</CssParameter></Stroke>
</LineSymbolizer>
<TextSymbolizer>
<Label>.</Label>
<Font><CssParameter name="font-size">0</CssParameter></Font>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="logo/logo1.png" xmlns:xlink="http://www.w3.org/1999/xlink" />
<Format>image/png</Format>
</ExternalGraphic>
<Size>15</Size>
</Graphic>
<VendorOption name="followLine">yes</VendorOption>
<VendorOption name="repeat">200</VendorOption>
<VendorOption name="maxAngleDelta">50</VendorOption>
<VendorOption name="group">yes</VendorOption>
</TextSymbolizer>
</Rule>
But how can i display multiple Logos as shilds onto one Line, that each Logo is following the Line.
I have tried to use "Spaced graphic symbols" but then the shilds would overlap with others.
Thanks for helping
Josias
------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
