<p>Hi giovanni,</p>
<p>I will answer in thé mail core</p>
<p>Le 29 juin 2012 18:27, "Giovanni Manghi" <<a href="mailto:giovanni.manghi@faunalia.pt">giovanni.manghi@faunalia.pt</a>> a écrit :<br>
><br>
> Hi all,<br>
><br>
> I have set up a fair large project to be used to serve wfs layers with<br>
> qgis server.<br>
><br>
> I'm noticing a few things and I would like to have feedback to<br>
> understand if are local issues or not.<br>
><br>
> *) the layer list in the qgis client is presented in reverse alphabetic order.</p>
<p>I didn't use an order toi présente thé list</p>
<p>><br>
> *) if in the "display name" attribute of a layer there are chars like "/", ":", "-", then the qgis wfs client<br>
> fails to download correctly such layers. Is this a standard problem that does not<br>
> allow such chars?</p>
<p>In WFS, the layer name and attribute name is used to set GML element name. The layer name and attribute name has to respect XML élément naming.</p>
<p>><br>
> No problems with such chars in the "title" and "abstract" fields of the "metadata" tab.</p>
<p>These informations are in the content of GML element.</p>
<p>><br>
> *) I noticed that a particular wfs layer was apparently loaded correctly with the qgis client<br>
> but then I discovered it had an empty table of attributes. Looking into the table of the original vector<br>
> (postgis) I discovered that a column name had garbled title because of some kind of encoding issue (probably<br>
> coming from the original shapefile rather then a import problem into postgis). I fixed the title<br>
> and the layer loaded correctly as wfs layer.</p>
<p>The attribute name has to respect the XML element naming.</p>
<p>><br>
><br>
> Thanks in advance</p>
<p>Thanks for your feed back.</p>
<p>I probably have to add some code to automatically change layer and attribute naming ?</p>
<p>René-Luc</p>
<p>><br>
> -- Giovanni --<br>
><br>
><br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</p>