<div class="gmail_quote">Hi Guys, I really need your help.<div><br></div><div>I have features kept in my PostGIS database. When I tried to query the features from PostGIS using ST_AsGML function, I got following data:</div>

<div><span class="Apple-style-span" style="font-family: monospace; white-space: pre-wrap; font-size: medium; "><span><br></span></span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre-wrap; font-size: medium; "><span>&lt;gml:Polygon&gt;</span><span>&lt;gml:outerBoundaryIs&gt;</span><span>&lt;gml:LinearRing&gt;</span><span>&lt;gml:coordinates&gt;</span>645082.056400000001304,2609956.632699999958277 645063.701299999956973,2609918.905300000216812 645063.597799999988638,2609918.944600000046194 645040.522600000025705,2609925.99709999980405 645055.089500000001863,2609963.028799999970943 645082.056400000001304,2609956.632699999958277<span>&lt;/gml:coordinates&gt;</span><span>&lt;/gml:LinearRing&gt;</span><span>&lt;/gml:outerBoundaryIs&gt;</span><span>&lt;/gml:Polygon&gt;</span></span></div>


<div><br></div><div>I think the above data is incomplete GML features. Because when I parsed the data to obtain OpenLayers.Feature.Vector object using function OpenLayers.Format.GML.read(), it returned NULL.</div><div><br>


</div><div>My question: is there any way to create OpenLayers.Feature.Vector from the above data in order to show the feature in Vector layer?</div><div><br></div><div>Thanks,<br clear="all">-herry<br><br>
</div>
</div><br>