LandmarkService
Click here for a complete list of operations.
CountOfLandmarkShapesByRect
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 /LandmarkService.asmx HTTP/1.1
Host: terraserver-usa.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://terraserver-usa.com/LandmarkServer/CountOfLandmarkShapesByRect"
<?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>
<CountOfLandmarkShapesByRect xmlns="http://terraserver-usa.com/LandmarkServer/">
<rect>
<UpperLeft>
<Lon>double</Lon>
<Lat>double</Lat>
</UpperLeft>
<LowerRight>
<Lon>double</Lon>
<Lat>double</Lat>
</LowerRight>
</rect>
<types>
<string>string</string>
<string>string</string>
</types>
</CountOfLandmarkShapesByRect>
</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>
<CountOfLandmarkShapesByRectResponse xmlns="http://terraserver-usa.com/LandmarkServer/">
<CountOfLandmarkShapesByRectResult>int</CountOfLandmarkShapesByRectResult>
</CountOfLandmarkShapesByRectResponse>
</soap:Body>
</soap:Envelope>