Hi,
I know very little about SLD, but I wonder if it has something in common with WFS filters? If it does, then isn't PropertyIsLike filter more suitable for string comparisons?
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: Andrea Aime [mailto:aaime@anonymised.com]
Lähetetty: ma 13.10.2008 16:15
Vastaanottaja: "Janßen, Thomas"
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] SLD PropertyIsEqualTo
Janßen, Thomas ha scritto:
Hallo Liste,
Ich hab ein Problem mit der Filterung meiner Daten.
Hi,
this is an english only mailing list... happily the internet
provides some automated translation tools that seem
to work fine for your mail, here is the translation offered
by BabelFish:
-------------------------------------------------------------------
Hello list, I have a problem with the filtering of my data. I would like
to filter my geometry from a Postgres/Postgis data base on the basis a
key in the column road. I provided myself the following filter:
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>strasse</ogc:PropertyName>
<ogc:Literal>00669</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
The problem is now that the key for the road as stringer with 5 digits
is put down in the data base. Most this key begin with 0 (zero) and lie
exactly here my problem. If I use the filter in such a way now, he does
not find data records. I changed times a few data records and from the
first 0 a A made and already function the filter as he am. I can
unfortunately not change the keys and am from there on look for a
solution, in order to nevertheless still get these data gefiltern. For
assistance and suggestions I would be very grateful. Greeting Thomas
-------------------------------------------------------------------
I see, this is a known problem in older GeoServer versions, but
it should have been fixed in more recent ones. Have you tried
out a late 1.6.x (e.g., 1.6.5) or 1.7.0-RC4?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users