|
120 | 120 | "outputs": [],
|
121 | 121 | "source": [
|
122 | 122 | "import geopy\n",
|
123 |
| - "geocoder = geopy.geocoders.Yandex(lang=\"en_US\")" |
| 123 | + "geocoder = geopy.geocoders.Nominatim(user_agent=\"mphy0021\") " |
124 | 124 | ]
|
125 | 125 | },
|
126 | 126 | {
|
|
131 | 131 | {
|
132 | 132 | "data": {
|
133 | 133 | "text/plain": [
|
134 |
| - "[Location(Cambridge, Cambridgeshire County, United Kingdom, (52.208145, 0.133023, 0.0)),\n", |
135 |
| - " Location(Cambridge, Ontario, Canada, (43.370599, -80.318989, 0.0)),\n", |
136 |
| - " Location(Cambridge, Middlesex County, Massachusetts, United States of America, (42.385899, -71.141684, 0.0)),\n", |
137 |
| - " Location(Cambridge, Washington County, State of Idaho, United States of America, (44.572039, -116.678507, 0.0)),\n", |
138 |
| - " Location(Cambridge, Isanti County, Minnesota, United States of America, (45.572595, -93.223783, 0.0)),\n", |
139 |
| - " Location(Cambridge, East London, Republic of South Africa, (-32.978267, 27.884695, 0.0)),\n", |
140 |
| - " Location(Cambridge, Waikato, New Zealand, (-37.889307, 175.465014, 0.0)),\n", |
141 |
| - " Location(Cambridge, Cambridgeshire County, United Kingdom, (52.210303, 0.176447, 0.0)),\n", |
142 |
| - " Location(Cambridge Bay, Nunavut, Canada, (69.11673, -105.067782, 0.0)),\n", |
143 |
| - " Location(Cambridge, Saint James, Jamaica, (18.291699, -77.895883, 0.0))]" |
| 134 | + "[Location(Cambridge, Cambridgeshire, East of England, England, United Kingdom, (52.2034823, 0.1235817, 0.0)),\n", |
| 135 | + " Location(Cambridge, Cambridgeshire, East of England, England, United Kingdom, (52.2034823, 0.1235817, 0.0)),\n", |
| 136 | + " Location(Cambridge, Middlesex County, Massachusetts, United States of America, (42.3750997, -71.1056157, 0.0)),\n", |
| 137 | + " Location(Cambridge, Region of Waterloo, Southwestern Ontario, Ontario, N1R 1T7, Canada, (43.3600536, -80.3123023, 0.0)),\n", |
| 138 | + " Location(Cambridge, Henry County, Illinois, United States of America, (41.3036472, -90.1928971, 0.0)),\n", |
| 139 | + " Location(Cambridge, Isanti County, Minnesota, 55008, United States of America, (45.5727408, -93.2243921, 0.0)),\n", |
| 140 | + " Location(Town Of Cambridge, Western Australia, Australia, (-31.935404, 115.79574791389207, 0.0)),\n", |
| 141 | + " Location(Cambridge, Story County, Iowa, 50046, United States of America, (41.8990768, -93.5294029, 0.0)),\n", |
| 142 | + " Location(Cambridge, Dorchester County, Maryland, 21613, United States of America, (38.5714624, -76.0763177, 0.0)),\n", |
| 143 | + " Location(Cambridge, Guernsey County, Ohio, 43725, United States of America, (40.031183, -81.5884561, 0.0))]" |
144 | 144 | ]
|
145 | 145 | },
|
146 | 146 | "execution_count": 2,
|
|
0 commit comments