Hi,

I develop a web-mapping application based on openLayers and geoserver. I have a 
function that let the user make his own style with defined layers, but I have a 
big problem.

Many  layers served by geoserver are views stored in a PostGis database. These 
views are made with two or more tables and rename columns with aliases in the 
output query. For example the original name is "etat_avancement"  and the 
output alias is "Etat d'avancement" which is not a standard name, but more 
explicit and user-friendly for the end user.

It seems that this is not a problem for Geoserver to server this view as a 
layer. The columns names and types are well recognized in the configuration 
interface and the getFeatureInfo request works as well.

But I can't do nothing with this field in a sld. If I write in PropertyName tag 
"Etat d'avancement" I have an error like this : [...] " The style specifies an 
attribute of "Etat d'avancement" and the layer is mylayer" If I remove the 
double quote I have a parsing error : "Had troubles handling filter 
reprojection... Invalid XPath: 'Etat d'avancement'. Invalid symbol 't' - 
expression incorrect.

Is there a solution to solve it?

Thanks in advance.

Jean-Baptiste Raynaud

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to