User Tools

Site Tools


thinkgeo.mapsuite.mapsuitegeocoder.coordinatesmatchingplugin

ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin

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 coordinate matching functions. The CoordinatesMatchingPlugin uses serveral DBF and R-Tree index files to accomplish matching operations. street.dbf: Contains non-geographic information for streets. rt2.dbf: Contains coordinate information for streets. tlid.dbf: Contains street TIGER line ID (TLID) and index in street.dbf. Sorted by TLID. zip.dbf: Contains zip code information. rt2.ids and rt2.idx: R-Tree index files for streets by zip.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin
      • ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin

Members Summary

Public Constructors

CoordinatesMatchingPlugin()

  • 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.CoordinatesMatchingPlugin#CoordinatesMatchingPlugin.28.29
Parameters

CoordinatesMatchingPlugin(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.CoordinatesMatchingPlugin#CoordinatesMatchingPlugin.28String.29
Parameters
  • dataPath
    • Type:String
    • Description:The path to the Geocoder data folder.

Protected Constructors

Public Methods

Dispose()

  • Releases all resources used by the CoordinatesMatchingPlugin.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#GetType.28.29
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

OpenCore()

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

CloseCore()

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

MatchCore(String)

  • This method matches the source text representing coordinates. It initializes the bounding box list for zip codes and tries to find which zip code area contains the coordinates by looping through that list. Next, it gets a street list from the R-Tree index file according to the zip bounding box that was found. It then calculates the distance between the point and the streets, and gets the street that is the shortest distance from the point.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin#MatchCore.28String.29
Return Value
  • Type:Collection<GeocoderMatch>
  • Description:The collection of GeocoderMatch object.
Parameters
  • sourceText
    • Type:String
    • Description:This parameter is the source text to match.

FormalizeCore(String)

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

Finalize()

  • This method is automatically called after an object becomes inaccessible, unless the object has been exempted from finalization by a call to SuppressFinalize.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#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.CoordinatesMatchingPlugin#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

DataPath

This property is the path to the Geocoder data folder.

Remarks
Return Value
  • Type:String

RankingMultiplier

This property is the ranking multipier for GeocoderMatch.

Remarks
Return Value
  • Type:Int32

Protected Properties

Public Events

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