GEOCODE

Used in

RESPONSE  

Servers

Geocode  

Parent elements

RESPONSE 

Syntax

<GEOCODE >
     No Attributes

     (r)<GCCOUNT... />
     (m)<FEATURE... />

</GEOCODE >
(r): Attribute or child element is required.
(m):  Child element can be used multiple times.

Description

Returns a list of address candidates and corresponding x,y coordinates.

Notes

 

Examples for GEOCODE

<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<RESPONSE>
<GEOCODE>
  <FEATURE featureid="1">
    <FIELD type="4" name="SCORE" size="5" precision="0">
      <FIELDVALUE valuestring="100" />
    </FIELD>
    <FIELD type="12" name="ADDRESSFOUND" size="21" precision="0">
      <FIELDVALUE valuestring="380 NEW YORK ST 92373" />
    </FIELD>
    <FIELD type="-98" name="SHAPEFIELD">
      <FIELDVALUE>
        <POINT x="-117.19496116" y="34.05777355" />
      </FIELDVALUE>
    </FIELD>
  </FEATURE>
  <GCCOUNT count="1" />
</GEOCODE>
</RESPONSE>
</ARCXML>

Back to top