<!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> </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> </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> recover my layer in GML 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> </DIV>
<DIV><FONT face=Arial><FONT face=Arial color=#0000ff size=2><SPAN 
class=485215608-05062007></SPAN></FONT></FONT> </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> </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> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2><gml:FeatureCollection xmlns:gml="<A 
href='http://www.opengis.net/gml">'><FONT 
color=#000000>http://www.opengis.net/gml"></FONT></A></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2><gml:featureMember><wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"></FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial 
size=2><wps:msGeometry><gml:MultiPolygon><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2><gml:coordinates 
decimal="." cs="," ts=" ">-28.02734375,38.06640625 -31.806640625,29.453125 
-13.701171875,32.353515625 
-28.02734375,38.06640625</gml:coordinates></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></wps:msGeometry><wps:name>polygon1</wps:name></wps:feat></gml:featureMember></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007></SPAN><SPAN class=485215608-05062007><FONT 
face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2><gml:featureMember><wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"></FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial 
size=2><wps:msGeometry><gml:MultiPoint><gml:pointMember><gml:Point></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2><gml:coordinates 
decimal="." cs="," ts=" 
">1.56982422,28.13476562</gml:coordinates></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></gml:Point></gml:pointMember></gml:MultiPoint></wps:msGeometry><wps:name>point1</wps:name></wps:feat></gml:featureMember></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2><gml:featureMember><wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"></FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial 
size=2><wps:msGeometry><gml:MultiLineString><gml:lineStringMember><gml:LineString></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2><gml:coordinates 
decimal="." cs="," ts=" ">-9.39453125,44.04296875 5.458984375,46.6796875 
</gml:coordinates></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></gml:LineString></gml:lineStringMember></gml:MultiLineString></wps:msGeometry><wps:name>line1</wps:name></wps:feat></gml:featureMember></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></gml:FeatureCollection></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN> </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> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2><gml:FeatureCollection xmlns:gml="<A 
href='http://www.opengis.net/gml">'><FONT 
color=#000000>http://www.opengis.net/gml"></FONT></A></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2><gml:featureMember><wps:feat xmlns:wps="</FONT><A 
href='http://swing.brgm.fr/wps">'><FONT face=Arial color=#000000 
size=2>http://swing.brgm.fr/wps"></FONT></A></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial 
size=2><wps:msGeometry><gml:MultiPolygon><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2><gml:coordinates 
decimal="." cs="," ts=" "><STRONG><FONT 
color=#ff0000>undefined,undefined</FONT></STRONG></gml:coordinates></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></wps:msGeometry></wps:feat></gml:featureMember></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2><gml:featureMember><wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"></FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial size=2><FONT 
color=#000000><wps:msGeometry><gml:MultiPoint><gml:pointMember><gml:Point></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2><gml:coordinates 
decimal="." cs="," ts=" "><STRONG><EM><FONT 
color=#0000ff>1.56982422,28.13476562</FONT></EM></STRONG> 
</gml:coordinates></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></gml:Point></gml:pointMember></gml:MultiPoint></wps:msGeometry></wps:feat></gml:featureMember></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2><gml:featureMember><wps:feat xmlns:wps="<A 
href='http://swing.brgm.fr/wps">'><FONT 
color=#000000>http://swing.brgm.fr/wps"></FONT></A></FONT></SPAN><SPAN 
class=485215608-05062007><FONT face=Arial size=2><FONT 
color=#000000><wps:msGeometry><gml:MultiLineString><gml:lineStringMember><gml:LineString></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2><gml:coordinates 
decimal="." cs="," ts=" "><STRONG><FONT 
color=#ff0000>undefined,undefined</FONT></STRONG> 
</gml:coordinates></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></gml:LineString></gml:lineStringMember></gml:MultiLineString></wps:msGeometry></wps:feat></gml:featureMember></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007></SPAN><SPAN class=485215608-05062007><FONT 
face=Arial size=2></gml:FeatureCollection></FONT></SPAN></DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial size=2> The features 
are drawn perfectly 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> </DIV>
<DIV><SPAN class=485215608-05062007><FONT face=Arial 
size=2></FONT></SPAN> </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> </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 à
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'>      
<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'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>Le contenu
de ce mél et de ses pièces jointes est destiné à
l'usage exclusif du (des) destinataire(s) désigné(s) comme
tel(s). </span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>En cas de
réception par erreur, le signaler à son expéditeur et ne
pas en divulguer le contenu. <br>
L'absence de virus a été vérifiée à
l'émission, il convient néanmoins de s'assurer de l'absence de
contamination à sa réception.</span></p>
<p class=MsoNormal> </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  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> </o:p></span></p>
</div>
</body>
</html>
</BODY></HTML>