fixed bad SQL String type, moved code to determine srsId -> usable in table creation, fixed wrongly named err variable
Merge pull request #1 from erikdeweerdt/bugfixes

Fixed typing and srsId bugs