Package uk.ac.starlink.vo

Examples of uk.ac.starlink.vo.DalQuery


            StarTableFactory factory = new StarTableFactory();
            StarTable starTable = null;
            if (RegCapabilityInterface.SIA_STDID.equals(_standardId)) {
                _progressPanel.setText("Performing SIAP query: " + _url);
                // convert raSize and decSize to degrees for query
                DalQuery sq = new DalQuery(_url.toString(), ra, dec, radius / 60.);
                starTable = sq.execute(factory);
            } else if (RegCapabilityInterface.CONE_STDID.equals(_standardId)) {
                _progressPanel.setText("Performing cone search: " + _url);
                ConeSearch cs = new ConeSearch(_url.toString());
                // convert radius to degrees for query
                starTable = cs.performSearch(ra, dec, radius / 60., 0, factory);
            } else if (RegCapabilityInterface.SSA_STDID.equals(_standardId)) {
                _progressPanel.setText("Performing SSA query: " + _url);
                DalQuery sq = new DalQuery(_url.toString(), ra, dec, radius / 60.);
                sq.addArgument("REQUEST", "queryData");
                starTable = sq.execute(factory);
            }

            if (_progressPanel.isInterrupted()) {
                throw new ProgressException("Interrupted");
            }
View Full Code Here

TOP

Related Classes of uk.ac.starlink.vo.DalQuery

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.