Hi, Thanks for answers, but problem is still there.
I've checked the spelling and case - both are correct. svg is in right place, because it works with this one: <OnlineResource xlink:type="simple" xlink:href="http://localhost:8080/geoserver/www/styles/HEIN.svg"/>
All names are in lower case. I tried to use wrong column name, but then the answer was
The requested Style can not be used with this layer. The style specifies an attribute of ggnimi and the layer is: geotest:mkm_datamini4
Now part of my sld. Result is only labels. And ' ShapePainter has been asked to paint a null style!' for points.
It seems I don't get the column value? <FeatureTypeStyle> <Rule> <PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre"> <Graphic> <ExternalGraphic><OnlineResource xlink:type="simple" xlink:href="http://localhost:8080/geoserver/www/styles/${gnimi}"/>
<Format>image/svg+xml</Format> </ExternalGraphic> <Size> <ogc:Literal>10</ogc:Literal> </Size> </Graphic> </PointSymbolizer> <TextSymbolizer> <Label> <ogc:PropertyName>gnimi</ogc:PropertyName> </Label> <Font> <CssParameter name="font-family">Times New Roman</CssParameter> <CssParameter name="font-style">Normal</CssParameter> <CssParameter name="font-size">3</CssParameter> <CssParameter name="font-weight">bold</CssParameter> </Font> <Fill> <CssParameter name="fill">#FF0000</CssParameter> </Fill> </TextSymbolizer> </Rule> </FeatureTypeStyle> GeoServer 2.1-beta1 PostGreSQL8.4 Windows 2007 Regards, Katrin
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
