Package uk.ac.starlink.vo

Examples of uk.ac.starlink.vo.DalQuery.execute()


            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);
View Full Code Here


                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
Copyright © 2018 www.massapi.com. 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.