DigitizedSkySurvey instead.@Deprecated public class DigitizedSkySurveyImage extends PropertyContainer
KEY_SERVER, the CGI-path
KEY_CGIPATH and all the id's for the necessary fields might be
extra work, but future development may provide different servers. Note that
the user can specify the name of the method that actually transfers a
request to the server with the KEY_URLMETHOD key. Actually, it
points to getUrlForStsci(java.lang.Double, java.lang.Double, java.lang.Double, java.lang.Double). Additional implementation should
adopt a similar naming scheme, i.e. starting with getUrlFor
extended with the institute name providing the service. This method must
always return an URL and must be declared in this class.
New locations
| Modifier and Type | Class and Description |
|---|---|
static class |
DigitizedSkySurveyImage.Display
Deprecated.
Test the image retrieval.
|
| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFCGIPATH
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFIDDEC
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFIDEPOCH
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFIDFORMAT
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFIDHEIGHT
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFIDRA
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFIDSOURCE
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFIDWIDTH
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFPROTOCOL
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFSERVER
Deprecated.
Default print writer to use for the syslog.
|
private static String |
DEFURLMETHOD
Deprecated.
Default print writer to use for the syslog.
|
private static Toolkit |
imageload
Deprecated.
The ttolkit for downloading URL's to images.
|
static String |
KEY_CGIPATH
Deprecated.
The cgi-path after the server name.
|
static String |
KEY_IDDEC
Deprecated.
The string used to identify the declination of the image.
|
static String |
KEY_IDEPOCH
Deprecated.
The string used to identify the epoch of the position.
|
static String |
KEY_IDFORMAT
Deprecated.
The string used to identify the image format.
|
static String |
KEY_IDHEIGHT
Deprecated.
The string used to identify the height of the image.
|
static String |
KEY_IDRA
Deprecated.
The string used to identify the right ascension of the image.
|
static String |
KEY_IDSOURCE
Deprecated.
The string used to identify the plate source.
|
static String |
KEY_IDWIDTH
Deprecated.
The string used to identify the width of the image.
|
static String |
KEY_PROTOCOL
Deprecated.
The protocol type for downloading.
|
static String |
KEY_SERVER
Deprecated.
The server name hosting the digitized sky survey archive.
|
static String |
KEY_URLMETHOD
Deprecated.
This method is called to retrieve an URL for image download.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
DigitizedSkySurveyImage(Map<String,String> prop)
Deprecated.
Constructs a new dss-image retrieval object.
|
| Modifier and Type | Method and Description |
|---|---|
private URL |
getDownloadUrl(double ra,
double dec,
double width,
double height)
Deprecated.
Returns the URL from which the image can be retrieved.
|
Image |
getImage(double ra,
double dec,
double width,
double height)
Deprecated.
Takes the center of an image, its width and height and retrieves it
from a dss server.
|
Image |
getImageAndWait(Component forme,
double ra,
double dec,
double width,
double height)
Deprecated.
Takes the center of an image, its width and height and retrieves it
from a dss server.
|
private static String |
getMinSec(double degree)
Deprecated.
Converts the fractional part of the argument into minutes and seconds.
|
URL |
getUrlForStsci(Double ra,
Double dec,
Double width,
Double height)
Deprecated.
This method prepares an url according to the CGI-requirements of the
STScI dss-server.
|
augment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static final String KEY_PROTOCOL
public static final String KEY_SERVER
public static final String KEY_CGIPATH
public static final String KEY_IDSOURCE
public static final String KEY_IDRA
public static final String KEY_IDDEC
public static final String KEY_IDEPOCH
public static final String KEY_IDHEIGHT
public static final String KEY_IDWIDTH
public static final String KEY_IDFORMAT
public static final String KEY_URLMETHOD
private static final String DEFPROTOCOL
private static final String DEFSERVER
private static final String DEFCGIPATH
private static final String DEFIDSOURCE
private static final String DEFIDRA
private static final String DEFIDDEC
private static final String DEFIDEPOCH
private static final String DEFIDHEIGHT
private static final String DEFIDWIDTH
private static final String DEFIDFORMAT
private static final String DEFURLMETHOD
private static final Toolkit imageload
public DigitizedSkySurveyImage(Map<String,String> prop)
getImage(double, double, double, double) method.public Image getImage(double ra, double dec, double width, double height)
getImageAndWait(java.awt.Component, double, double, double, double).ra - Right ascension of the center of the image in degrees.dec - Declination of the center of the image in degrees.width - Width of the image in degrees.height - Height of the image in degrees.public Image getImageAndWait(Component forme, double ra, double dec, double width, double height)
getImage(double, double, double, double).forme - The component that wants to display the image.ra - Right ascension of the center of the image in degrees.dec - Declination of the center of the image in degrees.width - Width of the image in degrees.height - Height of the image in degrees.private URL getDownloadUrl(double ra, double dec, double width, double height)
KEY_URLMETHOD property to fork into the appropriate
method.ra - Right ascension of the center of the image in degrees.dec - Declination of the center of the image in degrees.width - Width of the image in degrees.height - Height of the image in degrees.private static final String getMinSec(double degree)
public URL getUrlForStsci(Double ra, Double dec, Double width, Double height)
KEY_IDSOURCE of
the image, r is right ascension in hours, minutes and seconds,
d the declination in degrees, minutes and seconds separated
with '+' that replace ' '. Height and width are in arcminutes.
Retrieval format is always 'gif' to allow JAVA to convert the bytes
into an image. No compression, field-of-view, or rotation angle is
allowed.
The image requested has integer width and height (arcmin).