barometer 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1,76 @@
1
- <aws:weather xmlns:aws="http://www.aws.com/aws"><aws:api version="2.0" /><aws:WebURL>http://weather.weatherbug.com/CA/Beverly Hills-weather/local-forecast/7-day-forecast.html?ZCode=Z5546&amp;Units=1</aws:WebURL><aws:forecasts type="Detailed" date="Fri, 15 May 2009 8:26:00 GMT"><aws:location><aws:city>Beverly Hills</aws:city><aws:state>CA</aws:state><aws:zip>90210</aws:zip><aws:zone>CA041</aws:zone></aws:location><aws:forecast><aws:title alttitle="FRI">Friday</aws:title><aws:short-prediction>Partly Cloudy</aws:short-prediction><aws:image isNight="0" icon="cond003.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond003.gif</aws:image><aws:description>Friday</aws:description><aws:prediction>Areas of low clouds and fog in the morning then sunny. Highs in the upper 60s to mid 70s at the beaches to the lower 80s inland.</aws:prediction><aws:high units="&amp;deg;C">27</aws:high><aws:low units="&amp;deg;C">17</aws:low></aws:forecast><aws:forecast><aws:title alttitle="SAT">Saturday</aws:title><aws:short-prediction>Partly Cloudy</aws:short-prediction><aws:image isNight="0" icon="cond003.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond003.gif</aws:image><aws:description>Saturday</aws:description><aws:prediction>Areas of low clouds and fog in the morning then sunny. Highs in the lower to mid 70s at the beaches to the lower to mid 80s inland.</aws:prediction><aws:high units="&amp;deg;C">28</aws:high><aws:low units="&amp;deg;C">17</aws:low></aws:forecast><aws:forecast><aws:title alttitle="SUN">Sunday</aws:title><aws:short-prediction>Partly Cloudy</aws:short-prediction><aws:image isNight="0" icon="cond003.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond003.gif</aws:image><aws:description>Sunday</aws:description><aws:prediction>Areas of low clouds and fog in the morning then sunny. Highs in the lower to mid 70s at the beaches to the lower to mid 80s inland.</aws:prediction><aws:high units="&amp;deg;C">28</aws:high><aws:low units="&amp;deg;C">17</aws:low></aws:forecast><aws:forecast><aws:title alttitle="MON">Monday</aws:title><aws:short-prediction>Mostly Sunny</aws:short-prediction><aws:image isNight="0" icon="cond026.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond026.gif</aws:image><aws:description>Monday</aws:description><aws:prediction>Areas of low clouds and fog in the morning then mostly sunny. Highs around 70 at the beaches to around 80 inland.</aws:prediction><aws:high units="&amp;deg;C">26</aws:high><aws:low units="&amp;deg;C">16</aws:low></aws:forecast><aws:forecast><aws:title alttitle="TUE">Tuesday</aws:title><aws:short-prediction>Mostly Sunny</aws:short-prediction><aws:image isNight="0" icon="cond026.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond026.gif</aws:image><aws:description>Tuesday</aws:description><aws:prediction>Night through morning low clouds and fog...otherwise mostly clear. Lows around 60. Highs in the mid to upper 60s at the beaches to the 70s inland.</aws:prediction><aws:high units="&amp;deg;C">25</aws:high><aws:low units="&amp;deg;C">16</aws:low></aws:forecast><aws:forecast><aws:title alttitle="WED">Wednesday</aws:title><aws:short-prediction>Mostly Sunny</aws:short-prediction><aws:image isNight="0" icon="cond026.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond026.gif</aws:image><aws:description>Wednesday</aws:description><aws:prediction>Night through morning low clouds and fog...otherwise mostly clear. Lows around 60. Highs in the mid to upper 60s at the beaches to the 70s inland.</aws:prediction><aws:high units="&amp;deg;C">24</aws:high><aws:low units="&amp;deg;C">16</aws:low></aws:forecast><aws:forecast><aws:title alttitle="THU">Thursday</aws:title><aws:short-prediction>Mostly Sunny</aws:short-prediction><aws:image isNight="0" icon="cond026.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond026.gif</aws:image><aws:description>Thursday</aws:description><aws:prediction>Night through morning low clouds and fog...otherwise mostly clear. Lows around 60. Highs in the mid to upper 60s at the beaches to the 70s inland.</aws:prediction><aws:high units="&amp;deg;C">24</aws:high><aws:low units="&amp;deg;C">--</aws:low></aws:forecast></aws:forecasts></aws:weather>
1
+ <?xml version="1.0"?>
2
+ <aws:weather xmlns:aws="http://www.aws.com/aws">
3
+ <aws:api version="2.0"/>
4
+ <aws:WebURL>http://weather.weatherbug.com/CA/Beverly Hills-weather/local-forecast/7-day-forecast.html?ZCode=Z5546&amp;Units=1</aws:WebURL>
5
+ <aws:forecasts type="Detailed" date="6/2/2011 3:22:00 AM">
6
+ <aws:location>
7
+ <aws:city>Beverly Hills</aws:city>
8
+ <aws:state>CA</aws:state>
9
+ <aws:zip>90210</aws:zip>
10
+ <aws:zone>CA041</aws:zone>
11
+ </aws:location>
12
+ <aws:forecast>
13
+ <aws:title alttitle="THU">Thursday</aws:title>
14
+ <aws:short-prediction>Sunny</aws:short-prediction>
15
+ <aws:image isNight="0" icon="cond007.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond007.gif</aws:image>
16
+ <aws:description>Thursday</aws:description>
17
+ <aws:prediction>Sunny. Highs in the upper 60s to mid 70s. West winds 15 to 25 mph in the afternoon.</aws:prediction>
18
+ <aws:high units="&amp;deg;C">24</aws:high>
19
+ <aws:low units="&amp;deg;C">11</aws:low>
20
+ </aws:forecast>
21
+ <aws:forecast>
22
+ <aws:title alttitle="FRI">Friday</aws:title>
23
+ <aws:short-prediction>Sunny</aws:short-prediction>
24
+ <aws:image isNight="0" icon="cond007.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond007.gif</aws:image>
25
+ <aws:description>Friday</aws:description>
26
+ <aws:prediction>Sunny. Highs from around 70 at the beaches to around 80 inland. Southwest winds around 15 mph in the afternoon.</aws:prediction>
27
+ <aws:high units="&amp;deg;C">26</aws:high>
28
+ <aws:low units="&amp;deg;C">12</aws:low>
29
+ </aws:forecast>
30
+ <aws:forecast>
31
+ <aws:title alttitle="SAT">Saturday</aws:title>
32
+ <aws:short-prediction>Partly Cloudy</aws:short-prediction>
33
+ <aws:image isNight="0" icon="cond003.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond003.gif</aws:image>
34
+ <aws:description>Saturday</aws:description>
35
+ <aws:prediction>Partly cloudy in the morning then becoming mostly cloudy. Highs in the upper 60s to mid 70s.</aws:prediction>
36
+ <aws:high units="&amp;deg;C">24</aws:high>
37
+ <aws:low units="&amp;deg;C">12</aws:low>
38
+ </aws:forecast>
39
+ <aws:forecast>
40
+ <aws:title alttitle="SUN">Sunday</aws:title>
41
+ <aws:short-prediction>Mostly Cloudy</aws:short-prediction>
42
+ <aws:image isNight="0" icon="cond024.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond024.gif</aws:image>
43
+ <aws:description>Sunday</aws:description>
44
+ <aws:prediction>Mostly cloudy with a 20 percent chance of showers. Highs in the mid 60s to around 70.</aws:prediction>
45
+ <aws:high units="&amp;deg;C">23</aws:high>
46
+ <aws:low units="&amp;deg;C">12</aws:low>
47
+ </aws:forecast>
48
+ <aws:forecast>
49
+ <aws:title alttitle="MON">Monday</aws:title>
50
+ <aws:short-prediction>Partly Cloudy</aws:short-prediction>
51
+ <aws:image isNight="0" icon="cond003.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond003.gif</aws:image>
52
+ <aws:description>Monday</aws:description>
53
+ <aws:prediction>Partly cloudy in the morning then becoming mostly sunny. Highs in the mid 60s to lower 70s.</aws:prediction>
54
+ <aws:high units="&amp;deg;C">23</aws:high>
55
+ <aws:low units="&amp;deg;C">13</aws:low>
56
+ </aws:forecast>
57
+ <aws:forecast>
58
+ <aws:title alttitle="TUE">Tuesday</aws:title>
59
+ <aws:short-prediction>Mostly Sunny</aws:short-prediction>
60
+ <aws:image isNight="0" icon="cond026.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond026.gif</aws:image>
61
+ <aws:description>Tuesday</aws:description>
62
+ <aws:prediction>Mostly clear. Lows in the mid to upper 50s. Highs in the upper 60s to mid 70s.</aws:prediction>
63
+ <aws:high units="&amp;deg;C">24</aws:high>
64
+ <aws:low units="&amp;deg;C">13</aws:low>
65
+ </aws:forecast>
66
+ <aws:forecast>
67
+ <aws:title alttitle="WED">Wednesday</aws:title>
68
+ <aws:short-prediction>Mostly Sunny</aws:short-prediction>
69
+ <aws:image isNight="0" icon="cond026.gif">http://deskwx.weatherbug.com/images/Forecast/icons/cond026.gif</aws:image>
70
+ <aws:description>Wednesday</aws:description>
71
+ <aws:prediction>Night through morning low clouds and fog...otherwise mostly clear. Lows in the mid to upper 50s. Highs in the upper 60s to mid 70s.</aws:prediction>
72
+ <aws:high units="&amp;deg;C">24</aws:high>
73
+ <aws:low units="&amp;deg;C">--</aws:low>
74
+ </aws:forecast>
75
+ </aws:forecasts>
76
+ </aws:weather>
@@ -107,7 +107,7 @@ describe "Query::Coordinates" do
107
107
  query = Barometer::Query.new(@geocode)
108
108
  query.format.should == :geocode
109
109
  new_query = Barometer::Query::Format::Coordinates.to(query)
110
- new_query.q.should == "40.7143528,-74.0059731"
110
+ new_query.q.should == "40.7143528,-74.00597309999999"
111
111
  new_query.country_code.should == "US"
112
112
  new_query.format.should == :coordinates
113
113
  new_query.geo.should_not be_nil
@@ -69,7 +69,7 @@ describe "Query::Geocode" do
69
69
  query = Barometer::Query.new(@short_zipcode)
70
70
  query.format.should == :short_zipcode
71
71
  new_query = Barometer::Query::Format::Geocode.to(query)
72
- new_query.q.should == "Beverly Hills, CA, USA"
72
+ new_query.q.should == "Beverly Hills, CA, United States"
73
73
  new_query.country_code.should == "US"
74
74
  new_query.format.should == :geocode
75
75
  new_query.geo.should_not be_nil
@@ -80,7 +80,7 @@ describe "Query::Geocode" do
80
80
  query.format = :zipcode
81
81
  query.format.should == :zipcode
82
82
  new_query = Barometer::Query::Format::Geocode.to(query)
83
- new_query.q.should == "Beverly Hills, CA, USA"
83
+ new_query.q.should == "Beverly Hills, CA, United States"
84
84
  new_query.country_code.should == "US"
85
85
  new_query.format.should == :geocode
86
86
  new_query.geo.should_not be_nil
@@ -100,7 +100,7 @@ describe "Query::Geocode" do
100
100
  query = Barometer::Query.new(@coordinates)
101
101
  query.format.should == :coordinates
102
102
  new_query = Barometer::Query::Format::Geocode.to(query)
103
- new_query.q.should == "Manhattan, NY, USA"
103
+ new_query.q.should == "Manhattan, NY, United States"
104
104
  new_query.country_code.should == "US"
105
105
  new_query.format.should == :geocode
106
106
  new_query.geo.should_not be_nil
@@ -110,7 +110,7 @@ describe "Query::Geocode" do
110
110
  query = Barometer::Query.new(@icao)
111
111
  query.format.should == :icao
112
112
  new_query = Barometer::Query::Format::Geocode.to(query)
113
- new_query.q.should == "San Francisco, CA, USA"
113
+ new_query.q.should == "San Francisco, CA, United States"
114
114
  new_query.country_code.should == "US"
115
115
  new_query.format.should == :geocode
116
116
  new_query.geo.should_not be_nil
@@ -154,7 +154,7 @@ describe "Query::Geocode" do
154
154
  query = Barometer::Query.new(@short_zipcode)
155
155
  query.format.should == :short_zipcode
156
156
  new_query = Barometer::Query::Format::Geocode.geocode(query)
157
- new_query.q.should == "Beverly Hills, CA, USA"
157
+ new_query.q.should == "Beverly Hills, CA, United States"
158
158
  new_query.country_code.should == "US"
159
159
  new_query.format.should == :geocode
160
160
  new_query.geo.should_not be_nil
data/spec/query_spec.rb CHANGED
@@ -14,15 +14,15 @@ describe "Query" do
14
14
 
15
15
  # actual conversions
16
16
  @zipcode_to_coordinates = "34.1030032,-118.4104684"
17
- @zipcode_to_geocode = "Beverly Hills, CA, USA"
17
+ @zipcode_to_geocode = "Beverly Hills, CA, United States"
18
18
  @zipcode_to_weather_id = "USCA0090"
19
19
  @postalcode_to_coordinates = "53.570516,-113.45784"
20
- @geocode_to_coordinates = "40.7143528,-74.0059731"
20
+ @geocode_to_coordinates = "40.7143528,-74.00597309999999"
21
21
  @geocode_to_weather_id = "USNY0996"
22
- @coordinates_to_geocode = "Manhattan, NY, USA"
22
+ @coordinates_to_geocode = "Manhattan, NY, United States"
23
23
  @coordinates_to_weather_id = "USNY0996"
24
24
  @icao_to_coordinates = "37.615223,-122.389979"
25
- @icao_to_geocode = "San Francisco, CA, USA"
25
+ @icao_to_geocode = "San Francisco, CA, United States"
26
26
  @icao_to_weather_id = "USCA0987"
27
27
  end
28
28
 
@@ -182,29 +182,29 @@ describe "WeatherBug" do
182
182
  result = WeatherService::WeatherBug._measure(@measurement, @query)
183
183
 
184
184
  # build current
185
- @measurement.current.humidity.to_i.should == 62
186
- @measurement.current.condition.should == "Hazy"
187
- @measurement.current.icon.should == "23"
188
- @measurement.current.temperature.to_i.should == 22
189
- @measurement.current.dew_point.to_i.should == 14
190
- @measurement.current.wind_chill.to_i.should == 22
191
- @measurement.current.wind.to_i.should == 11
185
+ @measurement.current.humidity.to_i.should == 79
186
+ @measurement.current.condition.should == "Sunny"
187
+ @measurement.current.icon.should == "7"
188
+ @measurement.current.temperature.to_i.should == 13
189
+ @measurement.current.dew_point.to_i.should == 10
190
+ @measurement.current.wind_chill.to_i.should == 14
191
+ @measurement.current.wind.to_i.should == 0
192
192
  @measurement.current.wind.direction.should == "SE"
193
- @measurement.current.pressure.to_f.should == 1011.31
193
+ @measurement.current.pressure.to_f.should == 1017.61
194
194
 
195
195
  # build sun
196
- @measurement.current.sun.rise.to_s.should == "05:52 am"
197
- @measurement.current.sun.set.to_s.should == "07:48 pm"
196
+ @measurement.current.sun.rise.to_s.should == "05:42 am"
197
+ @measurement.current.sun.set.to_s.should == "08:00 pm"
198
198
 
199
199
  # build station
200
- @measurement.station.id.should == "LSNGH"
201
- @measurement.station.name.should == "Milken Community HS"
200
+ @measurement.station.id.should == "LSNGN"
201
+ @measurement.station.name.should == "Alexander Hamilton Senior HS"
202
202
  @measurement.station.city.should == "Los Angeles"
203
203
  @measurement.station.state_code.should == "CA"
204
204
  @measurement.station.country.should == "USA"
205
- @measurement.station.zip_code.should == "90049"
206
- @measurement.station.latitude.to_f.should == 34.1258316040039
207
- @measurement.station.longitude.to_f.should == -118.478332519531
205
+ @measurement.station.zip_code.should == "90034"
206
+ @measurement.station.latitude.to_f.should == 34.0336112976074
207
+ @measurement.station.longitude.to_f.should == -118.389999389648
208
208
 
209
209
  # builds location
210
210
  @measurement.location.city.should == "Beverly Hills"
@@ -214,18 +214,18 @@ describe "WeatherBug" do
214
214
  # builds forecasts
215
215
  @measurement.forecast.size.should == 7
216
216
 
217
- @measurement.forecast[0].date.should == Date.parse("May 15 2009")
218
- @measurement.forecast[0].condition.should == "Partly Cloudy"
219
- @measurement.forecast[0].icon.should == "3"
220
- @measurement.forecast[0].high.to_i.should == 27
221
- @measurement.forecast[0].low.to_i.should == 17
217
+ @measurement.forecast[0].date.should == Date.parse("Jun 2 2011")
218
+ @measurement.forecast[0].condition.should == "Sunny"
219
+ @measurement.forecast[0].icon.should == "7"
220
+ @measurement.forecast[0].high.to_i.should == 24
221
+ @measurement.forecast[0].low.to_i.should == 11
222
222
 
223
- @measurement.forecast[0].sun.rise.to_s.should == "05:52 am"
224
- @measurement.forecast[0].sun.set.to_s.should == "07:48 pm"
223
+ @measurement.forecast[0].sun.rise.to_s.should == "05:42 am"
224
+ @measurement.forecast[0].sun.set.to_s.should == "08:00 pm"
225
225
 
226
226
  # builds local time
227
- @measurement.measured_at.to_s.should == "11:00 am"
228
- @measurement.current.current_at.to_s.should == "11:00 am"
227
+ @measurement.measured_at.to_s.should == "07:01 am"
228
+ @measurement.current.current_at.to_s.should == "07:01 am"
229
229
 
230
230
  # builds timezone
231
231
  @measurement.timezone.code.should == Data::Zone.new("PDT").code
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 2
9
- version: 0.7.2
8
+ - 3
9
+ version: 0.7.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mark G
@@ -183,13 +183,13 @@ files:
183
183
  - spec/fixtures/formats/weather_id/manhattan.xml
184
184
  - spec/fixtures/formats/weather_id/new_york.xml
185
185
  - spec/fixtures/formats/weather_id/the_hills.xml
186
- - spec/fixtures/geocode/40_73.json
187
- - spec/fixtures/geocode/90210.json
188
- - spec/fixtures/geocode/T5B4M9.json
189
- - spec/fixtures/geocode/atlanta.json
190
- - spec/fixtures/geocode/calgary_ab.json
191
- - spec/fixtures/geocode/ksfo.json
192
- - spec/fixtures/geocode/newyork_ny.json
186
+ - spec/fixtures/geocode/40_73_v3.json
187
+ - spec/fixtures/geocode/90210_v3.json
188
+ - spec/fixtures/geocode/T5B4M9_v3.json
189
+ - spec/fixtures/geocode/atlanta_v3.json
190
+ - spec/fixtures/geocode/calgary_ab_v3.json
191
+ - spec/fixtures/geocode/ksfo_v3.json
192
+ - spec/fixtures/geocode/newyork_ny_v3.json
193
193
  - spec/fixtures/services/google/calgary_ab.xml
194
194
  - spec/fixtures/services/placemaker/T5B4M9.xml
195
195
  - spec/fixtures/services/placemaker/atlanta.xml
@@ -280,13 +280,13 @@ test_files:
280
280
  - spec/fixtures/formats/weather_id/manhattan.xml
281
281
  - spec/fixtures/formats/weather_id/new_york.xml
282
282
  - spec/fixtures/formats/weather_id/the_hills.xml
283
- - spec/fixtures/geocode/40_73.json
284
- - spec/fixtures/geocode/90210.json
285
- - spec/fixtures/geocode/T5B4M9.json
286
- - spec/fixtures/geocode/atlanta.json
287
- - spec/fixtures/geocode/calgary_ab.json
288
- - spec/fixtures/geocode/ksfo.json
289
- - spec/fixtures/geocode/newyork_ny.json
283
+ - spec/fixtures/geocode/40_73_v3.json
284
+ - spec/fixtures/geocode/90210_v3.json
285
+ - spec/fixtures/geocode/T5B4M9_v3.json
286
+ - spec/fixtures/geocode/atlanta_v3.json
287
+ - spec/fixtures/geocode/calgary_ab_v3.json
288
+ - spec/fixtures/geocode/ksfo_v3.json
289
+ - spec/fixtures/geocode/newyork_ny_v3.json
290
290
  - spec/fixtures/services/google/calgary_ab.xml
291
291
  - spec/fixtures/services/placemaker/T5B4M9.xml
292
292
  - spec/fixtures/services/placemaker/atlanta.xml
@@ -1,41 +0,0 @@
1
- {
2
- "name": "40.756054,-73.986951",
3
- "Status": {
4
- "code": 200,
5
- "request": "geocode"
6
- },
7
- "Placemark": [ {
8
- "id": "p1",
9
- "address": "601-699 7th Ave, Manhattan, NY 10036, USA",
10
- "AddressDetails": {
11
- "Accuracy" : 8,
12
- "Country" : {
13
- "AdministrativeArea" : {
14
- "AdministrativeAreaName" : "NY",
15
- "DependentLocality" : {
16
- "DependentLocalityName" : "Manhattan",
17
- "PostalCode" : {
18
- "PostalCodeNumber" : "10036"
19
- },
20
- "Thoroughfare" : {
21
- "ThoroughfareName" : "601-699 7th Ave"
22
- }
23
- }
24
- },
25
- "CountryName" : "USA",
26
- "CountryNameCode" : "US"
27
- }
28
- },
29
- "ExtendedData": {
30
- "LatLonBox": {
31
- "north": 40.7595131,
32
- "south": 40.7532178,
33
- "east": -73.9835667,
34
- "west": -73.9898620
35
- }
36
- },
37
- "Point": {
38
- "coordinates": [ -73.9869147, 40.7560395, 0 ]
39
- }
40
- } ]
41
- }
@@ -1,38 +0,0 @@
1
- {
2
- "name": "90210",
3
- "Status": {
4
- "code": 200,
5
- "request": "geocode"
6
- },
7
- "Placemark": [ {
8
- "id": "p1",
9
- "address": "Beverly Hills, CA 90210, USA",
10
- "AddressDetails": {
11
- "Accuracy" : 5,
12
- "Country" : {
13
- "AdministrativeArea" : {
14
- "AdministrativeAreaName" : "CA",
15
- "Locality" : {
16
- "LocalityName" : "Beverly Hills",
17
- "PostalCode" : {
18
- "PostalCodeNumber" : "90210"
19
- }
20
- }
21
- },
22
- "CountryName" : "USA",
23
- "CountryNameCode" : "US"
24
- }
25
- },
26
- "ExtendedData": {
27
- "LatLonBox": {
28
- "north": 34.1377559,
29
- "south": 34.0642330,
30
- "east": -118.3896720,
31
- "west": -118.4467160
32
- }
33
- },
34
- "Point": {
35
- "coordinates": [ -118.4104684, 34.1030032, 0 ]
36
- }
37
- } ]
38
- }
@@ -1,38 +0,0 @@
1
- {
2
- "name": "T5B 4M9",
3
- "Status": {
4
- "code": 200,
5
- "request": "geocode"
6
- },
7
- "Placemark": [ {
8
- "id": "p1",
9
- "address": "Edmonton, AB T5B 4M9, Canada",
10
- "AddressDetails": {
11
- "Accuracy" : 5,
12
- "Country" : {
13
- "AdministrativeArea" : {
14
- "AdministrativeAreaName" : "AB",
15
- "Locality" : {
16
- "LocalityName" : "Edmonton",
17
- "PostalCode" : {
18
- "PostalCodeNumber" : "T5B 4M9"
19
- }
20
- }
21
- },
22
- "CountryName" : "Canada",
23
- "CountryNameCode" : "CA"
24
- }
25
- },
26
- "ExtendedData": {
27
- "LatLonBox": {
28
- "north": 53.5760390,
29
- "south": 53.5697438,
30
- "east": -113.4528782,
31
- "west": -113.4591735
32
- }
33
- },
34
- "Point": {
35
- "coordinates": [ -113.4578400, 53.5705160, 0 ]
36
- }
37
- } ]
38
- }
@@ -1,38 +0,0 @@
1
- {
2
- "name": "Atlanta, GA, US",
3
- "Status": {
4
- "code": 200,
5
- "request": "geocode"
6
- },
7
- "Placemark": [ {
8
- "id": "p1",
9
- "address": "Atlanta, GA, USA",
10
- "AddressDetails": {
11
- "Accuracy" : 4,
12
- "Country" : {
13
- "AdministrativeArea" : {
14
- "AdministrativeAreaName" : "GA",
15
- "SubAdministrativeArea" : {
16
- "Locality" : {
17
- "LocalityName" : "Atlanta"
18
- },
19
- "SubAdministrativeAreaName" : "Fulton"
20
- }
21
- },
22
- "CountryName" : "USA",
23
- "CountryNameCode" : "US"
24
- }
25
- },
26
- "ExtendedData": {
27
- "LatLonBox": {
28
- "north": 33.8231844,
29
- "south": 33.6747422,
30
- "east": -84.2599230,
31
- "west": -84.5160418
32
- }
33
- },
34
- "Point": {
35
- "coordinates": [ -84.3879824, 33.7489954, 0 ]
36
- }
37
- } ]
38
- }
@@ -1,38 +0,0 @@
1
- {
2
- "name": "Calgary,AB",
3
- "Status": {
4
- "code": 200,
5
- "request": "geocode"
6
- },
7
- "Placemark": [ {
8
- "id": "p1",
9
- "address": "Calgary, AB, Canada",
10
- "AddressDetails": {
11
- "Accuracy" : 4,
12
- "Country" : {
13
- "AdministrativeArea" : {
14
- "AdministrativeAreaName" : "AB",
15
- "SubAdministrativeArea" : {
16
- "Locality" : {
17
- "LocalityName" : "Calgary"
18
- },
19
- "SubAdministrativeAreaName" : "Division No. 6"
20
- }
21
- },
22
- "CountryName" : "Canada",
23
- "CountryNameCode" : "CA"
24
- }
25
- },
26
- "ExtendedData": {
27
- "LatLonBox": {
28
- "north": 51.1571063,
29
- "south": 50.9326218,
30
- "east": -113.8011034,
31
- "west": -114.3133410
32
- }
33
- },
34
- "Point": {
35
- "coordinates": [ -114.0572222, 51.0450000, 0 ]
36
- }
37
- } ]
38
- }