<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.Shkpostityyli18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">That’s very limiting. I think that none of the more than 80 feature types on my server is using name “Geometry”.  suggest you to file a ticket
 about making this configurable.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Yves Jacolin wrote:<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">Hello,<br>
<br>
Ok I find the answer: Geometry column name is hardcoded in </span><a href="https://github.com/mapserver/mapserver/blob/master/mapwfslayer.c#L242">https://github.com/mapserver/mapserver/blob/master/mapwfslayer.c#L242</a><br>
<br>
Y.<o:p></o:p></p>
<div>
<p class="MsoNormal">2012/9/19 Yves Jacolin <<a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a>><o:p></o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
There is not possiblity? Documentation tell nothing about the possibility to tell to MapServer the geometry column name to the WFS service used for my layer and I can't change the geometry name server side.<br>
<br>
Nobody already fall in this issue?<br>
<br>
Thanks,<br>
<br>
Y.<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2012/9/19 Yves Jacolin <<a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a>><o:p></o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
Does it possible to tell MapServer the geometry name to use for a layer in the case of WFS CONNECTIONTYPE?<br>
<br>
By default, Mapserver use "Geometry", for example:<br>
<br>
<ogc:BBOX><br>
  <ogc:PropertyName>Geometry</ogc:PropertyName><br>
  <gml:Box><gml:coordinates>2.022184,48.116468<br>
    3.923033,49.118807</gml:coordinates></gml:Box><br>
</ogc:BBOX><br>
<br>
Thanks,<br>
<br>
Y.<span style="color:#888888"><br>
-- <br>
Responsable Formation et Support<br>
Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>
73377 Le Bourget du Lac, Cedex<br>
Tel (France) : <a href="tel:%2B33%204%2079%2026%2057%2098" target="_blank">+33 4 79 26 57 98</a><br>
Mob. : <a href="tel:%2B33%206%2018%2075%2042%2021" target="_blank">+33 6 18 75 42 21</a><br>
Fax : 04 79 70 15 81<br>
Mail : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a><br>
<a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Responsable Formation et Support<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Camptocamp France SAS<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Savoie Technolac, BP 352<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">73377 Le Bourget du Lac, Cedex<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Tel (France) : <a href="tel:%2B33%204%2079%2026%2057%2098" target="_blank">
+33 4 79 26 57 98</a><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Mob. : <a href="tel:%2B33%206%2018%2075%2042%2021" target="_blank">
+33 6 18 75 42 21</a><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Fax : 04 79 70 15 81<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Mail : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">
yves.jacolin@camptocamp.com</a><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Responsable Formation et Support<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Camptocamp France SAS<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Savoie Technolac, BP 352<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">73377 Le Bourget du Lac, Cedex<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Tel (France) : +33 4 79 26 57 98<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Mob. : +33 6 18 75 42 21<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Fax : 04 79 70 15 81<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Mail : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">
yves.jacolin@camptocamp.com</a><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>