GCFIELD  Examples

Used in:  CONFIG  
Parent elements:  GCSTYLE  

<GCFIELD Attribute Description Table

     id ="string"
     name ="string"
>

     No Child Elements
</GCFIELD >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for GCFIELD:

Attribute Usage Back to Top
id The ID values for an address style. See the examples under GCSTYLE for the values needed for each style.
name Name of field from database.
 

Examples for GCFIELD:

Example 1: Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <CONFIG>
    <ENVIRONMENT>
      <LOCALE country="US" language="en" variant="" />
      <UIFONT color="0,0,0" name="Arial" size="12" style="regular" />
      <SCREEN dpi="96" />
    </ENVIRONMENT>
    <MAP>
      <PROPERTIES>
       <ENVELOPE minx="-71.077092" miny="42.357962" maxx="-71.034511" maxy="42.385263" name="Initial_Extent" />
       <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
       <SHAPEWORKSPACE name="shp_ws-64" directory="<path to data>" />
      </WORKSPACES>
      <LAYER type="featureclass" name="Streets" visible="true" id="4">
       <DATASET name="bosstreets" type="line" workspace="shp_ws-64" />
       <SIMPLERENDERER>
         <SIMPLELINESYMBOL type="solid" width="2" color="255,0,0" />
       </SIMPLERENDERER>
       <EXTENSION type="Geocode">
         <GCSTYLE name="USAddressZ">
           <GCFIELD id="FromLeft" name="L_F_ADD" />
           <GCFIELD id="FromRight" name="R_F_ADD" />
           <GCFIELD id="ToLeft" name="L_T_ADD" />
           <GCFIELD id="ToRight" name="R_T_ADD" />
           <GCFIELD id="PreDir" name="PREFIX" />
           <GCFIELD id="PreType" name="PRE_TYPE" />
           <GCFIELD id="StreetName" name="NAME" />
           <GCFIELD id="StreetType" name="TYPE" />
           <GCFIELD id="SufDir" name="SUFFIX" />
           <GCFIELD id="LeftZone" name="ZIPL" />
           <GCFIELD id="RightZone" name="ZIPR" />
         </GCSTYLE>
       </EXTENSION>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>