Hi Marion,
Re MatchingFactory...
1) I'm sure you also noticed that matching factory stores all features in memory, so when you have a "very huge" dataset it will have a very huge effect on performance.
2) You could probably make sure the number of coords are the same using EXTRA_VERTEX_TOLERANCE = 0
 
 
The CRCCalculator could be used to find matching features - all features with the same CRC value will have the same geometry (number of vertices and x/y coords) - of course this doesn't really work with the 0.3m tolerance, but it would be a much less memory intensive method. A CoordinateRounder to 3dp would help the process.
 
 
Overall I think you'll need to use a combination of factories - eg Snapping then Matching - and maybe use the CRCCalculator as a presort to find exact matches beforehand and reduce the number of features you send into the MatchingFactory.
 
Just some thoughts - I hope they help
 
Mark

Mark Ireland, Product Support Engineer
Safe Software Inc. Surrey, BC, CANADA
[EMAIL PROTECTED] http://www.safe.com
Solutions for Spatial Data Translation, Distribution and Access

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Marion Schneider
Sent: July 11, 2005 1:39 AM
To: FME egroup
Subject: [fme] MatchingFactory

Hi group!
 
Is there a possibility to detect identical lines? Identical means: same number of vertices AND xy-coordinate of each point of the line must not differ more than 0.03 m!!
Of course there is MatchingFactory, but reading the manual:
 
 
MATCHINGFACTORY

INTERIOR_VERTEX_TOLERANCE<tolerance>

Note that the start and end points of features must be identical for a match to be declared.

1. Also start and end points are allowed to differ with 0.03 m???
2. Same number of vertices (@NumCoords and MATCH_ATTRIBUTES)??
3. Performance - we have a very huge dataset!
 
Many thanks for all hints,
Marion
 
 
Liebe Grüße,
Marion Kinberg
(vormals Schneider)
 
++++++++++++++++++++++++++++++++++++++++
..................... axmann geoinformation ...................
........................... www.axmann.at ........................
tel +43-2282-5000 ......... [EMAIL PROTECTED]
fax +43-2282-5001 ..................... [EMAIL PROTECTED]
A2230 Gaenserndorf (Austria) ........ Kudlichgasse 11
++++++++++++++++++++++++++++++++++++++++


Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team.  Visit www.safe.com/services for details.



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




Reply via email to