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,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"results": [
|
3
|
-
{
|
4
|
-
"locations": []
|
5
|
-
}
|
6
|
-
],
|
7
|
-
"info": {
|
8
|
-
"copyright": {
|
9
|
-
"text": "© 2012 MapQuest, Inc.",
|
10
|
-
"imageUrl": "http://api.mqcdn.com/res/mqlogo.gif",
|
11
|
-
"imageAltText": "© 2012 MapQuest, Inc."
|
12
|
-
},
|
13
|
-
"statuscode": 500,
|
14
|
-
"messages": ["Error processing request: ..."]
|
15
|
-
}
|
16
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"results": [
|
3
|
-
{
|
4
|
-
"locations": []
|
5
|
-
}
|
6
|
-
],
|
7
|
-
"info": {
|
8
|
-
"copyright": {
|
9
|
-
"text": "© 2012 MapQuest, Inc.",
|
10
|
-
"imageUrl": "http://api.mqcdn.com/res/mqlogo.gif",
|
11
|
-
"imageAltText": "© 2012 MapQuest, Inc."
|
12
|
-
},
|
13
|
-
"statuscode": 403,
|
14
|
-
"messages": ["..."]
|
15
|
-
}
|
16
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"results": [
|
3
|
-
{
|
4
|
-
"locations": []
|
5
|
-
}
|
6
|
-
],
|
7
|
-
"info": {
|
8
|
-
"copyright": {
|
9
|
-
"text": "© 2012 MapQuest, Inc.",
|
10
|
-
"imageUrl": "http://api.mqcdn.com/res/mqlogo.gif",
|
11
|
-
"imageAltText": "© 2012 MapQuest, Inc."
|
12
|
-
},
|
13
|
-
"statuscode": 400,
|
14
|
-
"messages": ["Illegal argument from request: ..."]
|
15
|
-
}
|
16
|
-
}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"results": [
|
3
|
-
{
|
4
|
-
"locations": [
|
5
|
-
{
|
6
|
-
"latLng": {
|
7
|
-
"lng": -73.994637,
|
8
|
-
"lat": 40.720409
|
9
|
-
},
|
10
|
-
"adminArea4": "New York County",
|
11
|
-
"adminArea5Type": "City",
|
12
|
-
"adminArea4Type": "County",
|
13
|
-
"adminArea5": "New York",
|
14
|
-
"street": "46 West 31st Street",
|
15
|
-
"adminArea1": "US",
|
16
|
-
"adminArea3": "NY",
|
17
|
-
"type": "s",
|
18
|
-
"displayLatLng": {
|
19
|
-
"lng": -73.994637,
|
20
|
-
"lat": 40.720409
|
21
|
-
},
|
22
|
-
"linkId": 0,
|
23
|
-
"postalCode": "10001",
|
24
|
-
"sideOfStreet": "N",
|
25
|
-
"dragPoint": false,
|
26
|
-
"adminArea1Type": "Country",
|
27
|
-
"geocodeQuality": "CITY",
|
28
|
-
"geocodeQualityCode": "A5XAX",
|
29
|
-
"mapUrl": "http://www.mapquestapi.com/staticmap/v3/getmap?type=map&size=225,160&pois=purple-1,40.720409,-73.994637,0,0|¢er=40.720409,-73.994637&zoom=9&key=Gmjtd|luua2hu2nd,7x=o5-lz8lg&rand=604519389",
|
30
|
-
"adminArea3Type": "State"
|
31
|
-
}
|
32
|
-
],
|
33
|
-
"providedLocation": {
|
34
|
-
"location": "Madison Square Garden, New York, NY"
|
35
|
-
}
|
36
|
-
}
|
37
|
-
],
|
38
|
-
"options": {
|
39
|
-
"ignoreLatLngInput": false,
|
40
|
-
"maxResults": -1,
|
41
|
-
"thumbMaps": true
|
42
|
-
},
|
43
|
-
"info": {
|
44
|
-
"copyright": {
|
45
|
-
"text": "© 2012 MapQuest, Inc.",
|
46
|
-
"imageUrl": "http://api.mqcdn.com/res/mqlogo.gif",
|
47
|
-
"imageAltText": "© 2012 MapQuest, Inc."
|
48
|
-
},
|
49
|
-
"statuscode": 0,
|
50
|
-
"messages": []
|
51
|
-
}
|
52
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"results": [
|
3
|
-
{
|
4
|
-
"locations": []
|
5
|
-
}
|
6
|
-
],
|
7
|
-
"info": {
|
8
|
-
"copyright": {
|
9
|
-
"text": "© 2012 MapQuest, Inc.",
|
10
|
-
"imageUrl": "http://api.mqcdn.com/res/mqlogo.gif",
|
11
|
-
"imageAltText": "© 2012 MapQuest, Inc."
|
12
|
-
},
|
13
|
-
"statuscode": 0,
|
14
|
-
"messages": []
|
15
|
-
}
|
16
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
US
|
@@ -1 +0,0 @@
|
|
1
|
-
US,NY,Jamaica,40.6915,-73.8057
|
@@ -1 +0,0 @@
|
|
1
|
-
US,NY,Jamaica,,40.6915,-73.8057,501,718,"Road Runner","Road Runner"
|
@@ -1 +0,0 @@
|
|
1
|
-
US,"United States",NY,"New York",Jamaica,40.6915,-73.8057,501,718,America/New_York,NA,,"Road Runner","Road Runner",rr.com,"AS11351 Road Runner HoldCo LLC",Cable/DSL,residential,779,99,37,76,35
|
@@ -1 +0,0 @@
|
|
1
|
-
US,TX,Plano,75093,33.034698,-96.813400,623,972,"Layered Technologies , US","Layered Technologies , US",
|
@@ -1 +0,0 @@
|
|
1
|
-
,,,,,,,,,,INVALID_LICENSE_KEY
|
@@ -1 +0,0 @@
|
|
1
|
-
,,,,,,,,,,IP_NOT_FOUND
|
@@ -1,150 +0,0 @@
|
|
1
|
-
[
|
2
|
-
|
3
|
-
{
|
4
|
-
"place_id": "30632629",
|
5
|
-
"licence": "Data Copyright OpenStreetMap Contributors, Some Rights Reserved. CC-BY-SA 2.0.",
|
6
|
-
"osm_type": "way",
|
7
|
-
"osm_id": "24801588",
|
8
|
-
"boundingbox": [
|
9
|
-
"40.749828338623",
|
10
|
-
"40.7511596679688",
|
11
|
-
"-73.9943389892578",
|
12
|
-
"-73.9926528930664"
|
13
|
-
],
|
14
|
-
"polygonpoints": [
|
15
|
-
[
|
16
|
-
"-73.9943346",
|
17
|
-
"40.7503638"
|
18
|
-
],
|
19
|
-
[
|
20
|
-
"-73.9942745",
|
21
|
-
"40.7504158"
|
22
|
-
],
|
23
|
-
[
|
24
|
-
"-73.9942593",
|
25
|
-
"40.750629"
|
26
|
-
],
|
27
|
-
[
|
28
|
-
"-73.9941343",
|
29
|
-
"40.7508432"
|
30
|
-
],
|
31
|
-
[
|
32
|
-
"-73.9939794",
|
33
|
-
"40.7509703"
|
34
|
-
],
|
35
|
-
[
|
36
|
-
"-73.9938042",
|
37
|
-
"40.7510532"
|
38
|
-
],
|
39
|
-
[
|
40
|
-
"-73.9938025",
|
41
|
-
"40.7511311"
|
42
|
-
],
|
43
|
-
[
|
44
|
-
"-73.9936051",
|
45
|
-
"40.7511571"
|
46
|
-
],
|
47
|
-
[
|
48
|
-
"-73.9935673",
|
49
|
-
"40.751105"
|
50
|
-
],
|
51
|
-
[
|
52
|
-
"-73.9934095",
|
53
|
-
"40.7511089"
|
54
|
-
],
|
55
|
-
[
|
56
|
-
"-73.9931235",
|
57
|
-
"40.7510548"
|
58
|
-
],
|
59
|
-
[
|
60
|
-
"-73.9928863",
|
61
|
-
"40.7509311"
|
62
|
-
],
|
63
|
-
[
|
64
|
-
"-73.9928068",
|
65
|
-
"40.750949"
|
66
|
-
],
|
67
|
-
[
|
68
|
-
"-73.992721",
|
69
|
-
"40.7508515"
|
70
|
-
],
|
71
|
-
[
|
72
|
-
"-73.9927444",
|
73
|
-
"40.7507889"
|
74
|
-
],
|
75
|
-
[
|
76
|
-
"-73.9926693",
|
77
|
-
"40.7506457"
|
78
|
-
],
|
79
|
-
[
|
80
|
-
"-73.9926597",
|
81
|
-
"40.7503657"
|
82
|
-
],
|
83
|
-
[
|
84
|
-
"-73.9928305",
|
85
|
-
"40.7500953"
|
86
|
-
],
|
87
|
-
[
|
88
|
-
"-73.9929757",
|
89
|
-
"40.7499911"
|
90
|
-
],
|
91
|
-
[
|
92
|
-
"-73.9931281",
|
93
|
-
"40.7499238"
|
94
|
-
],
|
95
|
-
[
|
96
|
-
"-73.993133",
|
97
|
-
"40.7498631"
|
98
|
-
],
|
99
|
-
[
|
100
|
-
"-73.9932961",
|
101
|
-
"40.7498306"
|
102
|
-
],
|
103
|
-
[
|
104
|
-
"-73.9933664",
|
105
|
-
"40.7498742"
|
106
|
-
],
|
107
|
-
[
|
108
|
-
"-73.993471",
|
109
|
-
"40.7498701"
|
110
|
-
],
|
111
|
-
[
|
112
|
-
"-73.9938023",
|
113
|
-
"40.7499263"
|
114
|
-
],
|
115
|
-
[
|
116
|
-
"-73.9940703",
|
117
|
-
"40.7500756"
|
118
|
-
],
|
119
|
-
[
|
120
|
-
"-73.9941876",
|
121
|
-
"40.7502038"
|
122
|
-
],
|
123
|
-
[
|
124
|
-
"-73.9942831",
|
125
|
-
"40.7502142"
|
126
|
-
],
|
127
|
-
[
|
128
|
-
"-73.9943346",
|
129
|
-
"40.7503638"
|
130
|
-
]
|
131
|
-
],
|
132
|
-
"lat": "40.7504928941818",
|
133
|
-
"lon": "-73.993466492276",
|
134
|
-
"display_name": "Madison Square Garden, West 31st Street, Long Island City, New York City, New York, 10001, United States of America",
|
135
|
-
"class": "leisure",
|
136
|
-
"type": "stadium",
|
137
|
-
"address": {
|
138
|
-
"stadium": "Madison Square Garden",
|
139
|
-
"road": "West 31st Street",
|
140
|
-
"suburb": "Long Island City",
|
141
|
-
"city": "New York City",
|
142
|
-
"county": "New York",
|
143
|
-
"state": "New York",
|
144
|
-
"postcode": "10001",
|
145
|
-
"country": "United States of America",
|
146
|
-
"country_code": "us"
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
]
|
@@ -1 +0,0 @@
|
|
1
|
-
[ ]
|
@@ -1 +0,0 @@
|
|
1
|
-
<html>\n<head>\n<title>Bandwidth limit exceeded</title>\n</head>\n<body>\n<h1>Bandwidth limit exceeded</h1>\n\n<p>You have been temporarily blocked because you have been overusing OSM's geocoding service or because you have not provided sufficient identification of your application. This block will be automatically lifted after a while. Please take the time and adapt your scripts to reduce the number of requests and make sure that you send a valid UserAgent or Referer.</p>\n\n<p>For more information, consult the <a href=\"http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy\">usage policy</a> for the OSM Nominatim server.\n</body>\n</head>\n
|
@@ -1,67 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"status" : "OK",
|
3
|
-
"results" : [
|
4
|
-
{
|
5
|
-
"formatted_address" : "Kirstinmäki 1, 02760 Espoo, Suomi",
|
6
|
-
"sources" : [
|
7
|
-
{
|
8
|
-
"name" : "National Land Survey of Finland - Topographic Dataset (2013-03-08)",
|
9
|
-
"terms_of_use" : "National Land Survey open data licence - version 1.0 - 1 May 2012\nhttp://www.maanmittauslaitos.fi/en/NLS_open_data_licence_version1_20120501"
|
10
|
-
},
|
11
|
-
{
|
12
|
-
"name" : "Itella perusosoitteisto (2014-02-01)",
|
13
|
-
"terms_of_use" : "http://www.itella.fi/liitteet/palvelutjatuotteet/yhteystietopalvelut/Postinumeropalvelut-Palvelukuvausjakayttoehdot.pdf"
|
14
|
-
}
|
15
|
-
],
|
16
|
-
"types" : [
|
17
|
-
"street_address"
|
18
|
-
],
|
19
|
-
"address_components" : [
|
20
|
-
{
|
21
|
-
"types" : [
|
22
|
-
"street_number"
|
23
|
-
],
|
24
|
-
"short_name" : "1",
|
25
|
-
"long_name" : "1"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"types" : [
|
29
|
-
"route"
|
30
|
-
],
|
31
|
-
"short_name" : "Kirstinmäki",
|
32
|
-
"long_name" : "Kirstinmäki"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"types" : [
|
36
|
-
"administrative_area_level_3",
|
37
|
-
"political"
|
38
|
-
],
|
39
|
-
"short_name" : "Espoo",
|
40
|
-
"long_name" : "Espoo"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"types" : [
|
44
|
-
"postal_code"
|
45
|
-
],
|
46
|
-
"short_name" : "02760",
|
47
|
-
"long_name" : "02760"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"types" : [
|
51
|
-
"country",
|
52
|
-
"political"
|
53
|
-
],
|
54
|
-
"short_name" : "FI",
|
55
|
-
"long_name" : "Suomi"
|
56
|
-
}
|
57
|
-
],
|
58
|
-
"geometry" : {
|
59
|
-
"location" : {
|
60
|
-
"lat" : 60.2015185792087,
|
61
|
-
"lng" : 24.6667520050026
|
62
|
-
},
|
63
|
-
"location_type" : "RANGE_INTERPOLATED"
|
64
|
-
}
|
65
|
-
}
|
66
|
-
]
|
67
|
-
}
|
@@ -1,25 +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
|
-
"results": [ ],
|
13
|
-
"status": {
|
14
|
-
"code": 403,
|
15
|
-
"message": "invalid API key"
|
16
|
-
},
|
17
|
-
"thanks": "For using an OpenCage Data API",
|
18
|
-
"timestamp": {
|
19
|
-
"created_http": "Thu, 07 Aug 2014 14:26:28 GMT",
|
20
|
-
"created_unix": 1407421588
|
21
|
-
},
|
22
|
-
"total_results": 0,
|
23
|
-
"we_are_hiring": "http://lokku.com/#jobs"
|
24
|
-
|
25
|
-
}
|
@@ -1,26 +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
|
-
"results": [ ],
|
14
|
-
"status": {
|
15
|
-
"code": 400,
|
16
|
-
"message": "Attribute (format) does not pass the type constraint because: not a valid format"
|
17
|
-
},
|
18
|
-
"thanks": "For using an OpenCage Data API",
|
19
|
-
"timestamp": {
|
20
|
-
"created_http": "Thu, 07 Aug 2014 14:27:29 GMT",
|
21
|
-
"created_unix": 1407421649
|
22
|
-
},
|
23
|
-
"total_results": 0,
|
24
|
-
"we_are_hiring": "http://lokku.com/#jobs"
|
25
|
-
|
26
|
-
}
|
@@ -1,73 +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" : 2488,
|
15
|
-
"reset" : 1407369600
|
16
|
-
},
|
17
|
-
"results" : [
|
18
|
-
{
|
19
|
-
"annotations" : {
|
20
|
-
"OSM" : {
|
21
|
-
"url" : "http://www.openstreetmap.org/?mlat=40.75052&mlon=-73.99355#map=17/40.75052/-73.99355"
|
22
|
-
},
|
23
|
-
"timezone" : {
|
24
|
-
"name" : "America/New_York",
|
25
|
-
"now_in_dst" : 1,
|
26
|
-
"offset_sec" : -14400,
|
27
|
-
"offset_string" : -400,
|
28
|
-
"short_name" : "EDT"
|
29
|
-
}
|
30
|
-
},
|
31
|
-
"bounds" : {
|
32
|
-
"northeast" : {
|
33
|
-
"lat" : 40.751161,
|
34
|
-
"lng" : -73.9925922
|
35
|
-
},
|
36
|
-
"southwest" : {
|
37
|
-
"lat" : 40.7498531,
|
38
|
-
"lng" : -73.9944444
|
39
|
-
}
|
40
|
-
},
|
41
|
-
"components" : {
|
42
|
-
"country" : "United States of America",
|
43
|
-
"country_code" : "US",
|
44
|
-
"county" : "New York County",
|
45
|
-
"house_number" : 46,
|
46
|
-
"neighbourhood" : "Koreatown",
|
47
|
-
"postcode" : 10011,
|
48
|
-
"road" : "West 31st Street",
|
49
|
-
"city": "New York City",
|
50
|
-
"stadium" : "Madison Square Garden",
|
51
|
-
"state" : "New York",
|
52
|
-
"state_district" : "New York City"
|
53
|
-
},
|
54
|
-
"confidence" : 10,
|
55
|
-
"formatted" : "46, West 31st Street, Koreatown, New York County, 10011, New York City, New York, United States of America, Madison Square Garden",
|
56
|
-
"geometry" : {
|
57
|
-
"lat" : 40.7505247,
|
58
|
-
"lng" : -73.9935500942432
|
59
|
-
}
|
60
|
-
}
|
61
|
-
],
|
62
|
-
"status" : {
|
63
|
-
"code" : 200,
|
64
|
-
"message" : "OK"
|
65
|
-
},
|
66
|
-
"thanks" : "For using an OpenCage Data API",
|
67
|
-
"timestamp" : {
|
68
|
-
"created_http" : "Wed, 06 Aug 2014 12:53:59 GMT",
|
69
|
-
"created_unix" : 1407329639
|
70
|
-
},
|
71
|
-
"total_results" : 1,
|
72
|
-
"we_are_hiring" : "http://lokku.com/#jobs"
|
73
|
-
}
|