Related Topics |
---|
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.
" |
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 |
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\" /> |