thanks Hansl. You provided a method in intersting way, i will try it. However, I found that the normal donut can throught the spatialfilter or spatialrelator, then the very complex features you said can not be.
--- In [email protected], Hans van der Maarel <[EMAIL PROTECTED]> wrote: > > xuhengxx wrote: > > when i used spatialrelator transform in workbench, i set donut feature > > as candidate feature, then i got the message below: > > (SpatialRelationshipFactory): Intersection matrix match of predefined > > type 4 with geometry dimensions 2 and 2 could not be computed. Dose > > the spatialfilter or spatialrelator manipulate the feature in donut > > type? If it is not, which way i can choice? > > I've had that as well. I'm not sure whether it's due to the fact that > they're donuts or just very complex features. If you can get away with > it, you may want to use an OGCGeometryExtractor to save the original > geometry, then a BoundingBoxReplacer to turn it into a box. Run that > through the SpatialRelator and use an OGCGeometryReplacer afterwards to > get the original geometry back. > > Alternatively, you can try the DonutKiller I posted last week: > http://www.redgeographics.com/ext_link.php?filename=donutkiller.html > > Hope this helps. > -- > Hans van der Maarel > Red Geographics > www.redgeographics.com / [EMAIL PROTECTED] > Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
