Related Topics |
---|
A common function in Web mapping applications is to allow users to find an address. You should use Author to initially set geocode properties. Author creates a geocode extension along with some geocode indexes for the layer. Once you have created the extension and indexes in Author, you can add additional geocode parameters in a text or XML editor.
For more details and examples, see GCSTYLE.
<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> |
<GCSTYLE name="USAddressZ" sideoffset="25" sideoffsetunits="feet" endoffset="4.0" spellingsensitivity="70"> |
These attributes are optional, and you do not need to include all of them.
Once you have added these attributes, you should not open or save your map configuration file in Author. Your edits will be removed.