GET_GEOCODE  Examples

Used in:  REQUEST  
Servers:  Geocode  
Parent elements:  REQUEST  

<GET_GEOCODE Attribute Description Table

     maxcandidates ="integer"  [20]
     minscore ="0 – 100"  [60]
>

     <ADDRESS... />
     <LAYER... />
     <FEATURECOORDSYS... />

</GET_GEOCODE >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for GET_GEOCODE:

Attribute Usage Back to Top
maxcandidates 1 Maximum number of returned candidates.
minscore 2 Minimum score of returned candidates. If not included, all candidates with scores above 60 are returned. A candidate with a score of 100 means a perfect match, and 0 means no match.
 

Examples for GET_GEOCODE:

Example 1: Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_GEOCODE maxcandidates="25"  minscore="60">
      <LAYER id="streets" />
      <ADDRESS>
        <GCTAG id="STREET" value="380 New York St" />
        <GCTAG id="Zone" value="92373" />
        <GCTAG id="CrossStreet" value="" />
      </ADDRESS>
    </GET_GEOCODE>
  </REQUEST>      
</ARCXML>