]> git.openstreetmap.org Git - rails.git/blob - test/http/geocoder_ca.yml
Merge remote-tracking branch 'openstreetmap/pull/954'
[rails.git] / test / http / geocoder_ca.yml
1 /?geoit=XML&postal=A1B+2C3: |
2   <?xml version="1.0" encoding="UTF-8"?>
3   <geodata>
4     <latt>47.172520</latt>
5     <longt>-55.440515</longt>
6     <postal>A1B2C3</postal>
7     <standard>
8       <stnumber>1</stnumber>
9       <staddress/>
10       <city>ST. JOHN&amp;'S</city>
11       <prov>NL</prov>
12       <confidence>0.9</confidence>
13     </standard>
14   </geodata>
15
16 /?geoit=XML&postal=k1a+0b1: |
17   <?xml version="1.0" encoding="UTF-8"?>
18   <geodata>
19     <latt>45.375437</latt>
20     <longt>-75.691041</longt>
21     <postal>K1A0B1</postal>
22     <standard>
23       <stnumber>1</stnumber>
24       <staddress/>
25       <city>OTTAWA</city>
26       <prov>ON</prov>
27       <confidence>0.9</confidence>
28     </standard>
29   </geodata>
30
31 /?geoit=XML&postal=Q0Q+0Q0: |
32   <?xml version="1.0" encoding="UTF-8"?>
33   <geodata>
34     <error>
35       <code>008</code>
36       <description>Your request did not produce any results. Check your spelling and try again.</description>
37     </error>
38     <latt/>
39     <longt>-</longt>
40     <postal>Q0Q0Q0</postal>
41     <standard>
42       <stnumber>1</stnumber>
43       <staddress/>
44       <city/>
45       <prov/>
46       <confidence>0.9</confidence>
47     </standard>
48   </geodata>