You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-19Lines changed: 18 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,37 +111,36 @@ var geocoder = NodeGeocoder({
111
111
});
112
112
```
113
113
114
-
## Geocoder Provider
115
-
114
+
## Geocoder Providers (in alphabetical order)
115
+
*`agol` : ArcGis Online Geocoding service. Supports geocoding and reverse. Requires a client_id & client_secret and 'https' http adapter
116
+
*`datasciencetoolkit` : DataScienceToolkitGeocoder. Supports IPv4 geocoding and address geocoding. Use `options.host` to specify a local instance
117
+
*`freegeoip` : FreegeoipGeocoder. Supports IP geocoding
118
+
*`geocodio`: Geocodio, Supports address geocoding and reverse geocoding (US only)
116
119
*`google` : GoogleGeocoder. Supports address geocoding and reverse geocoding. Use `options.clientId`and `options.apiKey`(privateKey) for business licence. You can also use `options.language` and `options.region` to specify language and region, respectively. Note that 'https' is required when using an apiKey
117
120
*`here` : HereGeocoder. Supports address geocoding and reverse geocoding. You must specify `options.appId` and `options.appCode` with your license keys. You can also use `options.language`, `options.politicalView` ([read about political views here](https://developer.here.com/rest-apis/documentation/geocoder/topics/political-views.html)), `options.country`, and `options.state`.
118
-
*`freegeoip` : FreegeoipGeocoder. Supports IP geocoding
119
-
*`datasciencetoolkit` : DataScienceToolkitGeocoder. Supports IPv4 geocoding and address geocoding. Use `options.host` to specify a local instance
120
-
*`openstreetmap` : OpenStreetMapGeocoder. Supports address geocoding and reverse geocoding. You can use `options.language` and `options.email` to specify a language and a contact email address.
121
-
* For `geocode`, you can use an object as value, specifying one or several parameters from https://wiki.openstreetmap.org/wiki/Nominatim#Parameters
122
-
* For `reverse`, you can use additional parameters from https://wiki.openstreetmap.org/wiki/Nominatim#Parameters_2
123
-
* You should specify a specific `user-agent` or `referrer` header field as required by
* Set `options.osmServer` to use custom nominatim server. Example: you can setup local nominatim server from instructions at [this page](http://wiki.openstreetmap.org/wiki/Nominatim/Installation) and set `options.osmServer: http://localhost:8000` to use local server.
126
121
*`locationiq` : LocationIQGeocoder. Supports address geocoding and reverse geocoding just like openstreetmap but does require only a locationiq api key to be set.
127
122
* For `geocode` you can use simple `q` parameter or an object containing th edifferent parameters defined here: http://locationiq.org/#docs
128
123
* For `reverse`, you can pass over `{lat, lon}` and additional parameters defined in http://locationiq.org/#docs
129
124
* No need to specify referer or email addresses, just locationiq api key, note that there are rate limits!
130
125
*`mapquest` : MapQuestGeocoder. Supports address geocoding and reverse geocoding. Needs an apiKey
131
-
*`openmapquest` : Open MapQuestGeocoder (based on OpenStreetMapGeocoder). Supports address geocoding and reverse geocoding. Needs an apiKey
132
-
*`agol` : ArcGis Online Geocoding service. Supports geocoding and reverse. Requires a client_id & client_secret and 'https' http adapter
133
-
*`tomtom`: TomTomGeocoder. Supports address geocoding. You need to specify `options.apiKey`
134
-
*`virtualearth`: VirtualEarthGeocoder (Bing maps). Supports address geocoding. You need to specify `options.apiKey`
135
126
*`nominatimmapquest`: Same geocoder as `openstreetmap`, but queries the MapQuest servers. You need to specify `options.apiKey`
136
-
*`opencage`: OpenCage Geocoder. Uses multiple open sources. Supports address and reverse geocoding. You need to specify `options.apiKey`
137
-
*`smartyStreet`: Smarty street geocoder (US only), you need to specify `options.auth_id` and `options.auth_token`
138
-
*`geocodio`: Geocodio, Supports address geocoding and reverse geocoding (US only)
139
-
*`yandex`: Yandex support address geocoding, you can use `options.language` to specify language
140
-
*`teleport`: Teleport supports city and urban area forward and reverse geocoding; for more information, see [Teleport API documentation](https://developers.teleport.org/api/)
127
+
*`opencage`: OpenCage Geocoder. Aggregates many different open geocoder. Supports address and reverse geocoding with [many optional parameters](https://opencagedata.com/api#forward-opt). You need to specify `options.apiKey` which can be obtained at [OpenCage](https://opencagedata.com).
141
128
*`opendatafrance`: OpendataFranceGeocoder supports forward and reverse geocoding in France; for more information, see [OpendataFrance API documentation](https://adresse.data.gouv.fr/api/)
129
+
*`openmapquest` : Open MapQuestGeocoder (based on OpenStreetMapGeocoder). Supports address geocoding and reverse geocoding. Needs an apiKey
130
+
*`openstreetmap` : OpenStreetMapGeocoder. Supports address geocoding and reverse geocoding. You can use `options.language` and `options.email` to specify a language and a contact email address.
131
+
* For `geocode`, you can use an object as value, specifying [one or several parameters](https://wiki.openstreetmap.org/wiki/Nominatim#Parameters)
132
+
* For `reverse`, you can use [additional parameters](https://wiki.openstreetmap.org/wiki/Nominatim#Parameters_2)
133
+
* You should specify a specific `user-agent` or `referrer` header field as required by the [OpenStreetMap Usage Policy](https://wiki.openstreetmap.org/wiki/Nominatim_usage_policy)
134
+
* Set `options.osmServer` to use custom nominatim server. Example: you can setup local nominatim server by following [these instructions](http://wiki.openstreetmap.org/wiki/Nominatim/Installation) and set `options.osmServer: http://localhost:8000` to use local server.
135
+
*`nominatimmapquest`: Same geocoder as `openstreetmap`, but queries the MapQuest servers. You need to specify `options.apiKey`
142
136
*`pickpoint`: PickPoint Geocoder. Supports address geocoding and reverse geocoding. You need to specify `options.apiKey` obtained at [PickPoint](https://pickpoint.io). `https` is required.
143
137
* As parameter for `geocode` function you can use a string representing an address like "13 rue sainte catherine" or an object with parameters described in [Forward Geocoding Reference](https://pickpoint.io/api-reference#forward-geocoding).
144
138
* For `geocode` function you should use an object where `{lat, lon}` are required parameters. Additional parameters like `zoom` are available, see details in [Reverse Geocoding Reference](https://pickpoint.io/api-reference#reverse-geocoding).
139
+
*`smartyStreet`: Smarty street geocoder (US only), you need to specify `options.auth_id` and `options.auth_token`
140
+
*`teleport`: Teleport supports city and urban area forward and reverse geocoding; for more information, see [Teleport API documentation](https://developers.teleport.org/api/)
141
+
*`tomtom`: TomTomGeocoder. Supports address geocoding. You need to specify `options.apiKey`
142
+
*`virtualearth`: VirtualEarthGeocoder (Bing maps). Supports address geocoding. You need to specify `options.apiKey`
143
+
*`yandex`: Yandex support address geocoding, you can use `options.language` to specify language
0 commit comments