root/tools/routingservice/branches/wrs-2.0/data/templates/geocode/geocode_xls.st

Revision 322, 0.8 KB (checked in by anton, 19 months ago)

XLS geocode template fixed

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$parameters:{ p |                       
8        <xls:ResponseHeader sessionID=""/>
9        <xls:Response version="1.2" requestID="$p.request_id$" numberOfResponses="1">
10                <xls:GeocodeResponse>
11                        <xls:GeocodeResponseList numberOfGeocodedAddresses="1">
12                                <xls:GeocodedAddress>
13                                        <gml:Point srsName="EPSG:4236">
14                                                $p.point$
15                                        </gml:Point>
16
17                                        <xls:Address countryCode="JA">         
18                                                <xls:freeFormAddress>$p.address$</xls:freeFormAddress>
19                                        </xls:Address> 
20                                        <xls:GeocodeMatchCode accuracy="$p.precision$" matchType="$p.match_type$"/>
21                                </xls:GeocodedAddress>
22                        </xls:GeocodeResponseList>
23                </xls:GeocodeResponse>
24        </xls:Response>
25}$     
26</xls:XLS>
27
Note: See TracBrowser for help on using the browser.