Hi,
I am using the 1.5 rc1 and have an OWS for a feature type with some SLD in
the style list. I can get it to style fine but I am having trouble with the
filter. My question is how much SLD to put in there. Below is what I have
but the filter doesn't work. I am going to classify my layer this way and
will need several filters. I am new to SLD and OWS and was just wondering
how the style list works and whether <sld:StyledLayerDescriptor
version="1.0.0">
<sld:NamedLayer>
<sld:Name>Test Layer</sld:Name>
<sld:UserStyle>
<sld:Name>my_style</sld:Name>
<sld:FeatureTypeStyle>
<sld:Rule> ..etc. and then I put the filter in
Is necessary in order to put the filter in?
My layer is attached
Thank you,
Jeff Cavner
GIS Specialist
Earth Data Analysis Center
[EMAIL PROTECTED]
<FeatureType queryable="0" hidden="0" id="counties">
<Server service="OGC:GML" version="2.1.2" title="Local">
<OnlineResource xlink:type="simple" xlink:href="../data/my_gml/2.xml" />
</Server>
<Name>counties</Name>
<Title>counties</Title>
<SRS>EPSG:4326</SRS>
<Geometry>the_geom</Geometry>
<StyleList>
<Style current="1">
<SLD>
<sld:StyledLayerDescriptor version="1.0.0">
<sld:NamedLayer>
<sld:Name>Test Layer</sld:Name>
<sld:UserStyle>
<sld:Name>my_style</sld:Name>
<sld:FeatureTypeStyle>
<sld:Rule>
<sld:Filter>
<sld:PropertyIsEqualTo>
<sld:PropertyName>NAME</sld:PropertyName>
<sld:Literal>Union</sld:Literal>
</sld:PropertyIsEqualTo>
</sld:Filter>
<sld:Graphic>
<sld:Mark>
<sld:Fill>
<sld:CssParameter name="fill">#FF000F</sld:CssParameter>
<sld:CssParameter name="fill-opacity">0.6</sld:CssParameter>
</sld:Fill>
<sld:Stroke>
<sld:CssParameter name="stroke">#FF00FF</sld:CssParameter>
<sld:CssParameter name="stroke-opacity">1</sld:CssParameter>
<sld:CssParameter name="stroke-width">2</sld:CssParameter>
</sld:Stroke>
</sld:Mark>
<sld:Size>3</sld:Size>
</sld:Graphic>
</sld:Rule>
</sld:FeatureTypeStyle>
</sld:UserStyle>
</sld:NamedLayer>
</sld:StyledLayerDescriptor>
</SLD>
</Style>
</StyleList>
</FeatureType>-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users