Click or drag to resize

ConfidenceScores Structure

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Confidence that an Address found by geocoding is accurate. The score for each component of the address is between 0.0 and 1.0 inclusive, with 1.0 indicating a perfect match.

Namespace:  Telogis.GeoBase
Assembly: (in Version:
public struct ConfidenceScores

The ConfidenceScores type exposes the following members.

Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public fieldCode exampleCity
Confidence that the city is correct.
Public fieldCode exampleName
Confidence that the street name is correct.
Public fieldCode exampleNumber
Confidence that the street number is correct.
Public fieldCode examplePostcode
Confidence that the postcode is correct.
Public fieldCode examplePrefix
Confidence that the street prefix is correct. e.g. 'North Main Street', 'North' is the prefix.
Public fieldCode exampleRegion
Confidence that the region (or State) is correct.
Public fieldCode exampleSubregion
Confidence that the subregion is correct.
Public fieldCode exampleSuffix
Confidence that the street suffix is correct.
Public fieldCode exampleTypeAfter
Confidence that the street type is correct. The type-after refers to 'Street', 'Road', 'Drive', etc.
Public fieldCode exampleTypeBefore
Confidence that the prefixed-type is correct. e.g. In 'Rue Voltaire', 'Rue' is the type-before.
// Geocode an address
GeocodeAddress addr = GeoCoder.GeoCode("20 Enterprise, Aliso Viejo, California", Country.USA)[0];

if (addr == null) { 
    Console.WriteLine("Check you've got US map data installed!"); 

// How confident is the geocoder about this match?
Console.WriteLine(String.Format("Overall confidence: {0}", addr.Confidence));

// How confident is the geocoder that it found the right state?
Console.WriteLine(String.Format("Region confidence: {0}", addr.ConfidenceScores.Region));
See Also