<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to display a polygon from a WFS server
using Openlayer.</FONT></DIV>
<DIV><FONT face=Arial size=2>The code comes from an example found on Internet
(Source:BRGM wfs service) :<A
href='http://swing.brgm.fr/cgi-bin/carrieres?request=getfeature&service=wfs&version=1.0.0&typename=exploitationsponctualsproduction&maxFeatures=1",'><EM><FONT
size=3>http://swing.brgm.fr/cgi-bin/carrieres?</FONT></EM></A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is the GML code (result of GetFeature) to
test Point display :</FONT></DIV>
<DIV><FONT face=Arial
size=2>----------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2><?xml version='1.0' encoding="UTF-8"
?><BR><wfs:FeatureCollection<BR> xmlns:qua="<A
href="http://swing.brgm.fr/quarries">http://swing.brgm.fr/quarries</A>"<BR>
xmlns:wfs="<A
href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</A>"<BR>
xmlns:gml="<A
href="http://www.opengis.net/gml">http://www.opengis.net/gml</A>"<BR>
xmlns:ogc="<A
href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</A>"<BR>
xmlns:xsi="<A
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>"<BR>
xsi:schemaLocation="<A
href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</A> <A
href="http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd</A>
<BR>
<A href="http://swing.brgm.fr/quarries">http://swing.brgm.fr/quarries</A> <A
href="http://localhost:8080/Plone/test-listegeo2/wfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=exploitationsponctualsproduction&amp;OUTPUTFORMAT=XMLSCHEMA">http://localhost:8080/Plone/test-listegeo2/wfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=exploitationsponctualsproduction&amp;OUTPUTFORMAT=XMLSCHEMA</A>"><BR>
<gml:featureMember><BR>
<qua:exploitationsponctualsproduction
fid="1"><BR>
<qua:msGeometry><BR>
<gml:Point
srsName="EPSG:4326"><BR>
<gml:coordinates decimal="." cs="," ts="
">1.5,44.5</gml:coordinates><BR>
</gml:Point><BR> </qua:msGeometry><BR>
<qua:gid>1</qua:gid><BR>
<qua:exploitationname>Petoreau, Champ Luneau, L Ouche de Chez
Moreau</qua:exploitationname><BR>
<qua:communities>LES
NOUILLERS</qua:communities><BR>
<qua:substance>Calcaire</qua:substance><BR>
<qua:year>2006</qua:year><BR>
<qua:allowedproduction>300.000000000000000</qua:allowedproduction><BR>
<qua:sitename>Petoreau, Champ Luneau, L Ouche de Chez
Moreau</qua:sitename><BR>
<qua:sitetype>Excavation
(carriere)</qua:sitetype><BR>
</qua:exploitationsponctualsproduction><BR>
</gml:featureMember><BR></wfs:FeatureCollection></FONT></DIV>
<DIV><FONT face=Arial
size=2>------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>There is no problem for points but impossible to
display a line or a polygon.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>Here is the GML code (result of GetFeature) to
test Polygon display :</FONT></DIV>
<DIV><FONT face=Arial
size=2>------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2><?xml version='1.0' encoding="UTF-8"
?><BR><wfs:FeatureCollection<BR> xmlns:qua="<A
href="http://swing.brgm.fr/quarries">http://swing.brgm.fr/quarries</A>"<BR>
xmlns:wfs="<A
href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</A>"<BR>
xmlns:gml="<A
href="http://www.opengis.net/gml">http://www.opengis.net/gml</A>"<BR>
xmlns:ogc="<A
href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</A>"<BR>
xmlns:xsi="<A
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>"<BR>
xsi:schemaLocation="<A
href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</A> <A
href="http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd</A>
<BR>
<A href="http://swing.brgm.fr/quarries">http://swing.brgm.fr/quarries</A> <A
href="http://localhost:8080/Plone/test-listegeo2/wfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=exploitationsponctualsproduction&amp;OUTPUTFORMAT=XMLSCHEMA">http://localhost:8080/Plone/test-listegeo2/wfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=exploitationsponctualsproduction&amp;OUTPUTFORMAT=XMLSCHEMA</A>"><BR>
<gml:featureMember><BR>
<qua:exploitationsponctualsproduction
fid="1"><BR>
<gml:boundedBy><BR>
<gml:Box srsName="EPSG:4326"><BR>
<gml:coordinates>0,40
4,50</gml:coordinates><BR>
</gml:Box><BR>
</gml:boundedBy><BR>
<qua:msGeometry><BR>
<gml:Polygon
srsName="EPSG:4326"><BR>
<gml:outerBoundaryIs><BR>
<gml:LinearRing><BR>
<gml:coordinates>1.5,44.5 1.5,43.5 0.5,43.5 0.5,44.5
1.5,44.5</gml:coordinates><BR>
</gml:LinearRing><BR>
</gml:outerBoundaryIs><BR>
</gml:Polygon><BR>
</qua:msGeometry><BR>
<qua:gid>1</qua:gid><BR>
<qua:exploitationname>Petoreau, Champ Luneau, L Ouche de Chez
Moreau</qua:exploitationname><BR>
<qua:communities>LES
NOUILLERS</qua:communities><BR>
<qua:substance>Calcaire</qua:substance><BR>
<qua:year>2006</qua:year><BR>
<qua:allowedproduction>300.000000000000000</qua:allowedproduction><BR>
<qua:sitename>Petoreau, Champ Luneau, L Ouche de Chez
Moreau</qua:sitename><BR>
<qua:sitetype>Excavation
(carriere)</qua:sitetype><BR>
</qua:exploitationsponctualsproduction><BR>
</gml:featureMember><BR></wfs:FeatureCollection></FONT></DIV>
<DIV><FONT face=Arial
size=2>---------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></DIV>
<DIV><FONT face=Arial size=2>Have you any idea?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for your remarks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Véronique PAYOT</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>