Method | Description | |
---|---|---|
GoogleGeocoder ( |
Constructor for the Google geocoder source.
|
Method | Description | |
---|---|---|
InternalGeocode ( GeocodeRequest geocodeRequest ) : GeocodeResponse |
This is where actual source-specific geocoding happens. It is called internal because clients use
|
Method | Description | |
---|---|---|
ChildNodeText ( |
||
ScoreCandidate ( |
Create a score for the geocoder match. The v2 Geocoder returned an "accuracy" parameter that used to be retuned as the score. I have roughly mapped the match type to this old numeric scale: 0 Unknown location. 1 Country level accuracy. 2 Region (state, province, prefecture, etc.) level accuracy. 3 Sub-region (county, municipality, etc.) level accuracy. 4 Town (city, village) level accuracy. 5 Post code (zip code) level accuracy. 6 Street level accuracy. 7 Intersection level accuracy. 8 Address level accuracy. 9 Premise (building name, etc) level accuracy I weighted street_address over point_of_interest because this library primarily targeted at geocoding street addresses. |
|
XMLCandidate2GeocodeCandidate ( |
||
XMLList2GeocodeCandidates ( string xmlList ) : IList |
public GoogleGeocoder ( |
||
config | The config to use to construct the Google geocoder. | |
component | string | The component in the config in which to look for /// the configuration parameters. |
return | System |
protected InternalGeocode ( GeocodeRequest geocodeRequest ) : GeocodeResponse | ||
geocodeRequest | GeocodeRequest | The request to be geocoded. |
return | GeocodeResponse |