TerraService


Click here for a complete list of operations.

GetTheme

Test

The test form is only available for requests from the local machine.

SOAP

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

POST /TerraService.asmx HTTP/1.1
Host: terraserver.microsoft.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://terraserver-usa.com/terraserver/GetTheme"

<?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>
    <GetTheme xmlns="http://terraserver-usa.com/terraserver/">
      <theme>Photo or Topo or Relief</theme>
    </GetTheme>
  </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>
    <GetThemeResponse xmlns="http://terraserver-usa.com/terraserver/">
      <GetThemeResult>
        <Theme>Photo or Topo or Relief</Theme>
        <Name>string</Name>
        <Description>string</Description>
        <Supplier>string</Supplier>
        <LoScale>Scale1mm or Scale2mm or Scale4mm or Scale8mm or Scale16mm or Scale32mm or Scale63mm or Scale125mm or Scale250mm or Scale500mm or Scale1m or Scale2m or Scale4m or Scale8m or Scale16m or Scale32m or Scale64m or Scale128m or Scale256m or Scale512m or Scale1km or Scale2km or Scale4km or Scale8km or Scale16km</LoScale>
        <HiScale>Scale1mm or Scale2mm or Scale4mm or Scale8mm or Scale16mm or Scale32mm or Scale63mm or Scale125mm or Scale250mm or Scale500mm or Scale1m or Scale2m or Scale4m or Scale8m or Scale16m or Scale32m or Scale64m or Scale128m or Scale256m or Scale512m or Scale1km or Scale2km or Scale4km or Scale8km or Scale16km</HiScale>
        <ProjectionId>Geographic or UtmNad27 or UtmNad83</ProjectionId>
        <ProjectionName>string</ProjectionName>
        <CopyrightNotice>string</CopyrightNotice>
      </GetThemeResult>
    </GetThemeResponse>
  </soap:Body>
</soap:Envelope>