avoid reprojection and add spatial indexes
Merge pull request #1 from springmeyer/master

Improve performance