}
else if (resolve instanceof PostgisGeoResource2 ){
PostgisGeoResource2 layer = (PostgisGeoResource2) resolve;
PostgisService2 postgis;
try {
postgis = (PostgisService2) layer.parent( null );
return postgis.getConnectionParams();
} catch (IOException e) {
toCapabilitiesURL( layer.getIdentifier() );
}
}