Package org.geotools.arcsde

Examples of org.geotools.arcsde.ArcSDEDataStoreFactory


    protected boolean installed() {
        return isInstalled();
    }

    public static boolean isInstalled() {
        ArcSDEDataStoreFactory factory = new ArcSDEDataStoreFactory();
        return factory.isAvailable();
    }
View Full Code Here


            List<StoreInfo> stores = catalog.getStores(StoreInfo.class);
            stores = new ArrayList<StoreInfo>(stores);

            {
                final String arcsdeCoverageType = ArcSDERasterFormat.getInstance().getName();
                final String arcsdeVectorType = new ArcSDEDataStoreFactory().getDisplayName();

                StoreInfo store;
                String type;
                for (Iterator<StoreInfo> it = stores.iterator(); it.hasNext();) {
                    store = it.next();
View Full Code Here

public class ArcServiceExtension extends AbstractDataStoreServiceExtension
        implements
            ServiceExtension {

    public IService createService( URL id, Map<String, Serializable> params ) {
        final ArcSDEDataStoreFactory factory = getFactory();

        if (params != null && params.containsKey(PORT_PARAM.key)
                && params.get(PORT_PARAM.key) instanceof String) {
            String val = (String) params.get(PORT_PARAM.key);
            params.put(PORT_PARAM.key, Integer.valueOf(val));
        }

        if (!factory.canProcess(params))
            return null;
        if (id == null) {
            String host = (String) params.get(SERVER_PARAM.key);
            String port = params.get(PORT_PARAM.key).toString();
            String db = (String) params.get(INSTANCE_PARAM.key);
View Full Code Here

     *
     * @return factory describing ArcSDE connection parameters
     */
    protected static ArcSDEDataStoreFactory getFactory() {
        if (factory == null) {
            factory = new ArcSDEDataStoreFactory();
        }
        return factory;
    }
View Full Code Here

    params.put(ArcSDEDataStoreFactory.SERVER_PARAM.key, server);
    params.put(ArcSDEDataStoreFactory.PORT_PARAM.key, port);
    params.put(ArcSDEDataStoreFactory.INSTANCE_PARAM.key, instance);
    params.put(ArcSDEDataStoreFactory.USER_PARAM.key, user);
    params.put(ArcSDEDataStoreFactory.PASSWORD_PARAM.key, passwd);
    ArcSDEDataStoreFactory dsFactory = new ArcSDEDataStoreFactory();
    DataStore ds = dsFactory.createDataStore(params);
    return ds;
  }
View Full Code Here

        } finally {
            session.dispose();
        }

        Map<String, Serializable> params = new HashMap<String, Serializable>(testData.getConProps());
        ArcSDEDataStoreFactory factory = new ArcSDEDataStoreFactory();
        defaultVersionDataStore = factory.createDataStore(params);

        params.put(ArcSDEDataStoreConfig.VERSION_PARAM_NAME, version1);
        version1DataStore = factory.createDataStore(params);

        params.put(ArcSDEDataStoreConfig.VERSION_PARAM_NAME, version2);
        version2DataStore = factory.createDataStore(params);
    }
View Full Code Here

            List<StoreInfo> stores = catalog.getStores(StoreInfo.class);
            stores = new ArrayList<StoreInfo>(stores);

            {
                final String arcsdeCoverageType = ArcSDERasterFormat.getInstance().getName();
                final String arcsdeVectorType = new ArcSDEDataStoreFactory().getDisplayName();

                StoreInfo store;
                String type;
                for (Iterator<StoreInfo> it = stores.iterator(); it.hasNext();) {
                    store = it.next();
View Full Code Here

            List<StoreInfo> stores = catalog.getStores(StoreInfo.class);
            stores = new ArrayList<StoreInfo>(stores);

            {
                final String arcsdeCoverageType = ArcSDERasterFormat.getInstance().getName();
                final String arcsdeVectorType = new ArcSDEDataStoreFactory().getDisplayName();

                StoreInfo store;
                String type;
                for (Iterator<StoreInfo> it = stores.iterator(); it.hasNext();) {
                    store = it.next();
View Full Code Here

TOP

Related Classes of org.geotools.arcsde.ArcSDEDataStoreFactory

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.