ImgCutout
This is an XML Web Service interface to fetch JPEG image cutouts from the SDSS image archive.
Send comments to Maria Nieto-Santisteban -- nieto@pha.jhu.edu
The following operations are supported. For a formal definition, please review the Service Description.
-
GetJpeg
Returns the bytes of the Jpeg image for a given pointing
Input 1: RA in degrees (double)
Input 2: Dec in degrees (double)
Input 3: Scale, in arcsec/pixel (double)
Input 4: Width in pixels (int)
Input 5: Height in pixels (int)
Input 6: Drawing options (string)
Output: Image (byte[]) -
GetJpegQuery
Returns the bytes of the Jpeg image for a given pointing.
Input 1: RA in degrees (double)
Input 2: Dec in degrees (double)
Input 3: Scale, in arcsec/pixel (double)
Input 4: Width in pixels (int)
Input 5: Height in pixels (int)
Input 6: Drawing options (string)
Input 7: Marking selection (string)
The marking selection string can be:- List of objects. RA and DEC columns must be included. Example:
ObjId RA DEC RMag 587731511532060697 18.87684 -0.860973 13.193 587731511532060708 18.879646 -0.858836 21.078 - SELECT SQL query. RA and DEC columns must be included. Example:
'SELECT top 10 p.objID, p.ra, p.dec, p.r
FROM fGetObjFromRect(18.865,18.890,-0.875,-0.845) n JOIN PhotoPrimary p
ON n.objID = p.objID' - String following the pattern: ObjType Band (low_mag, high_mag)
- ObjType: S | G | P
S for Stars
G for Galaxies
P for both Stars and Galaxies - Band: U | G | R | I | Z | A
to select objects with Band BETWEEN low_mag AND high_mag
Band 'A' will look for all the objects with values betwen low_mag and high_mag for any band (compositions of ORs).
Only Stars, Galaxies, or PhotoPrimary objects will be marked when magnitude ranges are not specified. Examples:
S
S R (0.0, 23.5)
G A (10, 25)
- ObjType: S | G | P
- List of objects. RA and DEC columns must be included. Example:
-
Revisions
Return CVS revision numbers