The AGS Secure Geocode Service monitoring point checks a Secure ArcGIS Server Geocode service to see if it returns an x,y location for a valid address.
The parameters that are unique to the AGS Secure Geocode Service include:
Server Name
|
DNS name of server where Secure AGS Geocode service is located
|
Service Name
|
Name of the geocode service on an ArcGIS Server. If service is under a folder, name of folder/service is needed
|
userID |
AGS Admin user ID using either Windows or AGS security
Note: userID should be entered as encrypted information
|
userPW |
AGS Admin user PW
Note: userPW should be entered as encrypted information
|
Addr-from URL
|
This parameter needs to be retrieved from the geocode service REST interface for proper format.
For example, the parameter should take form of address=123+main+st&Zone =&outFields=&f=pjson
|
For non-secured AGS Geocode Services, refer to the AGS Geocode Service monitoring point script.
Retrieving the Addr-from URL parameter from the REST service is a several step process.
|
Step 1.1: Open your Internet browser and enter the URL for your ArcGIS® Rest Services
Example:
http://YourServerName/ArcGIS/Rest/Services
Select a GeoCode service from your list of services
|
|
Step 1.2: In the bottom left of the browser screen, locate "Supported Operations"
Click on [Find Address Candidates]
|
|
Step 1.3: Enter a valid address in the Address field
Note: your GeoCoder form view may vary from the image at the right
|
|
Step 1.4: Select JSON from the Format drop down box |
|
Step 1.5: Click on [Find] |
|
Step 1.6: Verify that valid data is returned
Note: If the data is not valid, the browser will display an empty page rather than x, y coordinates. If this happens, locate a valid address and re-enter the information as outlined in Step 1.3 |
|
Step 1.7: In the URL Address, locate and copy the information after the (?) to the end of the URL to pjson (including “pjson”):
Example of complete URL:
http://ServerName/ArcGIS/rest/services/CompositeLocator/GeocodeServer/findAddressCandidates?Address=123+main+ street&Zone=&outFields=&f=pjson
Portion to copy: {Address=123+main+street&Zone=&outFields=&f=pjson}
|
Step 1.8: Paste the URL portion into the Addr-from URL field provided |
Step 2: Click the [Create Monitor Point] button |