geodiff could be made faster #40

Closed
oleg-alexandrov opened this Issue Oct 10, 2012 · 1 comment

Comments

Projects
None yet
3 participants
Owner

oleg-alexandrov commented Oct 10, 2012

Given two DEMs, A.tif and B.tif, the command

geodiff A.tif B.tif

can be hundreds of times slower than

geodiff B.tif A.tif

That happens if A.tif covers a huge area but B.tif a smaller one. I think geodiff could be more clever in first finding the intersection of the bounding boxes of the two images and finding the diff only in that area.

More seriously, geodiff A.tif B.tif returned an empty result (after all that work), while the reverse returned a good result. Perhaps it is because the grids were different.

I'll perhaps get to fixing this issue myself at some point, I put it here to make sure it is not forgotten.

@ghost ghost assigned zmoratto Oct 10, 2012

Contributor

ScottMcMichael commented Aug 25, 2015

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment