Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

What would be a good metric to compare the length of two polylines?

A very naive approach would be to define a maximum delta which the two lines can differ.

I'm looking for more approaches. For example one that might also take a function over the length of the polyline as a parameter. Does anybody has algorithms/functions to share and has even evaluated parameters that work quite good?

share|improve this question
2  
Why do you need it for? For conflation (according to the keywords)? In that case, are you sure you want to compare the 'polyline length' and not simply the polylines? –  julien Mar 10 '11 at 15:11
    
@jul I'm reading up on GIS and conflation methods specifically and I am "collecting" metrics that can be used. While the Hausdorff distance is certainly a very good metric, I am also interested in more basic metrics. –  oschrenk Mar 10 '11 at 16:06
add comment

2 Answers

Hausdorf distance has many fans. It gives very satisfying outcomes for line matching.

share|improve this answer
    
My question is not about the distance of two lines (Hausdorff, Frechét) but only about comparing the length. –  oschrenk Mar 10 '11 at 16:01
add comment

When comparing line length fractal dimension can/should be considered. (more info: http://www.geog.ubc.ca/courses/klink/gis.notes/ncgia/u47.html#OUT47.2.1)

share|improve this answer
    
+1 (and now, your reputation is above 6000!) –  julien Mar 11 '11 at 12:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.