root/tools/routingservice/trunk/templates/geocode/geocode_xls.st

Revision 280, 1.7 KB (checked in by daniel, 21 months ago)

OpenLS response example templates

Line 
1<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2<xls:XLS version="1.2"
3        xmlns:xls="http://www.opengis.net/xls"
4        xmlns:gml="http://www.opengis.net/gml"
5        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6                       
7        <xls:ResponseHeader sessionID=""/>
8        <xls:Response version="1.2" requestID="$request_id$" numberOfResponses="1">
9                <xls:GeocodeResponse>
10                        <xls:GeocodeResponseList numberOfGeocodedAddresses="1">
11                                <xls:GeocodedAddress>
12                                        <gml:Point srsName="EPSG:4236">
13                                                <gml:pos dimension="2">40.123 139.456</gml:pos>
14                                        </gml:Point>
15                                        <xls:Address countryCode="" addressee="">
16                                                <xls:StreetAddress>
17                                                        <xls:Building number=""
18                                                                                subdivision=""
19                                                                                buildingName=""/>
20                                                        <xls:Street typePrefix=""
21                                                                                typeSuffix=""
22                                                                                officialName=""
23                                                                                directionalPrefix=""
24                                                                                muniOctant="gml:CompassPointEnumeration"
25                                                                                />
26                                                </xls:StreetAddress>
27                                                <xls:Place type="CountrySubdivision">神奈川県</xls:Place>
28                                                <xls:Place type="CountrySecondarySubdivision"></xls:Place>
29                                                <xls:Place type="Municipality">暪浜垂</xls:Place>
30                                                <xls:Place type="MunicipalitySubdivision">䞭区</xls:Place>
31                                                <xls:Place type="choume-banchi-go">1−−</xls:Place>
32                                                <xls:PostalCode>245-0001</xls:PostalCode>
33                                        </xls:Address>
34                                        <xls:GeocodeMatchCode accuracy="0.0" matchType="go"/>
35                                        <!--
36                                                or
37                                        -->
38                                        <xls:Address countryCode="JA">         
39                                                <xls:freeFormAddress>神奈川県暪浜垂䞭区1䞁目</xls:freeFormAddress>
40                                        </xls:Address> 
41                                        <xls:GeocodeMatchCode accuracy="0.0" matchType="choume"/>
42                                </xls:GeocodedAddress>
43                        </xls:GeocodeResponseList>
44                </xls:GeocodeResponse>
45        </xls:Response>
46</xls:XLS>
47
Note: See TracBrowser for help on using the browser.