Indexing geocode layers expand/collapse all
Related Topics

Setting geocoding properties

Adding geocode parameters to the geocode extension

GCSTYLE

expand/collapse item About indexing geocode layers

You may need to manually build geocode indices. In most cases you can create the indices using Author. You may need to reindex if you move shapefiles from one machine to another. You must manually create the indices if you are using the USAddressCityStateZip, USCityState, or WorldCityCountry geocode styles.

ArcIMS uses an executable called 'IndexBuilder' to build the geocoding indices. It takes in two arguments, 'AXL file' and the 'layer ID' to build the indices. The output consists of two files with extensions .gci and .xrf.

expand/collapse item How to index geocode layers

expand/collapse item Indexing geocode layers

  1. If you have any services running that point to the map configuration file for which the Geocoding Indices are to be built, delete these services in ArcIMS Administrator.
  2. Search for the IndexBuilder executable on your machine. The default location is <ArcIMS Installation Directory>\IndexBuilder\aimsindxb.exe.
  3. Open a command prompt and execute the following command:
    "\IndexBuilder\aimsindxb.exe" "\<map configuration file name>.axl" <layer id>

    In the following example, geocoding indices are created for the layer with id="2" in geocode.axl.

    "C:\Program Files\ArcGIS\ArcIMS\IndexBuilder\aimsindxb.exe" "C:\ArcIMS\AXL\geocode.axl" 2
  4. Verify the index files were created. Two files should be created for the layer: <layername>.gci and <layername>.xrf.

    Shapefile layers. The geocoding indices are built where the data resides. In the map configuration file, this is the location specified in SHAPEWORKSPACE directory.

    <SHAPEWORKSPACE name="shp_ws-0" directory="C:\Program Files\ArcGIS\ArcIMS\Samples\TutorialData" />

    ArcSDE layers. The location of the geocoding indices are specified in SDEWORKSPACE geoindexdir.

    <SDEWORKSPACE name="sde_ws-0" server="test" instance="port:5151" database="sde" user="sde" encrypted="true" password="KMQZGB" geoindexdir="C:\temp\" />


Search code: @author_geocodeindex