User Tools

Site Tools


thinkgeo.mapsuite.mapsuitegeocoder.coordinatesmatchingplugin

This is an old revision of the document!


ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin

<!– Class –> 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.

Remarks

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodCoordinatesMatchingPlugin This is the constructor of this class.
Public MethodCoordinatesMatchingPlugin String This is the constructor of this class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodClose MatchingPlugin This method closes the MatchingPlugin. This method is the concrete wrapper for CloseCore.
Public MethodDispose Releases all resources used by the CoordinatesMatchingPlugin.
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodMatch String MatchingPlugin 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.
Public MethodOpen MatchingPlugin This method opens the MatchingPlugin for use. This method is the concrete wrapper for OpenCore.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodCloseCore MatchingPlugin(overriden) This method close the CoordinatesMatchingPlugin.
Protected MethodFinalize Object(overriden) This method is automatically called after an object becomes inaccessible, unless the object has been exempted from finalization by a call to SuppressFinalize.
Protected MethodFormalize String MatchingPlugin This method formalizes the source text. This method is the concrete wrapper of FormalizeCore.
Protected MethodFormalizeCore String MatchingPlugin(overriden) This method formalizes the source text to get possible coordinates.
Protected MethodMatchCore String MatchingPlugin(overriden) 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.
Protected MethodMemberwiseClone Object
Protected MethodOpenCore MatchingPlugin(overriden) This method opens the CoordinatesMatchingPlugin.

Public Properties

Name Return DeclaringType Summary
Public PropertyDataPath String This property is the path to the Geocoder data folder.
Public PropertyRankingMultiplier Int32 MatchingPlugin This property is the ranking multipier for GeocoderMatch.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

CoordinatesMatchingPlugin()

This is the constructor of this class.

Remarks

Parameters

Name Type Description

Go Back

CoordinatesMatchingPlugin(String)

This is the constructor of this class.

Remarks

Parameters

Name Type Description
dataPath String<!– System.String –> The path to the Geocoder data folder.

Go Back

Protected Constructors

Public Methods

Close()

This method closes the MatchingPlugin. This method is the concrete wrapper for CloseCore.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

Dispose()

Releases all resources used by the CoordinatesMatchingPlugin.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin –> Go Back

Equals(Object)

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Remarks

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Remarks

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

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

Return Value

Return Type Description
Collection<GeocoderMatch><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch} –> A collection of GeocoderMatch.

Parameters

Name Type Description
sourceText String<!– System.String –> The source text to match.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

Open()

This method opens the MatchingPlugin for use. This method is the concrete wrapper for OpenCore.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

ToString()

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

CloseCore()

This method close the CoordinatesMatchingPlugin.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin(overriden) –> Go Back

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

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object(overriden) –> Go Back

Formalize(String)

This method formalizes the source text. This method is the concrete wrapper of FormalizeCore.

Remarks

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –> The collection of formalized strings.

Parameters

Name Type Description
sourceText String<!– System.String –> The source text to formalize.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

FormalizeCore(String)

This method formalizes the source text to get possible coordinates.

Remarks

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –> The collection containing possible coordinates.

Parameters

Name Type Description
sourceText String<!– System.String –> The source text to formalize.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin(overriden) –> Go Back

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

Return Value

Return Type Description
Collection<GeocoderMatch><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch} –> The collection of GeocoderMatch object.

Parameters

Name Type Description
sourceText String<!– System.String –> This parameter is the source text to match.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin(overriden) –> Go Back

MemberwiseClone()

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OpenCore()

This method opens the CoordinatesMatchingPlugin.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin(overriden) –> Go Back

Public Properties

DataPath

This property is the path to the Geocoder data folder.

Remarks

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin –> Go Back

RankingMultiplier

This property is the ranking multipier for GeocoderMatch.

Remarks

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.mapsuitegeocoder.coordinatesmatchingplugin.1440040131.txt.gz · Last modified: 2015/09/21 07:03 (external edit)