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...)

var gmlString = "... some GML!!! ...";
var wkt = new OpenLayers.Format.WKT();
var wfs = new OpenLayers.Format.GML();
var features = wfs.read(gmlString);
for(var i = 0; i < features.length; i++) {
var wktString = wkt.write(features[i]);

}





________________________________
From: Nelson Soto <ns...@plotplans.com>
To: mapserver-users@lists.osgeo.org
Sent: Wednesday, January 28, 2009 1:56:59 PM
Subject: [mapserver-users] GMLtoWKT


Is anyone aware of how to convert coordinates from a WFS’s
GML to WKT acceptable coordinates? This is driving me crazy.


      
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to