User Tools

Site Tools


thinkgeo.mapsuite.mapsuitegeocoder.zipdbfmatchingplugin

ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class implements functions for matching zip codes.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin
      • ThinkGeo.MapSuite.MapSuiteGeocoder.DbfMatchingPlugin
        • ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin

Members Summary

Public Constructors

ZipDbfMatchingPlugin()

  • This is the constructor of this class.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#ZipDbfMatchingPlugin.28.29
Parameters

ZipDbfMatchingPlugin(String)

  • This is the constructor of this class.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#ZipDbfMatchingPlugin.28String.29
Parameters
  • pathFileName
    • Type:String
    • Description:The path and file name of the DBF file to be used for Zip Code Geocoding.

Protected Constructors

Public Methods

GetRecord(Int32)

  • This method gets a record by record index from the DBF file.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#GetRecord.28Int32.29
Return Value
  • Type:Dictionary<String,String>
  • Description:The record value.
Parameters
  • recordNumber
    • Type:Int32
    • Description:This parameter is the record number.

GetRecords(Int32,Int32)

  • This method gets records by using the specified range.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#GetRecords.28Int32.2C_Int32.29
Return Value
  • Type:Collection<Dictionary<String,String»
  • Description:The collection of record values.
Parameters
  • firstRecordNumber
    • Type:Int32
    • Description:This parameter is the first record number to get.
  • count
    • Type:Int32
    • Description:This parameter is the record count to return.

AddRecord(IEnumerable<Object>)

  • This method adds one record to the DBF file.
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • values
    • Type:IEnumerable<Object>
    • Description:This parameter represents a record in the DBF file.

Dispose()

  • Releases all resources used by the DbfMatchingPlugin.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#Dispose.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Match(String)

  • This method matches the source text and returns a collection of GeocoderMatch. This method is the concrete wrapper for MatchCore. It firstly formalizes the input sourceText, gets the formalized results and matches them using MatchCore one by one, then returns all of the results within a collection.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#Match.28String.29
Return Value
  • Type:Collection<GeocoderMatch>
  • Description:A collection of GeocoderMatch.
Parameters
  • sourceText
    • Type:String
    • Description:The source text to match.

Open()

  • This method opens the MatchingPlugin for use. This method is the concrete wrapper for OpenCore.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#Open.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

  • This method closes the MatchingPlugin. This method is the concrete wrapper for CloseCore.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#Close.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#ToString.28.29
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#Equals.28Object.29
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#GetHashCode.28.29
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#GetType.28.29
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

FhQ=()

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

FormalizeCore(String)

  • This method formalizes the source text to get possible zip codes.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#FormalizeCore.28String.29
Return Value
  • Type:Collection<String>
  • Description:The collection containing possible zip codes.
Parameters
  • sourceText
    • Type:String
    • Description:The source text to formalize.

OpenCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#OpenCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#CloseCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

MatchCore(String)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#MatchCore.28String.29
Return Value
Parameters
  • sourceText
    • Type:String
    • Description:N/A

SearchUpperBound(Int32,Int32,String,String)

  • This method gets the record number of the upper boundary of the matched results.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#SearchUpperBound.28Int32.2C_Int32.2C_String.2C_String.29
Return Value
  • Type:Int32
  • Description:The record number of the upper boundary of the matched results.
Parameters
  • firstRecordNumber
    • Type:Int32
    • Description:The first record number for the search.
  • lastRecordNumber
    • Type:Int32
    • Description:The last record number for the search.
  • sourceText
    • Type:String
    • Description:The source text to search for.
  • columnName
    • Type:String
    • Description:The name of the column on which the search is based.

SearchLowerBound(Int32,Int32,String,String)

  • This method gets the record number of the lower boundary of the matched results.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#SearchLowerBound.28Int32.2C_Int32.2C_String.2C_String.29
Return Value
  • Type:Int32
  • Description:The record number of the lower boundary of the matched results.
Parameters
  • firstRecordNumber
    • Type:Int32
    • Description:The first record number for the search.
  • lastRecordNumber
    • Type:Int32
    • Description:The last record number for the search.
  • sourceText
    • Type:String
    • Description:The source text to search for.
  • columnName
    • Type:String
    • Description:The name of the column on which the search is based.

GetKeyColumnName()

  • This method gets the key column name from the DBF file.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#GetKeyColumnName.28.29
Return Value
  • Type:String
  • Description:The key column name.
Parameters

BinarySearch(Int32,Int32,String,String)

  • This method does a binary search on the DBF file and returns the record it hits.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#BinarySearch.28Int32.2C_Int32.2C_String.2C_String.29
Return Value
  • Type:Dictionary<String,String>
  • Description:The record hits in the search.
Parameters
  • firstRecordNumber
    • Type:Int32
    • Description:The first record number for the search.
  • lastRecordNumber
    • Type:Int32
    • Description:The last record number for the search.
  • sourceText
    • Type:String
    • Description:The source text to match.
  • columnName
    • Type:String
    • Description:The name of the column on which the binaray search is based.

Finalize()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#Finalize.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Formalize(String)

  • This method formalizes the source text. This method is the concrete wrapper of FormalizeCore.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#Formalize.28String.29
Return Value
  • Type:Collection<String>
  • Description:The collection of formalized strings.
Parameters
  • sourceText
    • Type:String
    • Description:The source text to formalize.

oxM=(GeocoderMatch)

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

MemberwiseClone()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

PathFileName

Gets and sets the path and file name of the DBF file to be used for Geocoding.

Remarks
Return Value
  • Type:String

ReadWriteMode

The read/write mode for the DBF file.

Remarks
Return Value

RecordCount

This record count of the DBF file.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.ZipDbfMatchingPlugin#RecordCount

Return Value
  • Type:Int32

RankingMultiplier

This property is the ranking multipier for GeocoderMatch.

Remarks
Return Value
  • Type:Int32

Protected Properties

Public Events

thinkgeo.mapsuite.mapsuitegeocoder.zipdbfmatchingplugin.txt · Last modified: 2017/03/16 21:59 (external edit)