Hello!

I cannot seem to convince StyledMapRenderer to display labels properly placed onto the streets and roads in the directions of their base lines. Instead, all the labels are displayed horizontally. StreamingRenderer displays the labels correctly, but we cannot use it because of the performance problems: while StyledMapRenderer takes a couple of seconds to render a map portion, StreamingRenderer takes a couple of minutes with the same data, which is totally unacceptable.
Apart from the above, StyledMapRenderer has some other troubles with SLD interpretation, namely when using ScaleDenominators.
We are using GeoTools 2.2 RC2 version.

Please, advise.
I've read that StyledMapRenderer is currently under construction - is this true? Could this be the reason for our troubles? If so, when can we expect to have a working version ready? Should we use an older version? Or is it just that we are doing something gravely wrong?
Would it be better if we try to achieve faster performance with StreamingRenderer? How? Is it normal to take so much time (a few minutes) to render a part of a map of about 100 MB in shapefiles? (We tried using the PostGIS database, but the performance was not much different.)
We are also considering using the GeoServer. Is it built on one of the above renderers?

Here is an excerpt from the SLD file we are using:

<Rule>
    <MaxScaleDenominator>500</MaxScaleDenominator>
    <LineSymbolizer>
        <Stroke>
            <CssParameter name="stroke">#ff8000</CssParameter>
            <CssParameter name="width">17</CssParameter>
        </Stroke>
    </LineSymbolizer>
    <LineSymbolizer>
        <Stroke>
            <CssParameter name="stroke">#FFF68F</CssParameter>
            <CssParameter name="width">16</CssParameter>
        </Stroke>
    </LineSymbolizer>
    <TextSymbolizer>
        <Label>
            <ogc:PropertyName>label</ogc:PropertyName> 
        </Label>
        <Font>
            <CssParameter name="font-family">Arial</CssParameter>
            <CssParameter name="font-style">Normal</CssParameter>
            <CssParameter name="font-size">12</CssParameter>
            <CssParameter name="font-weight">normal</CssParameter>
        </Font>
        <Fill>
            <CssParameter name="fill">#000000</CssParameter>
        </Fill>
        <LabelPlacement>
            <LinePlacement>
            </LinePlacement>
        </LabelPlacement>
    </TextSymbolizer>
</Rule>

Thank you very much for your help,
Borut Lesjak


Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.