|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcweb.ArcWebAddressFinder
public class ArcWebAddressFinder
A description of the address used for geocoding or reverse geocoding.
ArcWebAddressFinder provides geocoding and reverse geocoding for your Internet applications. You can use ArcWebAddressFinder to input a street address, phone number, or IP address and receive a candidate list and associated x,y coordinates. You can also use this object to input x,y coordinates and receive a street address.
ArcWebAddressFinder allows you to perform the following functions:
For successful address matching (also called geocoding) at the house-level, the address must contain a certain combination of fields.
Possible combinations for successful geocoding are:
Street Address (House number and street, or P.O. Box), City, State/Province
Street Address (House number and street, or P.O. Box), Postal Code
Street Address (Street name only), Cross Street, City, State
Street Address (Street name only), Cross Street, Postal Code
Note: European geocoding doesn't use the State/Province field, but does require the Country field.
Each address you attempt to geocode costs the credit charge for the address data source you use.
Partial address support means that if you do not provide the complete address, you can still get a list of candidates based on the information you have entered. For example, if you only enter a city name, the result list contains cities whose name matches the name you entered. Address Finder can perform four levels of geocoding, with levels 3 and 4 representing partial address geocoding.
Level 1: House-level geocoding, returning the x, y coordinates of a complete address, such as 380 New York St, Redlands, CA 92373
Level 2: Intersection geocoding, returning the x,y of the intersection of two cross streets, such as
New York St AT Pine Ave, Redlands, CA 92373
Level 3: Street-level geocoding, returning the centroids of each street segment and area, such as 100-200 New York St, 92373 or New York St, 92373
Level 4: Place-level geocoding, returning the centroid of the place, such as Redlands, CA.
To turn on partial address support, first use the method ArcWenAddressFinder.GetDataSourceInfo to see which data sources support partial addresses, then set the object parameter ArcWebAddressFinderOptions.partialAddress.
| Constructor Summary | |
|---|---|
ArcWebAddressFinder()
Constructs a ArcWebAddressFinder using ArcGIS Engine. |
|
ArcWebAddressFinder(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ArcWebAddressFinder theArcWebAddressFinder = (ArcWebAddressFinder) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
IArcWebAddress |
findAddressByPoint(IPoint point,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
Returns an address for an x,y coordinate. |
IArcWebLocationInfo |
findLocationByAddress(IArcWebAddress arcWebAddress,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
Returns location information related to a specific address. |
IArcWebLocationInfo |
findLocationByIPAddress(String iPAddress,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
Returns location information for an IP address. |
IArcWebLocationInfo |
findLocationByPhoneNumber(String phoneNumber,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
Returns location information for a phone number. |
IEnumArcWebLocationInfo |
findLocationsByAddress(ITable addressTable,
IArcWebAddressFinderMapping fieldMapping,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
Returns location information related to several addresses. |
static String |
getClsid()
getClsid. |
IEnumArcWebAddressFinderInfo |
getDataSourceInfo(IEnumArcWebDataSourceInfo dataSourceInfo,
ITrackCancel cancelTracker)
Gets information about geocoding data sources. |
IEnumArcWebDataSourceInfo |
getSupportedDataSources(ITrackCancel pCancelTracker)
Gets the data sources information that can support this service. |
int |
hashCode()
the hashcode for this object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public ArcWebAddressFinder()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ArcWebAddressFinder(Object obj)
throws IOException
ArcWebAddressFinder theArcWebAddressFinder = (ArcWebAddressFinder) obj;
obj to ArcWebAddressFinder.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IEnumArcWebAddressFinderInfo getDataSourceInfo(IEnumArcWebDataSourceInfo dataSourceInfo,
ITrackCancel cancelTracker)
throws IOException,
AutomationException
getDataSourceInfo in interface IArcWebAddressFinderdataSourceInfo - A reference to a com.esri.arcgis.arcweb.IEnumArcWebDataSourceInfo (in)cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArcWebLocationInfo findLocationByAddress(IArcWebAddress arcWebAddress,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
throws IOException,
AutomationException
findLocationByAddress in interface IArcWebAddressFinderarcWebAddress - A reference to a com.esri.arcgis.arcweb.IArcWebAddress (in)addressFinderOptions - A reference to a com.esri.arcgis.arcweb.IArcWebAddressFinderOptions (in)cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumArcWebLocationInfo findLocationsByAddress(ITable addressTable,
IArcWebAddressFinderMapping fieldMapping,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
throws IOException,
AutomationException
findLocationsByAddress in interface IArcWebAddressFinderaddressTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)fieldMapping - A reference to a com.esri.arcgis.arcweb.IArcWebAddressFinderMapping (in)addressFinderOptions - A reference to a com.esri.arcgis.arcweb.IArcWebAddressFinderOptions (in)cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArcWebAddress findAddressByPoint(IPoint point,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
throws IOException,
AutomationException
findAddressByPoint in interface IArcWebAddressFinderpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)addressFinderOptions - A reference to a com.esri.arcgis.arcweb.IArcWebAddressFinderOptions (in)cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArcWebLocationInfo findLocationByPhoneNumber(String phoneNumber,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
throws IOException,
AutomationException
findLocationByPhoneNumber in interface IArcWebAddressFinderphoneNumber - The phoneNumber (in)addressFinderOptions - A reference to a com.esri.arcgis.arcweb.IArcWebAddressFinderOptions (in)cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArcWebLocationInfo findLocationByIPAddress(String iPAddress,
IArcWebAddressFinderOptions addressFinderOptions,
ITrackCancel cancelTracker)
throws IOException,
AutomationException
findLocationByIPAddress in interface IArcWebAddressFinderiPAddress - The iPAddress (in)addressFinderOptions - A reference to a com.esri.arcgis.arcweb.IArcWebAddressFinderOptions (in)cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumArcWebDataSourceInfo getSupportedDataSources(ITrackCancel pCancelTracker)
throws IOException,
AutomationException
getSupportedDataSources in interface IArcWebAddressFinderpCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||