Have to add testing for postgis.