<br>Hi,<div><br></div><div>I don&#39;t know if maybe this question is out of interest in this list, or if it is an obvious thing that I can&#39;t see..</div><div>But, I would like to know if it is possible to draw a line making a WFS request, to a data source in which the geometry is POINT.</div>
<div><br></div><div>If the geometry of the datasource is POINT it draws points, and if the geometry is LINESTRING then it draws a line...  But, how to draw a line when the source is a couple of POINT?</div><div><br></div>
<div>I&#39;m creating the vector layer like this:</div><div><br></div><div><div>wfs = new OpenLayers.Layer.Vector(&quot;WFST-Vector&quot;, {</div><div>        strategies: [new OpenLayers.Strategy.BBOX(), oSaveStrategy],  </div>
<div>        protocol: new OpenLayers.Protocol.WFS({                        </div><div>            version: &quot;1.0.0&quot;,</div><div>            url: &quot;<a href="http://localhost:8080/geoserver/wfs">http://localhost:8080/geoserver/wfs</a>&quot;,</div>
<div>            featureType: &quot;pointsDS&quot;,</div><div>            srsName: &quot;EPSG:23031&quot;,</div><div>            featureNS: &quot;<a href="http://www.mapmap.org/g4wd">http://www.mapmap.org/g4wd</a>&quot;,</div>
<div>            geometryName: &quot;the_geom&quot;,</div><div>            schema: &quot;<a href="http://localhost:8080/geoserver/wfs?service=WFS&amp;version=1.0.0&amp;request=DescribeFeatureType&amp;TypeName=G4WD:pointsDS">http://localhost:8080/geoserver/wfs?service=WFS&amp;version=1.0.0&amp;request=DescribeFeatureType&amp;TypeName=G4WD:pointsDS</a>&quot;</div>
<div>        })</div><div>    });</div><div><br></div><div>And the G4WD:pointsDS&#39; datasource is a postgis table, where the geometry field is POINT.</div><div><br></div><div>Thanks..</div></div>