SdssFields


Click here for a complete list of operations.

UrlOfFields

Return only the URLs of the (gzip'd) FITS images in the given photometric band.
Input 1: ra in degrees (double)
Input 2: dec in degrees (double)
Input 3: radius in arcmins (double)
Input 4: band name, any combination of 'u', 'g', 'r', 'i', 'z' (string)
Output: list of urls to fits files (string[])

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
ra:
dec:
radius:
band:

SOAP

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

POST /vo/dr2fields/sdssFields.asmx HTTP/1.1
Host: skyserver.sdss.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://skyservice.pha.jhu.edu/UrlOfFields"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UrlOfFields xmlns="http://skyservice.pha.jhu.edu/">
      <ra>double</ra>
      <dec>double</dec>
      <radius>double</radius>
      <band>string</band>
    </UrlOfFields>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UrlOfFieldsResponse xmlns="http://skyservice.pha.jhu.edu/">
      <UrlOfFieldsResult>
        <string>string</string>
        <string>string</string>
      </UrlOfFieldsResult>
    </UrlOfFieldsResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /vo/dr2fields/sdssFields.asmx/UrlOfFields?ra=string&dec=string&radius=string&band=string HTTP/1.1
Host: skyserver.sdss.org
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfString xmlns="http://skyservice.pha.jhu.edu/">
  <string>string</string>
  <string>string</string>
</ArrayOfString>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /vo/dr2fields/sdssFields.asmx/UrlOfFields HTTP/1.1
Host: skyserver.sdss.org
Content-Type: application/x-www-form-urlencoded
Content-Length: length

ra=string&dec=string&radius=string&band=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfString xmlns="http://skyservice.pha.jhu.edu/">
  <string>string</string>
  <string>string</string>
</ArrayOfString>