Bookmark this page: Add SLD   define a GML geometry for TextSymbolizer to Yahoo MyWeb Add SLD   define a GML geometry for TextSymbolizer to Google Bookmarks Add SLD   define a GML geometry for TextSymbolizer to Windows Live Add SLD   define a GML geometry for TextSymbolizer to Del.icio.us Digg SLD   define a GML geometry for TextSymbolizer! Add SLD   define a GML geometry for TextSymbolizer to Netscape
  •  
  • Subject
  • Author
  • Date
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by Tioufoukoi on September 6, 2006, 6:40 am
Hello,
I'm writing a SLD.
I'd like to define a geometry to apply to the TextSymbolizer.
SLD documentation says :
"In principle, a fixed geometry could be defined using GML or operators
could be defined for computing the geometry from references or
literals. However, using a feature property directly is by far the most
commonly useful method."
But I can't find any information about GML Geometry definition in SLD.
I've tried :
<TextSymbolizer>
        <Geometry>
                <gml:Point srsName="EPSG:27593">
                        <gml:coordinates decimal="." cs="," ts=" ">
                        -79.5,43.6
                        </gml:coordinates>
                </gml:Point>
        </Geometry>
</TextSymbolizer>
But validator is expecting a ogc:PropertyName in <Geometry>
Does anyone have an idea about this problem ?
Thank you, and sorry for my English, I'm french ...


Posted by tomkralidis on September 6, 2006, 10:00 am
Tioufoukoi@gmail.com wrote:
> Hello,
> I'm writing a SLD.
> I'd like to define a geometry to apply to the TextSymbolizer.
> SLD documentation says :
> "In principle, a fixed geometry could be defined using GML or operators
> could be defined for computing the geometry from references or
> literals. However, using a feature property directly is by far the most
> commonly useful method."
> But I can't find any information about GML Geometry definition in SLD.
> I've tried :
>                         -79.5,43.6
> Does anyone have an idea about this problem ?
> Thank you, and sorry for my English, I'm french ...

The SLD 1.0.0 schemas have an sld:Geometry, which uses ogc:PropertyName
to reference geometry, but I don't see anything for inline definitions.

Having said this, your best bet is to post this question on the OGC
public forum at:

http://feature.opengeospatial.org/forumbb/

..Tom


Posted by Tioufoukoi on September 7, 2006, 3:54 am
Ok thank you very much for you quick response.
Actually, I think that Geoserver does not implement the specification
for this function.
I'm thinking about do it myself or finding another solution.
Finaly, thank you !

tomkralidis a =E9crit :

> Tioufoukoi@gmail.com wrote:
> > Hello,
> > I'm writing a SLD.
> > I'd like to define a geometry to apply to the TextSymbolizer.
> > SLD documentation says :
> > "In principle, a fixed geometry could be defined using GML or operators
> > could be defined for computing the geometry from references or
> > literals. However, using a feature property directly is by far the most
> > commonly useful method."
> > But I can't find any information about GML Geometry definition in SLD.
> > I've tried :
> >                         -79.5,43.6
> > Does anyone have an idea about this problem ?
> > Thank you, and sorry for my English, I'm french ...
> The SLD 1.0.0 schemas have an sld:Geometry, which uses ogc:PropertyName
> to reference geometry, but I don't see anything for inline definitions.
> Having said this, your best bet is to post this question on the OGC
> public forum at:
>=20
> http://feature.opengeospatial.org/forumbb/
>=20
> ..Tom