<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Depends on your environment... but if you can use javascript you could use OpenLayers... (this is off the top of my head... so excuse me if I screw something up...)</div><div><br></div><div>var gmlString = "... some GML!!! ...";</div><div>var wkt = new OpenLayers.Format.WKT();</div><div>var wfs = new OpenLayers.Format.GML();</div><div>var features = wfs.read(gmlString);</div><div>for(var i = 0; i &lt; features.length; i++) {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>var wktString = wkt.write(features[i]);<br></div><div>}</div><div><br></div><div><br></div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span
 style="font-weight: bold;">From:</span></b> Nelson Soto &lt;NSoto@plotplans.com><br><b><span style="font-weight: bold;">To:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 28, 2009 1:56:59 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [mapserver-users] GMLtoWKT<br></font><br>



 
 






<div class="Section1">

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">Is anyone aware of how to convert coordinates from a WFS¢s
GML to WKT acceptable coordinates? This is driving me crazy.</span></font></p> 

</div>




</div></div><div style="position:fixed"></div></div><br>

      </body></html>