User Tools

Site Tools


thinkgeo.mapsuite.mapsuitegeocoder.coordinatesmatchingplugin

This is an old revision of the document!


ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin

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

N/A

Parameters

CoordinatesMatchingPlugin(String)

This is the constructor of this class.

Remarks

N/A

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

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

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

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()

This method opens the CoordinatesMatchingPlugin.

Remarks

N/A

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

CloseCore()

This method close the CoordinatesMatchingPlugin.

Remarks

N/A

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

N/A

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

N/A

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

N/A

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

Formalize(String)

N/A

Remarks

N/A

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

oxM=(GeocoderMatch)

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

DataPath

This property is the path to the Geocoder data folder.

Remarks

N/A

Return Value
  • Type:String

RankingMultiplier

N/A

Remarks

N/A

Return Value
  • Type:Int32

Protected Properties

Public Events

thinkgeo.mapsuite.mapsuitegeocoder.coordinatesmatchingplugin.1442819013.txt.gz · Last modified: 2015/09/21 07:03 by admin