<!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">
Ok, I'll try that.<br>
<br>
I found some code you suggested some time ago, for testing intersection
using FDO:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; int fgfLen = "the length of the feature geometry array in bytes";<br>
&nbsp;&nbsp;&nbsp;&nbsp; const FdoByte* fgf = "the feature geometry, converted to FGF";<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; FdoPtr&lt;FdoExpression&gt; exprRight = filter.GetGeometry();<br>
&nbsp;&nbsp;&nbsp;&nbsp; FdoGeometryValue* gvRight = (FdoGeometryValue*)(exprRight.p);<br>
&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp; FdoPtr&lt;FdoByteArray&gt; baRight = gvRight-&gt;GetGeometry();<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; FdoPtr&lt;FdoFgfGeometryFactory&gt; gf =
FdoFgfGeometryFactory::GetInstance();<br>
&nbsp;&nbsp;&nbsp;&nbsp; FdoPtr&lt;FdoIGeometry&gt; geomRight =
gf-&gt;CreateGeometryFromFgf(baRight);<br>
&nbsp;&nbsp;&nbsp;&nbsp; FdoPtr&lt;FdoIGeometry&gt; geomLeft =
gf-&gt;CreateGeometryFromFgf(fgf, fgfLen);<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; //call on the geometry utility to evaluate the spatial operation<br>
&nbsp;&nbsp;&nbsp;&nbsp; bool ret = FdoSpatialUtility::Evaluate(geomLeft,
filter.GetOperation(), geomRight);<br>
<br>
Does that still look plausible? <br>
If so, I'll try to patch the provider once I get a VS 2005 machine up.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Traian Stanev skrev:
<blockquote
 cite="mid:D20FC5C02CA4AB41891CFE76D91C57A9254AC14999@ADSK-NAMSG-02.MGDADSK.autodesk.com"
 type="cite">
  <pre wrap="">It's not the provider, it's the GDAL dll. You can drop in a GDAL dll that is compiled with GEOS and it should then work. Another alternative is to make it use the FdoSpatialUtility implementation of Intersects, which presumably is always available when FDO is there.

Traian



  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a> [<a class="moz-txt-link-freetext" href="mailto:fdo-internals">mailto:fdo-internals</a>-
<a class="moz-txt-link-abbreviated" href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On Behalf Of Kenneth Skovhede, GEOGRAF A/S
Sent: Monday, May 12, 2008 6:21 AM
To: FDO Internals Mail List
Subject: [fdo-internals] OGR provider and intersection

I have used the 3.3.1 release of the SDK (from April).
It seems the OGR provider is back to using Envelope intersection tests,
when "INTERSECTS" is used.
Is the provider compiled without GEOS support?
If so, are there plans to change the build procedure to include GEOS
support?

--
Regards, Kenneth Skovhede, GEOGRAF A/S


_______________________________________________
fdo-internals mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/fdo-internals">http://lists.osgeo.org/mailman/listinfo/fdo-internals</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
fdo-internals mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/fdo-internals">http://lists.osgeo.org/mailman/listinfo/fdo-internals</a>
  </pre>
</blockquote>
</body>
</html>