3
3
< head >
4
4
< meta charset ="utf-8 ">
5
5
< meta http-equiv ="X-UA-Compatible " content ="chrome=1 ">
6
- < title > Geocoder - The almost missing Geocoder PHP 5.3 library </ title >
6
+ < title > Geocoder by willdurand </ title >
7
7
8
8
< link rel ="stylesheet " href ="stylesheets/styles.css ">
9
9
< link rel ="stylesheet " href ="stylesheets/pygment_trac.css ">
@@ -90,7 +90,13 @@ <h3>HttpAdapters</h3>
90
90
< li >
91
91
< a href ="http://www.ign.fr/ "> IGN OpenLS</ a > as Address-Based geocoding provider (exclusively in France);</ li >
92
92
< li >
93
- < a href ="http://www.datasciencetoolkit.org/ "> DataScienceToolkit</ a > as IP-Based geocoding provider.</ li >
93
+ < a href ="http://www.datasciencetoolkit.org/ "> DataScienceToolkit</ a > as IP-Based geocoding provider;</ li >
94
+ < li >
95
+ < a href ="http://api.yandex.com.tr/maps/doc/geocoder/desc/concepts/About.xml "> Yandex</ a > as Address-Based geocoding and reverse geocoding provider;</ li >
96
+ < li >
97
+ < a href ="http://www.geoplugin.com/webservices "> GeoPlugin</ a > as IP-Based geocoding providers;</ li >
98
+ < li >
99
+ < a href ="http://www.geoips.com/developer/geoips-api "> GeoIPs</ a > as IP-Based geocoding providers.</ li >
94
100
</ ul > < h2 > Installation</ h2 >
95
101
96
102
< p > The recommended way to install Geocoder is through composer.</ p >
@@ -155,28 +161,32 @@ <h3>HostIpProvider</h3>
155
161
156
162
< h3 > IpInfoDbProvider</ h3 >
157
163
158
- < p > The < code > IpInfoDbProvider</ code > is able to geocode < strong > IPv4 addresses</ strong > only.</ p >
164
+ < p > The < code > IpInfoDbProvider</ code > is able to geocode < strong > IPv4 addresses</ strong > only.
165
+ A valid api key is required.</ p >
159
166
160
167
< h3 > YahooProvider</ h3 >
161
168
162
169
< p > The < code > YahooProvider</ code > is able to geocode both < strong > IPv4 addresses</ strong > and < strong > street addresses</ strong > .
163
- This provider can also reverse information based on coordinates (latitude, longitude).</ p >
170
+ This provider can also reverse information based on coordinates (latitude, longitude).
171
+ A valid api key is required.</ p >
164
172
165
173
< h3 > GoogleMapsProvider</ h3 >
166
174
167
175
< p > The < code > GoogleMapsProvider</ code > is able to geocode and reverse geocode < strong > street addresses</ strong > .</ p >
168
176
169
177
< h3 > BingMapsProvider</ h3 >
170
178
171
- < p > The < code > BingMapsProvider</ code > is able to geocode and reverse geocode < strong > street addresses</ strong > .</ p >
179
+ < p > The < code > BingMapsProvider</ code > is able to geocode and reverse geocode < strong > street addresses</ strong > .
180
+ A valid api key is required.</ p >
172
181
173
182
< h3 > OpenStreetMapsProvider</ h3 >
174
183
175
184
< p > The < code > OpenStreetMapsProvider</ code > is able to geocode and reverse geocode < strong > street addresses</ strong > .</ p >
176
185
177
186
< h3 > CloudMadeProvider</ h3 >
178
187
179
- < p > The < code > CloudMadeProvider</ code > is able to geocode and reverse geocode < strong > street addresses</ strong > .</ p >
188
+ < p > The < code > CloudMadeProvider</ code > is able to geocode and reverse geocode < strong > street addresses</ strong > .
189
+ A valid api key is required.</ p >
180
190
181
191
< h3 > GeoipProvider</ h3 >
182
192
@@ -205,12 +215,31 @@ <h3>GeocoderUsProvider</h3>
205
215
206
216
< h3 > IGNOpenLSProvider</ h3 >
207
217
208
- < p > The < code > IGNOpenLSProvider</ code > is able to geocode < strong > street addresses</ strong > only, exclusively in France.</ p >
218
+ < p > The < code > IGNOpenLSProvider</ code > is able to geocode < strong > street addresses</ strong > only, exclusively in France.
219
+ A valid api key is required.</ p >
209
220
210
221
< h3 > DataScienceToolkitProvider</ h3 >
211
222
212
223
< p > The < code > DataScienceToolkitProvider</ code > is able to geocode < strong > IPv4 addresses</ strong > only.</ p >
213
224
225
+ < h3 > YandexProvider</ h3 >
226
+
227
+ < p > The < code > YandexProvider</ code > is able to geocode and reverse geocode < strong > street addresses</ strong > .
228
+ The default langage-locale is < code > ru-RU</ code > , you can choose between < code > uk-UA</ code > , < code > be-BY</ code > ,
229
+ < code > en-US</ code > , < code > en-BR</ code > and < code > tr-TR</ code > .
230
+ This provider can also reverse information based on coordinates (latitude,
231
+ longitude). It's possible to precise the toponym to get more accurate result:
232
+ < code > house</ code > , < code > street</ code > , < code > metro</ code > , < code > district</ code > and < code > locality</ code > .</ p >
233
+
234
+ < h3 > GeoPluginProvider</ h3 >
235
+
236
+ < p > The < code > GeoPluginProvider</ code > is able to geocode < strong > IPv4 addresses and IPv6 addresses</ strong > only.</ p >
237
+
238
+ < h3 > GeoIPsProvider</ h3 >
239
+
240
+ < p > The < code > GeoIPsProvider</ code > is able to geocode < strong > IPv4 addresses</ strong > only.
241
+ A valid api key is required.</ p >
242
+
214
243
< p > You can use one of them or write your own provider. You can also register all providers and decide later.
215
244
That's we'll do:</ p >
216
245
@@ -449,6 +478,7 @@ <h2>Unit Tests</h2>
449
478
< span class ="c "> <!-- <server name="BINGMAPS_API_KEY" value="YOUR_API_KEY" /> --></ span >
450
479
< span class ="c "> <!-- <server name="CLOUDMADE_API_KEY" value="YOUR_API_KEY" /> --></ span >
451
480
< span class ="c "> <!-- <server name="IGN_WEB_API_KEY" value="YOUR_API_KEY" /> --></ span >
481
+ < span class ="c "> <!-- <server name="GEOIPS_API_KEY" value="YOUR_API_KEY" /> --></ span >
452
482
< span class ="nt "> </php></ span >
453
483
</ pre > </ div >
454
484
@@ -482,4 +512,4 @@ <h2>Credits</h2>
482
512
</ script >
483
513
484
514
</ body >
485
- </ html >
515
+ </ html >
0 commit comments