This is a method I use for buffering an object, and reading the
resulting wkt:
public static string Buffer(string inputWKT, double bufferSize)
{
MgWktReaderWriter wktReaderWriter = new MgWktReaderWriter();
MgGeometry geom = wktReaderWriter.Read(inputWKT);
geom = geom.Buffer(bufferSize, null);
return wktReaderWriter.Write(geom);
}
Regards, Kenneth Skovhede, GEOGRAF A/S
jamesdudden skrev:
Kenneth Skovhede, GEOGRAF A/S wrote:
2) You can use the SetSpatialFilter method on the query object. An
alternative would be to
extract the WKT from the object and use the GEOMFROMTEXT method in the
query like:
Thanks Kenneth you have given me a few starting points to try.
Could you expand a little and explain how i would exract the WKT?
Regard
James
-----
Straightforward solutions to take care of your business
http://www.software-matters.co.uk Software Matters
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users