Skip to main content
/_layouts/images/titlegraphic.gif

Public

Go Search
Public
  
Public > Documentation > DemoKeysCentroids  

DemoKeysCentroids

DemoKeysCentroids

 Purpose

This file assists Allocate with the SelectWithin function.  It is an optional file if you do not need the select within function.

 Usage

You would usually build this file after the polygons file, as it uses most of the same input.

It requires an .ini file in the same directory called "BuildDemoKeysCentroids.ini"  It contains the following fields:

LevelIDNameN=fileName
    where N=the level # in the DemoKeys file and fileName=the .tab or .mid/.mif file with the polygons.

LevelIDKeyFieldN=keyFieldName
    where N=the level # in the DemoKeys file and keyFieldName=the name of the field in the polygon file that contains the key.

DemoKeysFile=Full path to DemoKeys file that this build is for
FilePath=root path to the polygon files
OutputFile=The final file name for this file.

Example .ini

LevelIDName0=OUTPUTAREA_SORTED.TAB
LevelIDName1=LAD_UA_SORTED.tab
LevelIDName2=POSTALSECT_SORTED.tab


LevelIDKeyField0=GEO_KEY	
LevelIDKeyField1=GEO_KEY
LevelIDKeyField2=GEO_KEY


DemoKeysFile=\\Krusty\z\COUNTRY_UK\2005_04\BASE_BUILD\CNTRY_UK_05A_DEMOKEYS_A.src
FilePath=\\Krusty\z\COUNTRY_UK\2005_04\SOURCE\POLYGONS\
OutputFile=\\Krusty\z\COUNTRY_UK\2005_04\BASE_BUILD\CNTRY_UK_05A_DEMOKEYSCENTROIDS_A.src

 

Last modified at 12/13/2007 3:59 PM  by Ned Harding