User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_geocoding

TGIS_Geocoding class

DK11 for .NET | TatukGIS.NDK.TGIS_Geocoding | Classes | Constructors | Fields | Methods | Properties | Events

Class encapsulates Geocoding support.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public class TGIS_Geocoding : TGIS_BaseObjectDisposable
{
}
' VisualBasic
Public Class TGIS_Geocoding
  Inherits TGIS_BaseObjectDisposable
End Class
// Oxygene
type
  TGIS_Geocoding = public class( TGIS_BaseObjectDisposable )
  end;

Inheritance

→ TGIS_BaseObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_Geocoding(TGIS_LayerVector) public Construct instance.
TGIS_Geocoding(TGIS_LayerVector, TGIS_ShapeType) public Construct instance.

Fields

Inherited Protected
Name Visibility Description
FOnAddress protected Event which will be fired on each found address.

Methods

Inherited Overrides Protected
Name Visibility Description
AddPoint public Add a new node connection point to the network
Clear public Clear any results from geocoding.
LoadFormulas(string, string) public Sets address formulas definition and other settings used by geocoding and reverse geocoding.
LoadFormulas(string, string, string) public Sets address formulas definition and other settings used by geocoding and reverse geocoding.
Match public Parses given address line.
Parse(string) public Parse an address line.
Parse(string, bool, bool) public Parse an address line.
ParseEx(string, bool, bool, bool) public Parses given address line.
ParseEx(TObjectList<TObject>, TObjectList<TObject>, bool, bool, bool) public Finds address point(s), or intersection(s) according to given matches.
ReverseGeocode(TGIS_Point, double, TGIS_Shape, string) public Returns the closest address to the given point.
ReverseGeocode(TGIS_Point, double, TGIS_Shape, string, string) public Returns the closest address to the given point.

Properties

Inherited Protected
Name Visibility Description
CityName public Field for the city name.
FormulasString public String in form of an INI file contents with address formulas definition.
HouseNumber public Field for the house number
LayerGeocoded public Layer with geocoded address.
LFrom public Field name for the starting number on the left side of the street.
LTo public Field name for the ending number on the left side of the street.
Offset public Offset describes the size of the space between street and address point.
Point public List of address points.
Query public String with processed query.
QueryEx public String with process query.
ReverseRestrictQuery public String with a query defined for reverse geocoding at the address formulas definition.
RFrom public Field name for the starting number on the right side of the street.
RoadName public Field for the feature name.
RTo public Field name for the ending number on the right side of the street.
StreetName public Field for the street name.
Uid public List of resolved streets Uids.
UidEx public List of resolved street Uids.
UniqueName public Field for a name of a special key indicating a unique street identifier.

Events

Inherited Protected
Name Visibility Description
AddressEvent public Event which will be fired on each found address.

Remarks

Currently arc- and point layers are supported. Any street fragment from intersection to intersection must be a separate shape. There are two ways the class can work:

  1. operating on addresses in the form of: “name 12xxx” (known from previous versions);
  2. basing on self-defined address formulas (see TGIS_AddressMatching class for more details how

to build the formulas).

Supports also Reverse Geocoding.

References

2019/01/25 17:03