Hi list, I'm having some issues retrieving getmap requests with an SLD over a layer, which is stored in oracle spatial. The layer is linked to a materialized view. The problem is that in the SLD content I specify what fields do I want to show, but they don't appear in the returned image. The color style and all that stuff works fine, but for some reason labels are not rendered. I have also the same layer in the same DB, but using a normal view (the standard DB view), and I get those labels rendered!! Is there something problematic with materialized views and GeoServer.
I'll paste the SLD content here: <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"> <NamedLayer> <Name>IKT:GV_SIGPAC_REC_ED50_USRCARTO</Name> <UserStyle> <Title>Estilo con etiquetas de ref. SIGPAC</Title> <Abstract></Abstract> <FeatureTypeStyle> <Rule> <MaxScaleDenominator>10000</MaxScaleDenominator> <Title>Polygon</Title> <PolygonSymbolizer> <Stroke> <CssParameter name="stroke">#00EA00</CssParameter> <CssParameter name="stroke-width">1</CssParameter> </Stroke> </PolygonSymbolizer> <TextSymbolizer> <Label> <ogc:PropertyName>PARCELA</ogc:PropertyName>:<ogc:PropertyName>RECINTO</ogc:PropertyName> </Label> <Halo> <Radius>3</Radius> <Fill> <CssParameter name="fill">#FFFFFF</CssParameter> </Fill> </Halo> </TextSymbolizer> </Rule> </FeatureTypeStyle> </UserStyle> </NamedLayer> </StyledLayerDescriptor> Any ideas?? Thanks in advance. Greetings. Un saludo, ·················································································· David Alda Fernández de Lezea Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad IKT Granja Modelo s/n · 01192 · Arkaute (Araba) ·················································································· Tlfnos.: 945-00-32-95 Fax: 945-00.32.90 ·················································································· email: [email protected] web: www.ikt.es ·················································································· ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
