====== ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin ====== {{section>upgrade_map_suite_to_10.0}} 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 ==== ** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==== ** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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<[[ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch|GeocoderMatch]]> * Description:A collection of GeocoderMatch. == Parameters == * //sourceText// * Type:String * Description:The source text to match.
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==== ** {{wiki:ProtectedMethod.gif|}} 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 ==
** {{wiki:ProtectedMethod.gif|}} 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 ==
** {{wiki:ProtectedMethod.gif|}} 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<[[ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch|GeocoderMatch]]> * Description:The collection of GeocoderMatch object. == Parameters == * //sourceText// * Type:String * Description:This parameter is the source text to match.
** {{wiki:ProtectedMethod.gif|}} 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 * Description:The collection containing possible coordinates. == Parameters == * //sourceText// * Type:String * Description:The source text to formalize.
** {{wiki:ProtectedMethod.gif|}} 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 ==
** {{wiki:ProtectedMethod.gif|}} 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 * Description:The collection of formalized strings. == Parameters == * //sourceText// * Type:String * Description:The source text to formalize.
** {{wiki:ProtectedMethod.gif|}} oxM=(GeocoderMatch) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //geocoderMatch// * Type:[[ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch|GeocoderMatch]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 ==== ** {{wiki:PublicProperty.gif|}} DataPath ** This property is the path to the Geocoder data folder. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin#DataPath == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} RankingMultiplier ** This property is the ranking multipier for GeocoderMatch. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin#RankingMultiplier == Return Value == * Type:Int32 ==== Protected Properties ==== ==== Public Events ====