Fork of spatial_adapter to give postgis more love