On 2011-05-05 11:56, Andrea Aime wrote: >> That presentation was indeed helpful, contains many SLD-tricks I could >> use. And the road plate solution seems to be exactly what I want. >> However, I do not feel like using a non-stable release in our production >> environment. >> >> However, I guess that the stable 2.10 release is just around the corner? > Just around the corner indeed, should be a matter of days. > Honestly I haven't been using 2.0.x for months now, it's just that much > easier to take it down due to a number of improvements that we > made in 2.1.x only > I've actually been using 2.1.x only since December > > Cheers > Andre Great, then i'll wait 'till it's released, i don't doubt that 2.10 is stable enough, but then agian: i'd rather wait for the stable version.
Another question, based on the example in your presentation: I see that you have made countour lines have their height on them as a label, I'm trying to do soemthing like that, only with a text instead of a number. The SLD-rule i use for this is at the bottom here. However, i get "bits" of the line interfering with the label , as seen in the attachment (the label is "CD", and you can see that the "C" has a line in it). Your example doesn't seem to have this artifact. Could you please share your SLD for this, or is it a 2.10 improvement? -a <Rule> <Name>TeleFibertrase</Name> <ogc:Filter> <ogc:And> <ogc:PropertyIsEqualTo> <ogc:PropertyName>objtype</ogc:PropertyName> <ogc:Literal>TeleFibertrase</ogc:Literal> </ogc:PropertyIsEqualTo> <ogc:PropertyIsNotEqualTo> <ogc:PropertyName>status</ogc:PropertyName> <ogc:Literal>P</ogc:Literal> </ogc:PropertyIsNotEqualTo> </ogc:And> </ogc:Filter> <MaxScaleDenominator>10000</MaxScaleDenominator> <LineSymbolizer> <Stroke> <CssParameter name="stroke">#A54B4B</CssParameter> <CssParameter name="stroke-width">1.6</CssParameter> </Stroke> </LineSymbolizer> <TextSymbolizer> <Label> <ogc:PropertyName>ownershort</ogc:PropertyName> </Label> <Font> <CssParameter name="font-family">verdana</CssParameter> <CssParameter name="font-size">10</CssParameter> <CssParameter name="font-weight">bold</CssParameter> </Font> <LabelPlacement> <LinePlacement/> </LabelPlacement> <Halo> <Radius><ogc:Literal>2</ogc:Literal></Radius> <Fill><CssParameter name="fill">#FFFFFF</CssParameter></Fill> </Halo> <Fill> <CssParameter name="fill">#A54B4B</CssParameter> </Fill> <VendorOption name="followLine">true</VendorOption> <VendorOption name="maxDisplacement">50</VendorOption> </TextSymbolizer> </Rule> -- Atle Frenvik Sveen Utvikler Geomatikk IKT AS tlf: 45 27 86 89 [email protected]
<<attachment: lines_label.png>>
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
