On Sat, Jan 7, 2012 at 12:21 AM, Elijah Meeks <[email protected]> wrote:
> Thanks, Frank.
>
> I tried that and it still reported a big red, angry no-validation
> response. I noticed that if I submit it anyway, that the SLD works just as
> I wanted it to. I suppose this means the Validate button doesn't
> comprehend VenderOption?
>
>
It does, but you have to put them in the right place according to the
GeoServer SLD extended schemas, that
is, as the last elements in the text symbolizers.
Each GeoServer installation ships with the schemas, here is an example:
http://demo1.geo-solutions.it/playground/schemas/sld/StyledLayerDescriptor.xsd
Here is the TextSymbolizer definition:
<xsd:element name="TextSymbolizer" substitutionGroup="sld:Symbolizer">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="sld:SymbolizerType">
<xsd:sequence>
<xsd:element ref="sld:Geometry" minOccurs="0"/>
<xsd:element ref="sld:Label" minOccurs="0"/>
<xsd:element ref="sld:Font" minOccurs="0"/>
<xsd:element ref="sld:LabelPlacement" minOccurs="0"/>
<xsd:element ref="sld:Halo" minOccurs="0"/>
<xsd:element ref="sld:Fill" minOccurs="0"/>
<!-- GeoServer specific extensions, these are not part of the SLD 1.0
standard -->
<xsd:element ref="sld:Graphic" minOccurs="0"/>
<xsd:element ref="sld:Priority" minOccurs="0"/>
<xsd:element ref="sld:VendorOption" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users