Hi!
It's not showed any mistake. But geoserver don't use it.
Thank you!
Follow specific part:
<StyleList>
<Style current="1">
<SLD>
<StyledLayerDescriptor
version="1.0.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns="http://www.opengis.net/sld">
<NamedLayer>
<Name>estados</Name>
<UserStyle>
<Name>estados</Name>
<Title>geoserver style</Title>
<Abstract>Generated by GeoServer</Abstract>
<FeatureTypeStyle>
<Rule>
<PolygonSymbolizer>
<Fill>
<CssParameter
name="fill">#1115DD</CssParameter>
<CssParameter
name="fill-opacity">1</CssParameter>
</Fill>
<Stroke>
<CssParameter
name="stroke">#000100</CssParameter>
<CssParameter
name="stroke-opacity">1</CssParameter>
<CssParameter
name="stroke-width">6</CssParameter>
</Stroke>
</PolygonSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>NOME</ogc:PropertyName>
</Label>
<CssParameter
name="font-family">Times New Roman</CssParameter>
<CssParameter
name="font-style">Normal</CssParameter>
<CssParameter
name="font-size">12</CssParameter>
<Fill>
<CssParameter
name="fill">#00CC00</CssParameter>
<CssParameter
name="fill-opacity">1</CssParameter>
</Fill>
</TextSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
</SLD>
</Style>
</StyleList>
Follow the entire WCS
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<ViewContext version="1.0.0" id="atlas_world"
xmlns="http://www.opengis.net/context"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/context
http://schemas.opengis.net/context/1.0.0/context.xsd">
<General>
<Title>Brasilia Map (WMS)</Title>
<Window width="350" height="450"/>
<BoundingBox SRS="EPSG:4326" minx="-81.252473776567"
miny="-55.972111778282965" maxx="-32.39112723106132"
maxy="12.477273785465513"/>
<KeywordList>
<Keyword>OGC WMS</Keyword>
<Keyword>Web Map Service</Keyword>
</KeywordList>
<Abstract>Estados Brasileiros</Abstract>
<LogoURL width="198" height="83" format="image/jpg">
<OnlineResource xlink:type="simple"
xlink:href="http://www.demis.nl/home/images/OGCCompliant.gif"/>
</LogoURL>
<DescriptionURL format="text/html">
<OnlineResource xlink:type="simple"
xlink:href="http://www.demis.nl/home/pages/wms/demiswms.htm"/>
</DescriptionURL>
<ContactInformation>
<ContactPersonPrimary>
<ContactPerson>Bart Adriaanse</ContactPerson>
<ContactOrganization>Demis bv. The Netherlands</ContactOrganization>
</ContactPersonPrimary>
<ContactPosition>GIS & Software Engineer</ContactPosition>
<ContactAddress>
<AddressType>postal</AddressType>
<Address>Rotterdamseweg 183C</Address>
<City>Delft</City>
<StateOrProvince>ZH</StateOrProvince>
<PostCode>2629HD</PostCode>
<Country>Netherlands</Country>
</ContactAddress>
<ContactVoiceTelephone>+31152682510</ContactVoiceTelephone>
<ContactFacsimileTelephone>+31152682507</ContactFacsimileTelephone>
<ContactElectronicMailAddress>[EMAIL PROTECTED]</ContactElectronicMailAddress>
</ContactInformation>
</General>
<LayerList>
<Layer queryable="1" hidden="0">
<BoundingBox SRS="EPSG:4326" minx="-81.252473776567"
miny="-55.972111778282965" maxx="-32.39112723106132"
maxy="12.477273785465513"/>
<Server service="OGC:WMS" version="1.0.0"
title="OGC:WMS">
<OnlineResource xlink:type="simple"
xlink:href="http://localhost:8080/geoserver/wms?"/>
</Server>
<Name>nurc:estados</Name>
<Title>nurc:estados</Title>
<SRS>EPSG:4326</SRS>
<FormatList>
<Format current="1">image/jpeg</Format>
</FormatList>
<StyleList>
<Style current="1">
<SLD>
<StyledLayerDescriptor
version="1.0.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns="http://www.opengis.net/sld">
<NamedLayer>
<Name>estados</Name>
<UserStyle>
<Name>estados</Name>
<Title>geoserver style</Title>
<Abstract>Generated by GeoServer</Abstract>
<FeatureTypeStyle>
<Rule>
<PolygonSymbolizer>
<Fill>
<CssParameter
name="fill">#1115DD</CssParameter>
<CssParameter
name="fill-opacity">1</CssParameter>
</Fill>
<Stroke>
<CssParameter
name="stroke">#000100</CssParameter>
<CssParameter
name="stroke-opacity">1</CssParameter>
<CssParameter
name="stroke-width">6</CssParameter>
</Stroke>
</PolygonSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>NOME</ogc:PropertyName>
</Label>
<CssParameter
name="font-family">Times New Roman</CssParameter>
<CssParameter
name="font-style">Normal</CssParameter>
<CssParameter
name="font-size">12</CssParameter>
<Fill>
<CssParameter
name="fill">#00CC00</CssParameter>
<CssParameter
name="fill-opacity">1</CssParameter>
</Fill>
</TextSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
</SLD>
</Style>
</StyleList>
</Layer>
</LayerList>
</ViewContext>
--
View this message in context:
http://www.nabble.com/Geosever-use-just-default-SLD%2C-not-my-SLD-in-mapbuilder-tf3994560.html#a11347001
Sent from the MapBuilder Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users