Support for PostGIS

Added support for PostGIS.