Click here to get back home

SLD : define a GML geometry for TextSymbolizer

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
SLD : define a GML geometry for TextSymbolizer Tioufoukoi 09-06-2006
Posted by Tioufoukoi on September 6, 2006, 6:40 am
Please log in for more thread options
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
Please log in for more thread options
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 :
> <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 ...

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
Please log in for more thread options
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 :
> > <TextSymbolizer>
> >         <Geometry>
> >                 <gml:Point srsName=3D"EPSG:27593">
> >                         <gml:coordinates decimal=3D"." cs=3D"," ts=3D" ">
> >                         -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 ...
>
> 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


Similar ThreadsPosted
CGAL 3.1 Released, Computational Geometry Algorithms Library December 22, 2004, 11:58 am
CGAL 3.3 Released, Computational Geometry Algorithms Library June 2, 2007, 9:15 am
CGAL 3.3.1 Released, Computational Geometry Algorithms Library September 5, 2007, 5:19 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap