Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfidenceScore

Represents the 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.

Hierarchy

  • ConfidenceScore

Index

Constructors

constructor

  • new ConfidenceScore(city: number, name: number, number: number, postcode: number, prefix: number, region: number, subregion: number, suffix: number, typeAfter: number, typeBefore: number): ConfidenceScore
  • Initializes a ConfidenceScore object, which represents the confidence that an address found by geocoding is accurate.

    Parameters

    • city: number
    • name: number
    • number: number
    • postcode: number
    • prefix: number
    • region: number
    • subregion: number
    • suffix: number
    • typeAfter: number
    • typeBefore: number

    Returns ConfidenceScore

Properties

city

city: number

Confidence that the city is correct.

name

name: number

Confidence that the street name is correct.

number

number: number

Confidence that the street number is correct.

postcode

postcode: number

Confidence that the postcode is correct.

prefix

prefix: number

Confidence that the street prefix is correct, e.g. for 'North Main Street', 'North' is the prefix.

region

region: number

Confidence that the region (or state) is correct.

subregion

subregion: number

Confidence that the subregion is correct.

suffix

suffix: number

Confidence that the street suffix is correct.

typeAfter

typeAfter: number

Confidence that the street type is correct. The type-after refers to 'Street', 'Road', 'Drive', etc.

typeBefore

typeBefore: number

Confidence that the prefixed street type is correct. e.g. for 'Rue Voltaire', 'Rue' is the type-before.

Static ASSEMBLY_NAME

ASSEMBLY_NAME: string = GEOBASE_ASSEMBLY_NAME

Static CLASS_NAME

CLASS_NAME: string = "Telogis.GeoBase.ConfidenceScores"

Generated using TypeDoc