Package org.locationtech.udig.catalog

Examples of org.locationtech.udig.catalog.PostgisGeoResource2


                else if (resolve instanceof PostgisSchemaFolder) {
                    PostgisSchemaFolder postgisFolder = (PostgisSchemaFolder) resolve;
                    return postgisFolder.getService(new NullProgressMonitor()).getConnectionParams();
                }
                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() );
                    }                   
                }
            }
            return createParams( url );           
        }       
View Full Code Here

TOP

Related Classes of org.locationtech.udig.catalog.PostgisGeoResource2

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.