<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
This is a method I use for buffering an object, and reading the
resulting wkt:<br>
<br>
<tt>public static string Buffer(string inputWKT, double bufferSize)<br>
{<br>
MgWktReaderWriter wktReaderWriter = new MgWktReaderWriter();<br>
MgGeometry geom = wktReaderWriter.Read(</tt><tt>inputWKT</tt><tt>);<br>
<br>
geom = geom.Buffer(bufferSize, null);<br>
return wktReaderWriter.Write(geom);<br>
}</tt><br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
jamesdudden skrev:
<blockquote cite="mid:20915805.post@talk.nabble.com" type="cite">
<pre wrap="">
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
</blockquote>
<pre wrap=""><!---->
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
<a class="moz-txt-link-freetext" href="http://www.software-matters.co.uk">http://www.software-matters.co.uk</a> Software Matters
</pre>
</blockquote>
</body>
</html>