geocoder 1.2.7 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of geocoder might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +31 -28
- data/examples/reverse_geocode_job.rb +40 -0
- data/lib/geocoder.rb +1 -0
- data/lib/geocoder/configuration.rb +5 -1
- data/lib/geocoder/exceptions.rb +3 -0
- data/lib/geocoder/ip_address.rb +2 -10
- data/lib/geocoder/logger.rb +55 -0
- data/lib/geocoder/lookup.rb +2 -1
- data/lib/geocoder/lookups/baidu.rb +5 -5
- data/lib/geocoder/lookups/baidu_ip.rb +5 -5
- data/lib/geocoder/lookups/base.rb +21 -16
- data/lib/geocoder/lookups/bing.rb +15 -2
- data/lib/geocoder/lookups/esri.rb +1 -1
- data/lib/geocoder/lookups/geocoder_ca.rb +1 -2
- data/lib/geocoder/lookups/geocodio.rb +3 -3
- data/lib/geocoder/lookups/google.rb +3 -3
- data/lib/geocoder/lookups/google_places_details.rb +3 -3
- data/lib/geocoder/lookups/mapquest.rb +3 -3
- data/lib/geocoder/lookups/maxmind.rb +1 -1
- data/lib/geocoder/lookups/maxmind_geoip2.rb +69 -0
- data/lib/geocoder/lookups/nominatim.rb +1 -1
- data/lib/geocoder/lookups/opencagedata.rb +4 -4
- data/lib/geocoder/lookups/pointpin.rb +4 -4
- data/lib/geocoder/lookups/postcode_anywhere_uk.rb +3 -3
- data/lib/geocoder/lookups/yahoo.rb +3 -3
- data/lib/geocoder/lookups/yandex.rb +3 -3
- data/lib/geocoder/query.rb +1 -1
- data/lib/geocoder/request.rb +70 -12
- data/lib/geocoder/results/geoip2.rb +8 -14
- data/lib/geocoder/results/maxmind_geoip2.rb +9 -0
- data/lib/geocoder/results/yandex.rb +5 -5
- data/lib/geocoder/version.rb +1 -1
- metadata +6 -147
- data/.gitignore +0 -6
- data/.travis.yml +0 -32
- data/Rakefile +0 -25
- data/examples/sidekiq_worker.rb +0 -16
- data/gemfiles/Gemfile.mongoid-2.4.x +0 -16
- data/test/fixtures/baidu_invalid_key +0 -1
- data/test/fixtures/baidu_ip_202_198_16_3 +0 -19
- data/test/fixtures/baidu_ip_invalid_key +0 -1
- data/test/fixtures/baidu_ip_no_results +0 -1
- data/test/fixtures/baidu_no_results +0 -1
- data/test/fixtures/baidu_reverse +0 -1
- data/test/fixtures/baidu_shanghai_pearl_tower +0 -12
- data/test/fixtures/bing_invalid_key +0 -1
- data/test/fixtures/bing_madison_square_garden +0 -40
- data/test/fixtures/bing_no_results +0 -16
- data/test/fixtures/bing_reverse +0 -42
- data/test/fixtures/cloudmade_invalid_key +0 -1
- data/test/fixtures/cloudmade_madison_square_garden +0 -1
- data/test/fixtures/cloudmade_no_results +0 -1
- data/test/fixtures/esri_madison_square_garden +0 -59
- data/test/fixtures/esri_no_results +0 -8
- data/test/fixtures/esri_reverse +0 -21
- data/test/fixtures/freegeoip_74_200_247_59 +0 -12
- data/test/fixtures/freegeoip_no_results +0 -1
- data/test/fixtures/geocoder_ca_madison_square_garden +0 -1
- data/test/fixtures/geocoder_ca_no_results +0 -1
- data/test/fixtures/geocoder_ca_reverse +0 -34
- data/test/fixtures/geocoder_us_madison_square_garden +0 -1
- data/test/fixtures/geocoder_us_no_results +0 -1
- data/test/fixtures/geocodio_1101_pennsylvania_ave +0 -1
- data/test/fixtures/geocodio_bad_api_key +0 -3
- data/test/fixtures/geocodio_invalid +0 -4
- data/test/fixtures/geocodio_no_results +0 -1
- data/test/fixtures/geocodio_over_query_limit +0 -4
- data/test/fixtures/google_garbage +0 -456
- data/test/fixtures/google_madison_square_garden +0 -57
- data/test/fixtures/google_no_city_data +0 -44
- data/test/fixtures/google_no_locality +0 -51
- data/test/fixtures/google_no_results +0 -4
- data/test/fixtures/google_over_limit +0 -4
- data/test/fixtures/google_places_details_invalid_request +0 -4
- data/test/fixtures/google_places_details_madison_square_garden +0 -120
- data/test/fixtures/google_places_details_no_results +0 -4
- data/test/fixtures/google_places_details_no_reviews +0 -60
- data/test/fixtures/google_places_details_no_types +0 -66
- data/test/fixtures/here_madison_square_garden +0 -72
- data/test/fixtures/here_no_results +0 -8
- data/test/fixtures/mapquest_error +0 -16
- data/test/fixtures/mapquest_invalid_api_key +0 -16
- data/test/fixtures/mapquest_invalid_request +0 -16
- data/test/fixtures/mapquest_madison_square_garden +0 -52
- data/test/fixtures/mapquest_no_results +0 -16
- data/test/fixtures/maxmind_24_24_24_21 +0 -1
- data/test/fixtures/maxmind_24_24_24_22 +0 -1
- data/test/fixtures/maxmind_24_24_24_23 +0 -1
- data/test/fixtures/maxmind_24_24_24_24 +0 -1
- data/test/fixtures/maxmind_74_200_247_59 +0 -1
- data/test/fixtures/maxmind_invalid_key +0 -1
- data/test/fixtures/maxmind_no_results +0 -1
- data/test/fixtures/nominatim_madison_square_garden +0 -150
- data/test/fixtures/nominatim_no_results +0 -1
- data/test/fixtures/nominatim_over_limit +0 -1
- data/test/fixtures/okf_kirstinmaki +0 -67
- data/test/fixtures/okf_no_results +0 -4
- data/test/fixtures/opencagedata_invalid_api_key +0 -25
- data/test/fixtures/opencagedata_invalid_request +0 -26
- data/test/fixtures/opencagedata_madison_square_garden +0 -73
- data/test/fixtures/opencagedata_no_results +0 -29
- data/test/fixtures/opencagedata_over_limit +0 -31
- data/test/fixtures/ovi_madison_square_garden +0 -72
- data/test/fixtures/ovi_no_results +0 -8
- data/test/fixtures/pointpin_10_10_10_10 +0 -1
- data/test/fixtures/pointpin_555_555_555_555 +0 -1
- data/test/fixtures/pointpin_80_111_555_555 +0 -1
- data/test/fixtures/pointpin_no_results +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_WR26NJ +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_generic_error +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_hampshire +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_key_limit_exceeded +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_no_results +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_romsey +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_unknown_key +0 -1
- data/test/fixtures/smarty_streets_11211 +0 -1
- data/test/fixtures/smarty_streets_madison_square_garden +0 -47
- data/test/fixtures/smarty_streets_no_results +0 -1
- data/test/fixtures/telize_10_10_10_10 +0 -1
- data/test/fixtures/telize_555_555_555_555 +0 -4
- data/test/fixtures/telize_74_200_247_59 +0 -1
- data/test/fixtures/telize_no_results +0 -1
- data/test/fixtures/yahoo_error +0 -1
- data/test/fixtures/yahoo_invalid_key +0 -2
- data/test/fixtures/yahoo_madison_square_garden +0 -52
- data/test/fixtures/yahoo_no_results +0 -10
- data/test/fixtures/yahoo_over_limit +0 -2
- data/test/fixtures/yandex_canada_rue_dupuis_14 +0 -446
- data/test/fixtures/yandex_invalid_key +0 -1
- data/test/fixtures/yandex_kremlin +0 -48
- data/test/fixtures/yandex_new_york +0 -1
- data/test/fixtures/yandex_no_administrative_area +0 -53
- data/test/fixtures/yandex_no_city_and_town +0 -112
- data/test/fixtures/yandex_no_results +0 -16
- data/test/integration/http_client_test.rb +0 -31
- data/test/mongoid_test_helper.rb +0 -43
- data/test/test_helper.rb +0 -423
- data/test/unit/active_record_test.rb +0 -16
- data/test/unit/cache_test.rb +0 -37
- data/test/unit/calculations_test.rb +0 -220
- data/test/unit/configuration_test.rb +0 -55
- data/test/unit/error_handling_test.rb +0 -79
- data/test/unit/geocoder_test.rb +0 -78
- data/test/unit/https_test.rb +0 -17
- data/test/unit/ip_address_test.rb +0 -27
- data/test/unit/lookup_test.rb +0 -153
- data/test/unit/lookups/bing_test.rb +0 -68
- data/test/unit/lookups/dstk_test.rb +0 -26
- data/test/unit/lookups/esri_test.rb +0 -48
- data/test/unit/lookups/freegeoip_test.rb +0 -27
- data/test/unit/lookups/geocoder_ca_test.rb +0 -17
- data/test/unit/lookups/geocodio_test.rb +0 -56
- data/test/unit/lookups/geoip2_test.rb +0 -27
- data/test/unit/lookups/google_places_details_test.rb +0 -122
- data/test/unit/lookups/google_premier_test.rb +0 -22
- data/test/unit/lookups/google_test.rb +0 -84
- data/test/unit/lookups/mapquest_test.rb +0 -60
- data/test/unit/lookups/maxmind_local_test.rb +0 -28
- data/test/unit/lookups/maxmind_test.rb +0 -63
- data/test/unit/lookups/nominatim_test.rb +0 -31
- data/test/unit/lookups/okf_test.rb +0 -38
- data/test/unit/lookups/opencagedata_test.rb +0 -64
- data/test/unit/lookups/pointpin_test.rb +0 -30
- data/test/unit/lookups/postcode_anywhere_uk_test.rb +0 -70
- data/test/unit/lookups/smarty_streets_test.rb +0 -71
- data/test/unit/lookups/telize_test.rb +0 -36
- data/test/unit/lookups/yahoo_test.rb +0 -35
- data/test/unit/method_aliases_test.rb +0 -26
- data/test/unit/model_test.rb +0 -38
- data/test/unit/mongoid_test.rb +0 -47
- data/test/unit/near_test.rb +0 -87
- data/test/unit/oauth_util_test.rb +0 -31
- data/test/unit/proxy_test.rb +0 -37
- data/test/unit/query_test.rb +0 -52
- data/test/unit/rake_task_test.rb +0 -21
- data/test/unit/request_test.rb +0 -35
- data/test/unit/result_test.rb +0 -81
- data/test/unit/test_mode_test.rb +0 -70
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"licenses" : [
|
3
|
-
{
|
4
|
-
"name" : "CC-BY-SA",
|
5
|
-
"url" : "http://creativecommons.org/licenses/by-sa/3.0/"
|
6
|
-
},
|
7
|
-
{
|
8
|
-
"name" : "ODbL",
|
9
|
-
"url" : "http://opendatacommons.org/licenses/odbl/summary/"
|
10
|
-
}
|
11
|
-
],
|
12
|
-
"rate" : {
|
13
|
-
"limit" : 2500,
|
14
|
-
"remaining" : 2487,
|
15
|
-
"reset" : 1407369600
|
16
|
-
},
|
17
|
-
"results" : [],
|
18
|
-
"status" : {
|
19
|
-
"code" : 200,
|
20
|
-
"message" : "OK"
|
21
|
-
},
|
22
|
-
"thanks" : "For using an OpenCage Data API",
|
23
|
-
"timestamp" : {
|
24
|
-
"created_http" : "Wed, 06 Aug 2014 12:56:03 GMT",
|
25
|
-
"created_unix" : 1407329763
|
26
|
-
},
|
27
|
-
"total_results" : 0,
|
28
|
-
"we_are_hiring" : "http://lokku.com/#jobs"
|
29
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
{
|
2
|
-
|
3
|
-
"licenses": [
|
4
|
-
{
|
5
|
-
"name": "CC-BY-SA",
|
6
|
-
"url": "http://creativecommons.org/licenses/by-sa/3.0/"
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"name": "ODbL",
|
10
|
-
"url": "http://opendatacommons.org/licenses/odbl/summary/"
|
11
|
-
}
|
12
|
-
],
|
13
|
-
"rate": {
|
14
|
-
"limit": 1,
|
15
|
-
"remaining": 0,
|
16
|
-
"reset": null
|
17
|
-
},
|
18
|
-
"results": [ ],
|
19
|
-
"status": {
|
20
|
-
"code": 402,
|
21
|
-
"message": "quota exceeded"
|
22
|
-
},
|
23
|
-
"thanks": "For using an OpenCage Data API",
|
24
|
-
"timestamp": {
|
25
|
-
"created_http": "Thu, 07 Aug 2014 13:59:19 GMT",
|
26
|
-
"created_unix": 1407419959
|
27
|
-
},
|
28
|
-
"total_results": 0,
|
29
|
-
"we_are_hiring": "http://lokku.com/#jobs"
|
30
|
-
|
31
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"Response": {
|
3
|
-
"MetaInfo": {
|
4
|
-
"Timestamp": "2013-02-08T16:26:39.382+0000"
|
5
|
-
},
|
6
|
-
"View": [
|
7
|
-
{
|
8
|
-
"_type": "SearchResultsViewType",
|
9
|
-
"ViewId": 0,
|
10
|
-
"Result": [
|
11
|
-
{
|
12
|
-
"Relevance": 1.0,
|
13
|
-
"MatchLevel": "houseNumber",
|
14
|
-
"MatchQuality": {
|
15
|
-
"State": 1.0,
|
16
|
-
"City": 1.0,
|
17
|
-
"Street": [
|
18
|
-
1.0
|
19
|
-
],
|
20
|
-
"HouseNumber": 1.0
|
21
|
-
},
|
22
|
-
"MatchType": "pointAddress",
|
23
|
-
"Location": {
|
24
|
-
"LocationId": "NT_ArsGdYbpo6dqjPQel9gTID_4",
|
25
|
-
"LocationType": "point",
|
26
|
-
"DisplayPosition": {
|
27
|
-
"Latitude": 40.7504692,
|
28
|
-
"Longitude": -73.9933777
|
29
|
-
},
|
30
|
-
"NavigationPosition": [
|
31
|
-
{
|
32
|
-
"Latitude": 40.7500305,
|
33
|
-
"Longitude": -73.9942398
|
34
|
-
}
|
35
|
-
],
|
36
|
-
"MapView": {
|
37
|
-
"TopLeft": {
|
38
|
-
"Latitude": 40.7515934,
|
39
|
-
"Longitude": -73.9948616
|
40
|
-
},
|
41
|
-
"BottomRight": {
|
42
|
-
"Latitude": 40.7493451,
|
43
|
-
"Longitude": -73.9918938
|
44
|
-
}
|
45
|
-
},
|
46
|
-
"Address": {
|
47
|
-
"Label": "4 Penn Plz, New York, NY 10001, United States",
|
48
|
-
"Country": "USA",
|
49
|
-
"State": "NY",
|
50
|
-
"County": "New York",
|
51
|
-
"City": "New York",
|
52
|
-
"Street": "Penn Plz",
|
53
|
-
"HouseNumber": "4",
|
54
|
-
"PostalCode": "10001",
|
55
|
-
"AdditionalData": [
|
56
|
-
{
|
57
|
-
"value": "United States",
|
58
|
-
"key": "CountryName"
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"value": "New York",
|
62
|
-
"key": "StateName"
|
63
|
-
}
|
64
|
-
]
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
68
|
-
]
|
69
|
-
}
|
70
|
-
]
|
71
|
-
}
|
72
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"error":"Address not found"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"error":"Invalid IP address"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"ip":"80.111.555.555","continent_code":"EU","country_code":"IE","country_name":"Ireland","region_name":"Dublin City","region_code":"D8","city_name":"Dublin","postcode":"8","latitude":53.3331,"longitude":-6.2489,"time_zone":"Europe/Dublin"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"error":"Address not found"}
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"Location":"Moseley Road, Hallow, Worcester","Easting":"381676","Northing":"259425","Latitude":"52.2327","Longitude":"-2.2697","OsGrid":"SO 81676 59425","Accuracy":"Standard"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"Error":"9999","Description":"A generic error","Cause":"A generic error occured.","Resolution":"Fix the unknown error."}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"Location":"Hampshire","Easting":"448701","Northing":"126642","Latitude":"51.037","Longitude":"-1.3068","OsGrid":"SU 48701 26642","Accuracy":"Standard"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"Error":"8","Description":"Key daily limit exceeded","Cause":"The daily limit on the key has been exceeded.","Resolution":"Alter the daily limit on the key. Check the usage details first to see if usage is normal."}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"Location":"Romsey, Hampshire","Easting":"435270","Northing":"121182","Latitude":"50.9889","Longitude":"-1.4989","OsGrid":"SU 35270 21182","Accuracy":"Standard"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"Error":"2","Description":"Unknown key","Cause":"The key you are using to access the service was not found.","Resolution":"Please check that the key is correct. It should be in the form AA11-AA11-AA11-AA11."}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"input_index":0,"city_states":[{"city":"Brooklyn","state_abbreviation":"NY","state":"New York"}],"zipcodes":[{"zipcode":"11211","zipcode_type":"S","county_fips":"36047","county_name":"Kings","latitude":40.71184,"longitude":-73.95288}]}]
|
@@ -1,47 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"input_index": 0,
|
4
|
-
"candidate_index": 0,
|
5
|
-
"addressee": "Madison Sq Garden",
|
6
|
-
"delivery_line_1": "2 Penn Plz Fl 15",
|
7
|
-
"last_line": "New York NY 10121-1703",
|
8
|
-
"delivery_point_barcode": "101211703022",
|
9
|
-
"components": {
|
10
|
-
"primary_number": "2",
|
11
|
-
"street_name": "Penn",
|
12
|
-
"street_suffix": "Plz",
|
13
|
-
"secondary_number": "15",
|
14
|
-
"secondary_designator": "Fl",
|
15
|
-
"city_name": "New York",
|
16
|
-
"state_abbreviation": "NY",
|
17
|
-
"zipcode": "10121",
|
18
|
-
"plus4_code": "1703",
|
19
|
-
"delivery_point": "02",
|
20
|
-
"delivery_point_check_digit": "2"
|
21
|
-
},
|
22
|
-
"metadata": {
|
23
|
-
"record_type": "F",
|
24
|
-
"zip_type": "Standard",
|
25
|
-
"county_fips": "36061",
|
26
|
-
"county_name": "New York",
|
27
|
-
"carrier_route": "C038",
|
28
|
-
"congressional_district": "12",
|
29
|
-
"rdi": "Commercial",
|
30
|
-
"elot_sequence": "0035",
|
31
|
-
"elot_sort": "A",
|
32
|
-
"latitude": 40.74959,
|
33
|
-
"longitude": -73.99251,
|
34
|
-
"precision": "Zip7",
|
35
|
-
"time_zone": "Eastern",
|
36
|
-
"utc_offset": -5.0,
|
37
|
-
"dst": true
|
38
|
-
},
|
39
|
-
"analysis": {
|
40
|
-
"dpv_match_code": "Y",
|
41
|
-
"dpv_footnotes": "AABB",
|
42
|
-
"dpv_cmra": "N",
|
43
|
-
"dpv_vacant": "N",
|
44
|
-
"active": "Y"
|
45
|
-
}
|
46
|
-
}
|
47
|
-
]
|
@@ -1 +0,0 @@
|
|
1
|
-
[]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"ip":"10.10.10.10"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"timezone":"America\/Chicago","isp":"Layered Technologies, Inc.","region_code":"TX","country":"United States","dma_code":"0","area_code":"0","region":"Texas","ip":"74.200.247.59","asn":"AS22576","continent_code":"NA","city":"Plano","postal_code":"75093","longitude":-96.8134,"latitude":33.0347,"country_code":"US","country_code3":"USA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"ip":"10.10.10.10"}
|
data/test/fixtures/yahoo_error
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"bossresponse":{"responsecode":"6000","reason":"internal error"}}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"bossresponse": {
|
3
|
-
"responsecode": "200",
|
4
|
-
"placefinder": {
|
5
|
-
"start": "0",
|
6
|
-
"count": "1",
|
7
|
-
"request": "flags=JXTSR&location=Madison%20Square%20Garden%2C%20NY%2C%20NY&%unsafe%appid=%5B%22dj0yJmk9ZmZ5NXFrNGhNcEthJmQ9WVdrOVFUSlhPV2x1TjJVbWNHbzlORE0wT0RFME9UWXkmcz1jb25zdW1lcnNlY3JldCZ4PTAy%22%2C%20%22b57b1b98eb21f171231f5b441cba505261d6c9bb%22%5D&gflags=AC&locale=en_US",
|
8
|
-
"results": [
|
9
|
-
{
|
10
|
-
"quality": "90",
|
11
|
-
"latitude": "40.750381",
|
12
|
-
"longitude": "-73.993988",
|
13
|
-
"offsetlat": "40.750381",
|
14
|
-
"offsetlon": "-73.993988",
|
15
|
-
"radius": "400",
|
16
|
-
"boundingbox": {
|
17
|
-
"north": "40.750832",
|
18
|
-
"south": "40.749931",
|
19
|
-
"east": "-73.993393",
|
20
|
-
"west": "-73.994591"
|
21
|
-
},
|
22
|
-
"name": "Madison Square Garden",
|
23
|
-
"line1": "Madison Square Garden",
|
24
|
-
"line2": "New York, NY 10001",
|
25
|
-
"line3": "",
|
26
|
-
"line4": "United States",
|
27
|
-
"cross": "",
|
28
|
-
"house": "",
|
29
|
-
"street": "",
|
30
|
-
"xstreet": "",
|
31
|
-
"unittype": "",
|
32
|
-
"unit": "",
|
33
|
-
"postal": "10001",
|
34
|
-
"neighborhood": "Garment District|Midtown|Midtown West|Manhattan",
|
35
|
-
"city": "New York",
|
36
|
-
"county": "New York County",
|
37
|
-
"state": "New York",
|
38
|
-
"country": "United States",
|
39
|
-
"countrycode": "US",
|
40
|
-
"statecode": "NY",
|
41
|
-
"countycode": "",
|
42
|
-
"timezone": "America/New_York",
|
43
|
-
"areacode": "212",
|
44
|
-
"uzip": "10001",
|
45
|
-
"hash": "",
|
46
|
-
"woeid": "23617041",
|
47
|
-
"woetype": "20"
|
48
|
-
}
|
49
|
-
]
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"bossresponse": {
|
3
|
-
"responsecode": "200",
|
4
|
-
"placefinder": {
|
5
|
-
"start": "0",
|
6
|
-
"count": "0",
|
7
|
-
"request": "flags=JXTSR&location=asdfasdf28394782sdfj2983&%unsafe%appid=%5B%22dj0yJmk9ZmZ5NXFrNGhNcEthJmQ9WVdrOVFUSlhPV2x1TjJVbWNHbzlORE0wT0RFME9UWXkmcz1jb25zdW1lcnNlY3JldCZ4PTAy%22%2C%20%22b57b1b98eb21f171231f5b441cba505261d6c9bb%22%5D&gflags=AC&locale=en_US"
|
8
|
-
}
|
9
|
-
}
|
10
|
-
}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?> <yahoo:error xmlns:yahoo="http://yahooapis.com/v1/base.rng\ <http://yahooapis.com/v1/base.rng%5C>" xml:lang="en-US">
|
2
|
-
<yahoo:description>Rate Limit Exceeded</yahoo:description> <yahoo:detail>Key has exceeded its configured rate limit.</yahoo:detail> </yahoo:error>
|
@@ -1,446 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"response":{
|
3
|
-
"Attribution":"",
|
4
|
-
"GeoObjectCollection":{
|
5
|
-
"metaDataProperty":{
|
6
|
-
"GeocoderResponseMetaData":{
|
7
|
-
"request":"canada rue dupuis 14",
|
8
|
-
"found":"52",
|
9
|
-
"results":"10"
|
10
|
-
}
|
11
|
-
},
|
12
|
-
"featureMember":[
|
13
|
-
{
|
14
|
-
"GeoObject":{
|
15
|
-
"metaDataProperty":{
|
16
|
-
"GeocoderMetaData":{
|
17
|
-
"kind":"house",
|
18
|
-
"text":"Canada, Quebec, Beauharnois-Salaberry, Beauharnois, Rue Dupuis, 14",
|
19
|
-
"precision":"exact",
|
20
|
-
"AddressDetails":{
|
21
|
-
"Country":{
|
22
|
-
"AddressLine":"Quebec, Beauharnois-Salaberry, Beauharnois, Rue Dupuis, 14",
|
23
|
-
"CountryNameCode":"CA",
|
24
|
-
"CountryName":"Canada",
|
25
|
-
"AdministrativeArea":{
|
26
|
-
"AdministrativeAreaName":"Quebec",
|
27
|
-
"SubAdministrativeArea":{
|
28
|
-
"SubAdministrativeAreaName":"Beauharnois-Salaberry",
|
29
|
-
"Locality":{
|
30
|
-
"LocalityName":"Beauharnois",
|
31
|
-
"Thoroughfare":{
|
32
|
-
"ThoroughfareName":"Rue Dupuis",
|
33
|
-
"Premise":{
|
34
|
-
"PremiseNumber":"14"
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
43
|
-
},
|
44
|
-
"description":"Beauharnois, Beauharnois-Salaberry, Quebec, Canada",
|
45
|
-
"name":"Rue Dupuis, 14",
|
46
|
-
"boundedBy":{
|
47
|
-
"Envelope":{
|
48
|
-
"lowerCorner":"-73.880377 45.306461",
|
49
|
-
"upperCorner":"-73.876281 45.309351"
|
50
|
-
}
|
51
|
-
},
|
52
|
-
"Point":{
|
53
|
-
"pos":"-73.878329 45.307906"
|
54
|
-
}
|
55
|
-
}
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"GeoObject":{
|
59
|
-
"metaDataProperty":{
|
60
|
-
"GeocoderMetaData":{
|
61
|
-
"kind":"house",
|
62
|
-
"text":"Canada, Quebec, Roussillon, St-Philippe, Rue Dupuis, 14",
|
63
|
-
"precision":"exact",
|
64
|
-
"AddressDetails":{
|
65
|
-
"Country":{
|
66
|
-
"AddressLine":"Quebec, Roussillon, St-Philippe, Rue Dupuis, 14",
|
67
|
-
"CountryNameCode":"CA",
|
68
|
-
"CountryName":"Canada",
|
69
|
-
"AdministrativeArea":{
|
70
|
-
"AdministrativeAreaName":"Quebec",
|
71
|
-
"SubAdministrativeArea":{
|
72
|
-
"SubAdministrativeAreaName":"Roussillon",
|
73
|
-
"Locality":{
|
74
|
-
"LocalityName":"St-Philippe",
|
75
|
-
"Thoroughfare":{
|
76
|
-
"ThoroughfareName":"Rue Dupuis",
|
77
|
-
"Premise":{
|
78
|
-
"PremiseNumber":"14"
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
}
|
86
|
-
}
|
87
|
-
},
|
88
|
-
"description":"St-Philippe, Roussillon, Quebec, Canada",
|
89
|
-
"name":"Rue Dupuis, 14",
|
90
|
-
"boundedBy":{
|
91
|
-
"Envelope":{
|
92
|
-
"lowerCorner":"-73.491263 45.371702",
|
93
|
-
"upperCorner":"-73.487167 45.374589"
|
94
|
-
}
|
95
|
-
},
|
96
|
-
"Point":{
|
97
|
-
"pos":"-73.489215 45.373146"
|
98
|
-
}
|
99
|
-
}
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"GeoObject":{
|
103
|
-
"metaDataProperty":{
|
104
|
-
"GeocoderMetaData":{
|
105
|
-
"kind":"house",
|
106
|
-
"text":"Canada, Quebec, Témiscamingue, Notre-Dame-du-Nord, Rue Dupuis, 14",
|
107
|
-
"precision":"exact",
|
108
|
-
"AddressDetails":{
|
109
|
-
"Country":{
|
110
|
-
"AddressLine":"Quebec, Témiscamingue, Notre-Dame-du-Nord, Rue Dupuis, 14",
|
111
|
-
"CountryNameCode":"CA",
|
112
|
-
"CountryName":"Canada",
|
113
|
-
"AdministrativeArea":{
|
114
|
-
"AdministrativeAreaName":"Quebec",
|
115
|
-
"SubAdministrativeArea":{
|
116
|
-
"SubAdministrativeAreaName":"Témiscamingue",
|
117
|
-
"Locality":{
|
118
|
-
"LocalityName":"Notre-Dame-du-Nord",
|
119
|
-
"Thoroughfare":{
|
120
|
-
"ThoroughfareName":"Rue Dupuis",
|
121
|
-
"Premise":{
|
122
|
-
"PremiseNumber":"14"
|
123
|
-
}
|
124
|
-
}
|
125
|
-
}
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
129
|
-
}
|
130
|
-
}
|
131
|
-
},
|
132
|
-
"description":"Notre-Dame-du-Nord, Témiscamingue, Quebec, Canada",
|
133
|
-
"name":"Rue Dupuis, 14",
|
134
|
-
"boundedBy":{
|
135
|
-
"Envelope":{
|
136
|
-
"lowerCorner":"-79.484724 47.596109",
|
137
|
-
"upperCorner":"-79.480628 47.598879"
|
138
|
-
}
|
139
|
-
},
|
140
|
-
"Point":{
|
141
|
-
"pos":"-79.482676 47.597494"
|
142
|
-
}
|
143
|
-
}
|
144
|
-
},
|
145
|
-
{
|
146
|
-
"GeoObject":{
|
147
|
-
"metaDataProperty":{
|
148
|
-
"GeocoderMetaData":{
|
149
|
-
"kind":"house",
|
150
|
-
"text":"Canada, Quebec, Montcalm, St-Jacques, Rue Dupuis, 14",
|
151
|
-
"precision":"exact",
|
152
|
-
"AddressDetails":{
|
153
|
-
"Country":{
|
154
|
-
"AddressLine":"Quebec, Montcalm, St-Jacques, Rue Dupuis, 14",
|
155
|
-
"CountryNameCode":"CA",
|
156
|
-
"CountryName":"Canada",
|
157
|
-
"AdministrativeArea":{
|
158
|
-
"AdministrativeAreaName":"Quebec",
|
159
|
-
"SubAdministrativeArea":{
|
160
|
-
"SubAdministrativeAreaName":"Montcalm",
|
161
|
-
"Locality":{
|
162
|
-
"LocalityName":"St-Jacques",
|
163
|
-
"Thoroughfare":{
|
164
|
-
"ThoroughfareName":"Rue Dupuis",
|
165
|
-
"Premise":{
|
166
|
-
"PremiseNumber":"14"
|
167
|
-
}
|
168
|
-
}
|
169
|
-
}
|
170
|
-
}
|
171
|
-
}
|
172
|
-
}
|
173
|
-
}
|
174
|
-
}
|
175
|
-
},
|
176
|
-
"description":"St-Jacques, Montcalm, Quebec, Canada",
|
177
|
-
"name":"Rue Dupuis, 14",
|
178
|
-
"boundedBy":{
|
179
|
-
"Envelope":{
|
180
|
-
"lowerCorner":"-73.573136 45.945209",
|
181
|
-
"upperCorner":"-73.569039 45.948066"
|
182
|
-
}
|
183
|
-
},
|
184
|
-
"Point":{
|
185
|
-
"pos":"-73.571088 45.946637"
|
186
|
-
}
|
187
|
-
}
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"GeoObject":{
|
191
|
-
"metaDataProperty":{
|
192
|
-
"GeocoderMetaData":{
|
193
|
-
"kind":"street",
|
194
|
-
"text":"Canada, Quebec, Le Haut-Richelieu, St-Jean-sur-Richelieu, St-Luc, Rue Dupuis",
|
195
|
-
"precision":"street",
|
196
|
-
"AddressDetails":{
|
197
|
-
"Country":{
|
198
|
-
"AddressLine":"Quebec, Le Haut-Richelieu, St-Jean-sur-Richelieu, St-Luc, Rue Dupuis",
|
199
|
-
"CountryNameCode":"CA",
|
200
|
-
"CountryName":"Canada",
|
201
|
-
"AdministrativeArea":{
|
202
|
-
"AdministrativeAreaName":"Quebec",
|
203
|
-
"SubAdministrativeArea":{
|
204
|
-
"SubAdministrativeAreaName":"Le Haut-Richelieu",
|
205
|
-
"Locality":{
|
206
|
-
"LocalityName":"St-Luc",
|
207
|
-
"Thoroughfare":{
|
208
|
-
"ThoroughfareName":"Rue Dupuis"
|
209
|
-
}
|
210
|
-
}
|
211
|
-
}
|
212
|
-
}
|
213
|
-
}
|
214
|
-
}
|
215
|
-
}
|
216
|
-
},
|
217
|
-
"description":"St-Luc, St-Jean-sur-Richelieu, Le Haut-Richelieu, Quebec, Canada",
|
218
|
-
"name":"Rue Dupuis",
|
219
|
-
"boundedBy":{
|
220
|
-
"Envelope":{
|
221
|
-
"lowerCorner":"-73.253767 45.371677",
|
222
|
-
"upperCorner":"-73.249814 45.383244"
|
223
|
-
}
|
224
|
-
},
|
225
|
-
"Point":{
|
226
|
-
"pos":"-73.250829 45.377875"
|
227
|
-
}
|
228
|
-
}
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"GeoObject":{
|
232
|
-
"metaDataProperty":{
|
233
|
-
"GeocoderMetaData":{
|
234
|
-
"kind":"house",
|
235
|
-
"text":"Canada, Quebec, Thérèse-de-Blainville, Blainville, Rue Corinne-Dupuis, 14",
|
236
|
-
"precision":"exact",
|
237
|
-
"AddressDetails":{
|
238
|
-
"Country":{
|
239
|
-
"AddressLine":"Quebec, Thérèse-de-Blainville, Blainville, Rue Corinne-Dupuis, 14",
|
240
|
-
"CountryNameCode":"CA",
|
241
|
-
"CountryName":"Canada",
|
242
|
-
"AdministrativeArea":{
|
243
|
-
"AdministrativeAreaName":"Quebec",
|
244
|
-
"SubAdministrativeArea":{
|
245
|
-
"SubAdministrativeAreaName":"Thérèse-de-Blainville",
|
246
|
-
"Locality":{
|
247
|
-
"LocalityName":"Blainville",
|
248
|
-
"Thoroughfare":{
|
249
|
-
"ThoroughfareName":"Rue Corinne-Dupuis",
|
250
|
-
"Premise":{
|
251
|
-
"PremiseNumber":"14"
|
252
|
-
}
|
253
|
-
}
|
254
|
-
}
|
255
|
-
}
|
256
|
-
}
|
257
|
-
}
|
258
|
-
}
|
259
|
-
}
|
260
|
-
},
|
261
|
-
"description":"Blainville, Thérèse-de-Blainville, Quebec, Canada",
|
262
|
-
"name":"Rue Corinne-Dupuis, 14",
|
263
|
-
"boundedBy":{
|
264
|
-
"Envelope":{
|
265
|
-
"lowerCorner":"-73.907956 45.692721",
|
266
|
-
"upperCorner":"-73.903859 45.695592"
|
267
|
-
}
|
268
|
-
},
|
269
|
-
"Point":{
|
270
|
-
"pos":"-73.905908 45.694157"
|
271
|
-
}
|
272
|
-
}
|
273
|
-
},
|
274
|
-
{
|
275
|
-
"GeoObject":{
|
276
|
-
"metaDataProperty":{
|
277
|
-
"GeocoderMetaData":{
|
278
|
-
"kind":"house",
|
279
|
-
"text":"Canada, Quebec, Gatineau, Hull, Rue Hormidas-Dupuis, 14",
|
280
|
-
"precision":"exact",
|
281
|
-
"AddressDetails":{
|
282
|
-
"Country":{
|
283
|
-
"AddressLine":"Quebec, Gatineau, Hull, Rue Hormidas-Dupuis, 14",
|
284
|
-
"CountryNameCode":"CA",
|
285
|
-
"CountryName":"Canada",
|
286
|
-
"AdministrativeArea":{
|
287
|
-
"AdministrativeAreaName":"Quebec",
|
288
|
-
"SubAdministrativeArea":{
|
289
|
-
"SubAdministrativeAreaName":"Gatineau",
|
290
|
-
"Locality":{
|
291
|
-
"DependentLocality":{
|
292
|
-
"DependentLocalityName":"Hull",
|
293
|
-
"Thoroughfare":{
|
294
|
-
"ThoroughfareName":"Rue Hormidas-Dupuis",
|
295
|
-
"Premise":{
|
296
|
-
"PremiseNumber":"14"
|
297
|
-
}
|
298
|
-
}
|
299
|
-
}
|
300
|
-
}
|
301
|
-
}
|
302
|
-
}
|
303
|
-
}
|
304
|
-
}
|
305
|
-
}
|
306
|
-
},
|
307
|
-
"description":"Hull, Gatineau, Quebec, Canada",
|
308
|
-
"name":"Rue Hormidas-Dupuis, 14",
|
309
|
-
"boundedBy":{
|
310
|
-
"Envelope":{
|
311
|
-
"lowerCorner":"-75.745594 45.421953",
|
312
|
-
"upperCorner":"-75.741498 45.424838"
|
313
|
-
}
|
314
|
-
},
|
315
|
-
"Point":{
|
316
|
-
"pos":"-75.743546 45.423396"
|
317
|
-
}
|
318
|
-
}
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"GeoObject":{
|
322
|
-
"metaDataProperty":{
|
323
|
-
"GeocoderMetaData":{
|
324
|
-
"kind":"street",
|
325
|
-
"text":"Canada, Quebec, Roussillon, Châteauguay, Rue Dupuis",
|
326
|
-
"precision":"street",
|
327
|
-
"AddressDetails":{
|
328
|
-
"Country":{
|
329
|
-
"AddressLine":"Quebec, Roussillon, Châteauguay, Rue Dupuis",
|
330
|
-
"CountryNameCode":"CA",
|
331
|
-
"CountryName":"Canada",
|
332
|
-
"AdministrativeArea":{
|
333
|
-
"AdministrativeAreaName":"Quebec",
|
334
|
-
"SubAdministrativeArea":{
|
335
|
-
"SubAdministrativeAreaName":"Roussillon",
|
336
|
-
"Locality":{
|
337
|
-
"LocalityName":"Châteauguay",
|
338
|
-
"Thoroughfare":{
|
339
|
-
"ThoroughfareName":"Rue Dupuis"
|
340
|
-
}
|
341
|
-
}
|
342
|
-
}
|
343
|
-
}
|
344
|
-
}
|
345
|
-
}
|
346
|
-
}
|
347
|
-
},
|
348
|
-
"description":"Châteauguay, Roussillon, Quebec, Canada",
|
349
|
-
"name":"Rue Dupuis",
|
350
|
-
"boundedBy":{
|
351
|
-
"Envelope":{
|
352
|
-
"lowerCorner":"-73.708691 45.344539",
|
353
|
-
"upperCorner":"-73.703499 45.345287"
|
354
|
-
}
|
355
|
-
},
|
356
|
-
"Point":{
|
357
|
-
"pos":"-73.706086 45.344983"
|
358
|
-
}
|
359
|
-
}
|
360
|
-
},
|
361
|
-
{
|
362
|
-
"GeoObject":{
|
363
|
-
"metaDataProperty":{
|
364
|
-
"GeocoderMetaData":{
|
365
|
-
"kind":"street",
|
366
|
-
"text":"Canada, Quebec, Longueuil, Rue Dupuis",
|
367
|
-
"precision":"street",
|
368
|
-
"AddressDetails":{
|
369
|
-
"Country":{
|
370
|
-
"AddressLine":"Quebec, Longueuil, Rue Dupuis",
|
371
|
-
"CountryNameCode":"CA",
|
372
|
-
"CountryName":"Canada",
|
373
|
-
"AdministrativeArea":{
|
374
|
-
"AdministrativeAreaName":"Quebec",
|
375
|
-
"SubAdministrativeArea":{
|
376
|
-
"SubAdministrativeAreaName":"Longueuil",
|
377
|
-
"Locality":{
|
378
|
-
"LocalityName":"Longueuil",
|
379
|
-
"Thoroughfare":{
|
380
|
-
"ThoroughfareName":"Rue Dupuis"
|
381
|
-
}
|
382
|
-
}
|
383
|
-
}
|
384
|
-
}
|
385
|
-
}
|
386
|
-
}
|
387
|
-
}
|
388
|
-
},
|
389
|
-
"description":"Longueuil, Quebec, Canada",
|
390
|
-
"name":"Rue Dupuis",
|
391
|
-
"boundedBy":{
|
392
|
-
"Envelope":{
|
393
|
-
"lowerCorner":"-73.463631 45.515456",
|
394
|
-
"upperCorner":"-73.459193 45.516568"
|
395
|
-
}
|
396
|
-
},
|
397
|
-
"Point":{
|
398
|
-
"pos":"-73.461385 45.516094"
|
399
|
-
}
|
400
|
-
}
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"GeoObject":{
|
404
|
-
"metaDataProperty":{
|
405
|
-
"GeocoderMetaData":{
|
406
|
-
"kind":"street",
|
407
|
-
"text":"Canada, Quebec, La Vallée-de-l'Or, Val-d'Or, Rue Dupuis",
|
408
|
-
"precision":"street",
|
409
|
-
"AddressDetails":{
|
410
|
-
"Country":{
|
411
|
-
"AddressLine":"Quebec, La Vallée-de-l'Or, Val-d'Or, Rue Dupuis",
|
412
|
-
"CountryNameCode":"CA",
|
413
|
-
"CountryName":"Canada",
|
414
|
-
"AdministrativeArea":{
|
415
|
-
"AdministrativeAreaName":"Quebec",
|
416
|
-
"SubAdministrativeArea":{
|
417
|
-
"SubAdministrativeAreaName":"La Vallée-de-l'Or",
|
418
|
-
"Locality":{
|
419
|
-
"LocalityName":"Val-d'Or",
|
420
|
-
"Thoroughfare":{
|
421
|
-
"ThoroughfareName":"Rue Dupuis"
|
422
|
-
}
|
423
|
-
}
|
424
|
-
}
|
425
|
-
}
|
426
|
-
}
|
427
|
-
}
|
428
|
-
}
|
429
|
-
},
|
430
|
-
"description":"Val-d'Or, La Vallée-de-l'Or, Quebec, Canada",
|
431
|
-
"name":"Rue Dupuis",
|
432
|
-
"boundedBy":{
|
433
|
-
"Envelope":{
|
434
|
-
"lowerCorner":"-77.810408 48.093635",
|
435
|
-
"upperCorner":"-77.807839 48.097637"
|
436
|
-
}
|
437
|
-
},
|
438
|
-
"Point":{
|
439
|
-
"pos":"-77.810390 48.095663"
|
440
|
-
}
|
441
|
-
}
|
442
|
-
}
|
443
|
-
]
|
444
|
-
}
|
445
|
-
}
|
446
|
-
}
|