kartograph/kartograph.py — pull request #78 by torvalde (2013-02-15 14:19:42+00:00)
Title: Various fixes mainly relating to cropping

I made some changes in karthograph to make it work for my project, some of these are obvious, and some are a bit more risky, needs to be reviewed before integrating:
¨
map.py:
Padding is under opts['bounds']['data'] and not opts['bounds']
geometry/utils.py:
Removed always True from the min_area test
geometry/feature/Feature.py:
Make sure also the geometry you compare with is valid, and ignore errors
renderer/svg.py:
ignore some errors