Skip to main content
Question

Compare two shp


Hi,

 

i have two shape files, and I need to compare them - geometry and attributes. I tried change detector but not getting right results .. a lot of them are missing, i know because when i overlap them in arcgis i get different result..have any idea?

4 replies

david_r
Evangelist
  • March 24, 2014
Hi,

 

 

can you give a specific example of what isn't working?

 

 

You might also want to look at the Matcher to see if it fits your use case.

 

 

David

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • March 24, 2014
Hi Nika,

 

 

If u combine all outputports form changedetector:

 

 

unchanged + revised = revised inputport.

 

unchanged + deleted = original inputport

 

 

How can there be objects getting lost?

 

 

Gio

  • Author
  • March 24, 2014
sorry, objects are not lost literally, but when overlapping the same classes in ArcGIS by the geometry and attributes,i get a less changes then in FME with Change detector. For example, in ArcGIS i get 106 changes features, and in FME 144.

 

 

I tried in change detector add extra vertices tolerance 1, and result as it approaches the ArcGIS

 

(125). Then I add anchor snapper with tolerace 0,01, vertex snapping, and results is 124.

 

I tried and matcher but does not give me good results.

 

have more any idea?

 

 


david_r
Evangelist
  • March 24, 2014
Hi,

 

 

you're on the right track regarding the tolerance and snapping. The thing is, FME is working with "infinite" resolution where as ArcGIS works on a snapping grid based on tolerances.

 

 

To emulate this in FME, try sending your data through the ArcSDEGridSnapper before the ChangeDetector. Use the same properties as for you input feature classes.

 

 

David

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings