CQL stands for "Common Query Language" - it is a quick way of writing
down the same expressions that are expressed in XML as part of an SLD
document.
In udig you can use CQL to select features in the table view:
- http://udig.refractions.net/confluence/display/EN/Table+view
- http://udig.refractions.net/confluence/display/EN/Selection+using+CQL
I have not made a utility to automatically convert from CQL toFilter ...
Note this page here:
- http://udig.refractions.net/confluence/display/EN/Change+a+Layers+Style
Has a link to the PDF describing how SLD documents can be created (you
have probably already read it).
Jody
Nicholas I wrote:
Dear Mr. Gabriel and Jody,
I am going through cql which is new to me, soon i'll ping you as soon
as i complete it.
helping you to update on symbology encoding would be a great
opportunity for me, i'll definitely work on that part.
(can somebody send me a link on cql installation on ubuntu)
-Nicholas I
On Fri, Sep 5, 2008 at 11:35 AM, Jody Garnett
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
There are some string concatenation functions in that list; but
really you want to do two things :-)
- Make friends with Gabriel who is good at this stuff :-)
- Help us update to the "Symbology Encoding 1.1" specification
where they have formally defined all the nice string formating
functions (http://www.opengeospatial.org/standards/symbol)
Cheers,
Jody
PS. Please let me know if you get the strSubstring stuff to work;
you can email your working example to the uDig Users list and we
will all benifit. Perhaps we could start an "SLD" tips and tricks
page. The GeoServer community already has such a page - but I do
not have the link right now.
Nicholas I wrote:
Thank you Mr.Jody.
Is there any text spacing facility in sld?
-Nicholas I
On Fri, Sep 5, 2008 at 3:29 AM, Jody Garnett
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>> wrote:
That is a tough problem for SLD to handle; something that
Gabriel
Roldan has recently had some ideas about. For now I would
recommend creating ...
- two TextSymbolizers; with offsets so they appear on different
lines...
- the first symbolizer would be using the expression:
strSubstring( NAME, 0, strIndexOf( NAME, " " ) )
- The second would be using :
strSubstring( NAME, strIndexOf( NAME, " " ) + 1 )
The function list I am referring to is here:
-
http://udig.refractions.net/confluence/display/EN/Common+Query+Language
You can translate the CQL expressions to the SLD / Filter
syntax
as needed.
Jody
Nicholas I wrote:
Hi ,
I have point layer where the value of the name is of 80
characters for example South Island, i just want to
specify if
there are two words separated by a space then create a new
line and make the second word appear down.
I want the out put to be like below, not both the words on
the same line.
South
Island
Is there any way of doing it in sld level, may be
using some
sld tags or any other way.
thank you
-Nicholas I
------------------------------------------------------------------------
_______________________________________________
udig-users mailing list
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
http://lists.refractions.net/mailman/listinfo/udig-users
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel