[Geoserver-users] size of external bitmap in graphic fill

Hi

in GS 1.6 I was able to change the size of the external graphic by using the size-tag. This has no effect in GS 1.7.2. Did I miss something?

my sld rule:

Wald, Hecken, übrige Bestockte image/gif 20 #000000 1

regards
Stefan

Mit freundlichem Gruss
Stefan Ziegler
Leiter Aufsicht

Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
Rötistrasse 4
4501 Solothurn
Telefon 032 627 75 96
Telefax 032 627 75 98
stefan.ziegler@anonymised.com
http://www.so.ch

Ziegler Stefan ha scritto:

Hi

in GS 1.6 I was able to change the size of the external graphic by using the size-tag. This has no effect in GS 1.7.2. Did I miss something?

my sld rule:

<Rule>
<Name>Wald, Hecken, &#252;brige Bestockte</Name>
<PolygonSymbolizer>
<Fill>
<GraphicFill>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple"
xlink:href="wald.gif" />
<Format>image/gif</Format>
</ExternalGraphic>
<Size>
<ogc:Literal>20</ogc:Literal>
</Size>
</Graphic>
</GraphicFill>
</Fill>
<Stroke>
<CssParameter name="stroke">#000000</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>

I don't know about 1.7.2, but I've tried with the current nightly
and it works with the sld I attached... oh, but you're using it
for a fill, not for a point.
Hmmm... right, for fills it's not working. Probably a bug I introduced
when I added the dynamic symbolizers functionality, all the code dealing
with external images was rewritten.
Can you open a jira issue about that?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

grass_fill.png

pgrass.sld (1.11 KB)