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
Members Summary
Public Constructors
CoordinatesMatchingPlugin()
Parameters
CoordinatesMatchingPlugin(String)
Parameters
Protected Constructors
Public Methods
Dispose()
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.
Return Value
Parameters
Open()
Return Value
Type:Void
Description:N/A
Parameters
Close()
Return Value
Type:Void
Description:N/A
Parameters
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
OpenCore()
Return Value
Type:Void
Description:N/A
Parameters
CloseCore()
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.
Return Value
Parameters
FormalizeCore(String)
Return Value
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
Formalize(String)
Return Value
Parameters
oxM=(GeocoderMatch)
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
DataPath
This property is the path to the Geocoder data folder.
Return Value
RankingMultiplier
This property is the ranking multipier for GeocoderMatch.
Return Value
Protected Properties
Public Events