padding is under opts['bounds']['data'] and not opts['bounds']
Removed always True from the min_area test
Make sure also the geometry you compare with is valid, and ignore errors
ignore some errors
Merge pull request #78 from torvalde/master

Various fixes mainly relating to cropping