Why not create two different SLDs?

On Wed, Feb 24, 2016 at 3:41 PM, Geoffrey <bal...@gmail.com> wrote:

> Hello,
>
> I have a SLD file styling 2 different shapefiles, one containing point and
> the other containing polygons. The polygons have an attribute that the
> point
> doesn't.
>
> The problem is, that when I filter the Polygon in SLD on their attribute,
> the point can't render because it doesn't have this attribute. Even if it
> not under the same rule.
>
> I hope I'm explaining well enough.
>
> Please see the SLD and shapefiles attached as example.
>
> Assign the SLD file to style the shapefiles, and see that the Area
> shapefile
> is rendered correctly, but the Point shapefile can't render. If you remove
> the filter for the attribute in the Polygon rule, then the point can
> render.
>
> Thank you
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to