ポイントにおける検索 - SOAP
ポリゴンのテーブルに対する次の SOAP の Search at Point リクエストは、ポイント -75, 42 でポリゴンに含まれるポイントのリストを返します。
<?xml version="1.0"?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.mapinfo.com/midev/service/feature/v1" xmlns:ns2="http://www.mapinfo.com/midev/service/geometries/v1" xmlns:ns3="http://www.mapinfo.com/midev/service/table/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<S:Header/>
<S:Body>
<ns1:SearchAtPointRequest>
<ns3:Table xsi:type="ns3:NamedTable" name="/Samples/NamedTables/USA"/>
<ns2:Point srsName="EPSG:4326">
<ns2:Pos>
<ns2:X>-75</ns2:X>
<ns2:Y>42</ns2:Y>
</ns2:Pos>
</ns2:Point>
</ns1:SearchAtPointRequest>
</S:Body>
</S:Envelope>
SOAP レスポンスを表示するには、Feature Service SOAP デモ ページ (http://<server>:<port>/Spatial/MappingService/DemoPage.html
) に移動し、Search at Point リクエストを発行します。