<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>I work with 
OpenLayers 2.4 + Geoserver + PostGIS, and I used the wfs-scribble example like 
starting point.</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>I have a geometry 
table in PostGIS, to put any type of geometry (point, polygon, line...) inside, 
wich corresponds to my only layer on my application.</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>On this layer, I can 
so draw line, point and polygon.</FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=485215608-05062007>I have 
t</SPAN>o<SPAN class=485215608-05062007>&nbsp;recover my layer in GML&nbsp;form 
to make treatments above thereafter.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT face="Times New Roman" size=3><SPAN 
class=485215608-05062007></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT face=Arial color=#0000ff size=2><SPAN 
class=485215608-05062007></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>Here is my problem 
:</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>* When I draw a (or 
several) feature(s) and then I click on "Export GML" button, it's great : 
</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;gml:FeatureCollection xmlns:gml="<A 
href='http://www.opengis.net/gml">'><FONT 
color=#000000>http://www.opengis.net/gml"&gt;</FONT></A></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;gml:featureMember&gt;&lt;wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"&gt;</FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial 
size=2>&lt;wps:msGeometry&gt;&lt;gml:MultiPolygon&gt;&lt;gml:polygonMember&gt;&lt;gml:Polygon&gt;&lt;gml:outerBoundaryIs&gt;&lt;gml:LinearRing&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>&lt;gml:coordinates 
decimal="." cs="," ts=" "&gt;-28.02734375,38.06640625 -31.806640625,29.453125 
-13.701171875,32.353515625 
-28.02734375,38.06640625&lt;/gml:coordinates&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;/gml:LinearRing&gt;&lt;/gml:outerBoundaryIs&gt;&lt;/gml:Polygon&gt;&lt;/gml:polygonMember&gt;&lt;/gml:MultiPolygon&gt;&lt;/wps:msGeometry&gt;&lt;wps:name&gt;polygon1&lt;/wps:name&gt;&lt;/wps:feat&gt;&lt;/gml:featureMember&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007></SPAN><SPAN class=485215608-05062007><FONT 
face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;gml:featureMember&gt;&lt;wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"&gt;</FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial 
size=2>&lt;wps:msGeometry&gt;&lt;gml:MultiPoint&gt;&lt;gml:pointMember&gt;&lt;gml:Point&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>&lt;gml:coordinates 
decimal="." cs="," ts=" 
"&gt;1.56982422,28.13476562&lt;/gml:coordinates&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;/gml:Point&gt;&lt;/gml:pointMember&gt;&lt;/gml:MultiPoint&gt;&lt;/wps:msGeometry&gt;&lt;wps:name&gt;point1&lt;/wps:name&gt;&lt;/wps:feat&gt;&lt;/gml:featureMember&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;gml:featureMember&gt;&lt;wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"&gt;</FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial 
size=2>&lt;wps:msGeometry&gt;&lt;gml:MultiLineString&gt;&lt;gml:lineStringMember&gt;&lt;gml:LineString&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>&lt;gml:coordinates 
decimal="." cs="," ts=" "&gt;-9.39453125,44.04296875 5.458984375,46.6796875 
&lt;/gml:coordinates&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;/gml:LineString&gt;&lt;/gml:lineStringMember&gt;&lt;/gml:MultiLineString&gt;&lt;/wps:msGeometry&gt;&lt;wps:name&gt;line1&lt;/wps:name&gt;&lt;/wps:feat&gt;&lt;/gml:featureMember&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;/gml:FeatureCollection&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>* But when I draw 
features, and then I save them into database with button "Save", if I refresh 
and then I click on "Export GML", here is the result : </FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;gml:FeatureCollection xmlns:gml="<A 
href='http://www.opengis.net/gml">'><FONT 
color=#000000>http://www.opengis.net/gml"&gt;</FONT></A></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;gml:featureMember&gt;&lt;wps:feat xmlns:wps="</FONT><A 
href='http://swing.brgm.fr/wps">'><FONT face=Arial color=#000000 
size=2>http://swing.brgm.fr/wps"&gt;</FONT></A></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial 
size=2>&lt;wps:msGeometry&gt;&lt;gml:MultiPolygon&gt;&lt;gml:polygonMember&gt;&lt;gml:Polygon&gt;&lt;gml:outerBoundaryIs&gt;&lt;gml:LinearRing&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>&lt;gml:coordinates 
decimal="." cs="," ts=" "&gt;<STRONG><FONT 
color=#ff0000>undefined,undefined</FONT></STRONG>&lt;/gml:coordinates&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;/gml:LinearRing&gt;&lt;/gml:outerBoundaryIs&gt;&lt;/gml:Polygon&gt;&lt;/gml:polygonMember&gt;&lt;/gml:MultiPolygon&gt;&lt;/wps:msGeometry&gt;&lt;/wps:feat&gt;&lt;/gml:featureMember&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;gml:featureMember&gt;&lt;wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"&gt;</FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial size=2><FONT 
color=#000000>&lt;wps:msGeometry&gt;&lt;gml:MultiPoint&gt;&lt;gml:pointMember&gt;&lt;gml:Point&gt;</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>&lt;gml:coordinates 
decimal="." cs="," ts=" "&gt;<STRONG><EM><FONT 
color=#0000ff>1.56982422,28.13476562</FONT></EM></STRONG> 
&lt;/gml:coordinates&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;/gml:Point&gt;&lt;/gml:pointMember&gt;&lt;/gml:MultiPoint&gt;&lt;/wps:msGeometry&gt;&lt;/wps:feat&gt;&lt;/gml:featureMember&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;gml:featureMember&gt;&lt;wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"&gt;</FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial size=2><FONT 
color=#000000>&lt;wps:msGeometry&gt;&lt;gml:MultiLineString&gt;&lt;gml:lineStringMember&gt;&lt;gml:LineString&gt;</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>&lt;gml:coordinates 
decimal="." cs="," ts=" "&gt;<STRONG><FONT 
color=#ff0000>undefined,undefined</FONT></STRONG> 
&lt;/gml:coordinates&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>&lt;/gml:LineString&gt;&lt;/gml:lineStringMember&gt;&lt;/gml:MultiLineString&gt;&lt;/wps:msGeometry&gt;&lt;/wps:feat&gt;&lt;/gml:featureMember&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007></SPAN><SPAN class=485215608-05062007><FONT 
face=Arial size=2>&lt;/gml:FeatureCollection&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>&nbsp;The features 
are drawn perfectly&nbsp;on the screen, but only the GML of point's geometry is 
correct, and moreover, the name of my features (attributte name) don't appear 
anymore in the GML.</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2>any ideay 
?</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2>Florian.</FONT></SPAN></DIV>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;
        mso-font-charset:2;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:0 268435456 0 0 -2147483648 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.spelle
        {mso-style-name:spelle;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
        {mso-style-name:"Tableau Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
</head>

<body lang=FR style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal><span lang=DE style='font-size:18.0pt;font-family:Webdings;
mso-bidi-font-family:Arial;color:green;mso-ansi-language:DE'>P</span><b><span
lang=DE style='font-size:7.5pt;font-family:Arial;color:black'> </span></b><b><span
style='font-size:10.0pt;font-family:Arial;color:green'>Pensez &agrave;
l'environnement avant d'imprimer ce message<o:p></o:p></span></b></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span class=SpellE><b><i><span style='color:green'>Think</span></i></b></span><b><i><span
style='color:green'> <span class=SpellE>Environment</span> <span class=SpellE>before</span>
printing</span></i></b><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>Le contenu
de ce m&eacute;l et de ses pi&egrave;ces jointes est destin&eacute; &agrave;
l'usage exclusif du (des) destinataire(s) d&eacute;sign&eacute;(s) comme
tel(s). </span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>En cas de
r&eacute;ception par erreur, le signaler &agrave; son exp&eacute;diteur et ne
pas en divulguer le contenu. <br>
L'absence de virus a &eacute;t&eacute; v&eacute;rifi&eacute;e &agrave;
l'&eacute;mission, il convient n&eacute;anmoins de s'assurer de l'absence de
contamination &agrave; sa r&eacute;ception.</span></p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>The contents of this email and any attachments are
confidential. They are intended for the named recipient(s) only. </span><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>If you have received this email in error please notify
the system manager or&nbsp; the sender immediately and do not disclose the
contents to <br>
anyone or make copies. </span><span lang=EN-GB 
style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>

<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>eSafe</span></span><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'> scanned
this email for viruses, vandals and malicious content.</span><span lang=EN-GB
style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>
</BODY></HTML>