added geometry support for postgis