[mapserver-users] GMLtoWKT
Dan Little
danlittle at yahoo.com
Wed Jan 28 12:26:01 PST 2009
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 <NSoto at plotplans.com>
To: mapserver-users at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090128/a63fc910/attachment.htm>
More information about the MapServer-users
mailing list