PostGIS 2.x compatible, fixes #113
Merge pull request #118 from tompesman/issue/113

PostGIS 2.x compatible, fixes #113