User Tools

Site Tools


thinkgeo.mapsuite.mapsuitegeocoder.usageocoder

This is an old revision of the document!


ThinkGeo.MapSuite.MapSuiteGeocoder.UsaGeocoder

This class is for United States Geocoding.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.MapSuiteGeocoder.Geocoder
      • ThinkGeo.MapSuite.MapSuiteGeocoder.UsaGeocoder

Members Summary

Public Constructors

UsaGeocoder()

This is the constructor of this class.

Remarks

N/A

Parameters

UsaGeocoder(String)

This is the constructor of this class.

Remarks

N/A

Parameters
  • dataPath
    • Type:String
    • Description:The path to the Geocoder data folder.

UsaGeocoder(String,MatchMode)

This is the constructor of this class.

Remarks

N/A

Parameters
  • dataPath
    • Type:String
    • Description:The path to the Geocoder data folder.
  • matchMode
    • Type:MatchMode
    • Description:This parameter represents the match mode.

UsaGeocoder(String,StreetNumberMatchingMode)

This is the constructor of this class.

Remarks

N/A

Parameters
  • dataPath
    • Type:String
    • Description:The path to the Geocoder data folder.
  • streetNumberMatchingMode

UsaGeocoder(String,MatchMode,StreetNumberMatchingMode)

This is the constructor of this class.

Remarks

N/A

Parameters
  • dataPath
    • Type:String
    • Description:The path to the Geocoder data folder.
  • matchMode
    • Type:MatchMode
    • Description:This parameter represents the match mode.
  • streetNumberMatchingMode

Protected Constructors

Public Methods

Match(String,String)

This method matches the specified street address and zip code.

Remarks

N/A

Return Value
  • Type:Collection<GeocoderMatch>
  • Description:The matched results within a collection of GeocoderMatch.
Parameters
  • streetAddress
    • Type:String
    • Description:This parameter is the street address to match.
  • zip
    • Type:String
    • Description:This parameter is the zip code to match.

Match(String,String,String)

This method matches the specified street address, city and state.

Remarks

N/A

Return Value
  • Type:Collection<GeocoderMatch>
  • Description:The matched results within a collection of GeocoderMatch.
Parameters
  • streetAddress
    • Type:String
    • Description:This parameter is the street address to match.
  • city
    • Type:String
    • Description:This parameter is the city to match.
  • state
    • Type:String
    • Description:This parameter is the state to match.

Open()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Match(String)

N/A

Remarks

N/A

Return Value
Parameters
  • sourceText
    • Type:String
    • Description:N/A

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

OpenCore()

Opens all of the internal MatchingPlugins.

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MatchCore(String)

This method matches the source text.

Remarks

This method calls the match method of each MatchingPlugIn object and then evaluates the match results from each MatchingPlugIn object to get the best match items.

Return Value
  • Type:Collection<GeocoderMatch>
  • Description:The matched results within a collection of GeocoderMatch.
Parameters
  • sourceText
    • Type:String
    • Description:The source text to match.

EvaluateMatchResults(IEnumerable<GeocoderMatch>)

This method evaluates the MatchItems from different MatchingPlugIns and gets the final MatchResult. This is a concrete wrapper for EvaluateMatchResultsCore.

Remarks

N/A

Return Value
  • Type:Collection<GeocoderMatch>
  • Description:The evaluated results within a collection of GeocoderMatch.
Parameters
  • sourceMatchItems
    • Type:IEnumerable<GeocoderMatch>
    • Description:The collection of GeocoderMatch.

EvaluateMatchResultsCore(IEnumerable<GeocoderMatch>)

This method evaluates the MatchItems from different MatchingPlugIns and gets the final MatchResult. This method adds all MatchItems into one list, then loops though and evaluates every two MatchItems, sorts the MatchItems by the MatchRanking property of the MatchItem, and finally adds them to MatchResult. When evaluating two MatchItems, if the name-value pairs of the two MatchItems have the same key and that key is in the compare key array, just compare the value. If the values are equal then use the MatchRanking plus the RankingMultiplier.

Remarks

N/A

Return Value
Parameters
  • sourceMatchItems
    • Type:IEnumerable<GeocoderMatch>
    • Description:The collection of MatchItems.

CloseCore()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

MatchMode

This parameter represents the match mode.

Remarks

N/A

Return Value

StreetNumberMatchingMode

This parameter represents the street number matching mode mode.

Remarks

N/A

Return Value

DataPath

N/A

Remarks

N/A

Return Value
  • Type:String

MatchingPlugIns

N/A

Remarks

N/A

Return Value

Protected Properties

Public Events

thinkgeo.mapsuite.mapsuitegeocoder.usageocoder.1442819051.txt.gz · Last modified: 2015/09/21 07:04 by admin