Without a copy of your data it is hard to debug, the usual things to check
are is the case of your propertynames correct? is that literal exactly what
is in the attribute? Does it work when you use a default polygon style?

Ian

On 6 March 2018 at 22:46, GeorgeJones92 <george.jo...@aberdeen.sd.us> wrote:

> I have zero error messages in the coding syntax, however when i go to layer
> preview the layer is not there . am i missing something?
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <StyledLayerDescriptor version="1.0.0"
>
> xsi:schemaLocation="http://www.opengis.net/sld/ StyledLayerDescriptor.xsd"
>                                 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";>
>   <NamedLayer>
>    <Name>Jurisdictions</Name>
>       <UserStyle>
>    <Title>Jurisdictions</Title>
>       <FeatureTypeStyle>
>    <Rule>
>    <Name>city limits</Name>
>    <Title>city limits</Title>
>     <ogc:Filter>
>       <ogc:PropertyIsEqualTo>
>         <ogc:PropertyName>type</ogc:PropertyName>
>         <ogc:Literal>city limits</ogc:Literal>
>      </ogc:PropertyIsEqualTo>
>    </ogc:Filter>
>    <PolygonSymbolizer>
>     <Fill>
>            <CssParameter name="fill">#ffffff</CssParameter>
>            <CssParameter name="fill-opacity">0.4</CssParameteR>
>      </Fill>
>      <Stroke>
>            <CssParameter name="stroke">#fffffff</CssParameter>
>           <CssParameter name="stroke-width">1.3</CssParameter>
>           <CssParameter name="stroke-opacity">0.7</CssParameter>
>      </Stroke>
>    </PolygonSymbolizer>
>   </Rule>
>   <Rule>
>     <Name>police power</Name>
>     <Title>police power</Title>
>    <ogc:Filter>
>      <ogc:PropertyIsEqualTo>
>          <ogc:PropertyName>type</ogc:PropertyName>
>          <ogc:Literal>police power</ogc:Literal>
>      </ogc:PropertyIsEqualTo>
>     </ogc:Filter>
>    <PolygonSymbolizer>
> </Rule>
> <Rule>
>     <Name>planning commission</Name>
>      <Title>planning commission</Title>
>     <ogc:Filter>
>         <ogc:PropertyIsEqualTo>
>            <ogc:PropertyName>type</ogc:PropertyName>
>            <ogc:Literal>planning commission</ogc:Literal>
>         </ogc:PropertyIsEqualTo>
>     </ogc:Filter>
>     <PolygonSymbolizer>
>        <Fill>
>             <CssParameter name="fill">#bbbbbbb</CssParameter>
>             <CssParameter name="fill-opacity">0.2</CssParameter>
>       </Filll>
>       <Stroke>
>             <CssParameter name="stroke">#bbbbbb</CssParameter>
>             <CssParameter name="stroke-width">1.3</CssParameter>
>             <CssParameter name="stroke-opacity">0.4</CssParameter>
>        </Stroke>
>            </PolygonSymbolizer>
>        </Rule>
>     </FeatureTypeStyle>
>    </UserStyle>
>   </NamedLayer>
> </StyledLayerDescriptor>
>
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-
> f3786390.html
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
> userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-
> requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Ian Turton
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to