[Geoserver-users] Question Label PropertyName

I have 2 table.
In 1 table i have this column 'Population' and in 1 table i have
'POPULATION' and i follow one single SLD.
but this condition <ogc:PropertyName>Population</ogc:PropertyName> work for
first table where name of column is 'Population', for 2 table is bad
condition. Why ?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Question-Label-PropertyName-tp5086825.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

It might be case sensitive? This page suggests they are:
http://docs.geoserver.org/stable/en/user/filter/filter_reference.html#comparison-operators

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 31 October 2013 12:16, laurentyu <contact@anonymised.com> wrote:

I have 2 table.
In 1 table i have this column ‘Population’ and in 1 table i have
‘POPULATION’ and i follow one single SLD.
but this condition ogc:PropertyNamePopulation</ogc:PropertyName> work for
first table where name of column is ‘Population’, for 2 table is bad
condition. Why ?


View this message in context: http://osgeo-org.1560.x6.nabble.com/Question-Label-PropertyName-tp5086825.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi,
This happens because ogc:PropertyName is case-sensitive. You can change the name of the ‘POPULATION’ column to ‘Population’ and it should work.

References:
(someone else asked the about it here: http://osgeo-org.1560.x6.nabble.com/error-on-SLD-geoserver-could-not-find-attribute-table-td3809101.html)
(case-sensitive definition: http://en.wikipedia.org/wiki/Case_sensitivity)

···

2013/10/31 laurentyu <contact@anonymised.com…>

I have 2 table.
In 1 table i have this column ‘Population’ and in 1 table i have
‘POPULATION’ and i follow one single SLD.
but this condition ogc:PropertyNamePopulation</ogc:PropertyName> work for
first table where name of column is ‘Population’, for 2 table is bad
condition. Why ?


View this message in context: http://osgeo-org.1560.x6.nabble.com/Question-Label-PropertyName-tp5086825.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Regards,
Lorenzo Natali

==

Dott. Ing. Lorenzo Natali
@lorenzonatali
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it