This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
howtos:toolcoding:mapex5 [2011/06/14 18:06] chris.strashok created |
howtos:toolcoding:mapex5 [2011/06/16 18:43] chris.strashok |
||
---|---|---|---|
Line 5: | Line 5: | ||
localinformant province[] = create (; object=set, delimiter=",", \ | localinformant province[] = create (; object=set, delimiter=",", \ | ||
allowDuplicate=on, \ | allowDuplicate=on, \ | ||
- | elemNamesFromColNum=1, firstLine=2, \ | + | elemNamesFromLineNum=1, firstCol=1, \ |
- | lastLine=7, \ | + | lastCol=6, \ |
file=$fullFileName) | file=$fullFileName) | ||
- | localinformant location[] = create (; object=set, delimiter=",", \ | + | localinformant location[] = create (; object=set, \ |
- | allowDuplicate=on, \ | + | elemName1="central", \ |
- | elemNamesFromLineNum=1, firstCol=2, \ | + | elemName2="east", \ |
- | lastCol=4, \ | + | elemName3="west") |
- | file=$fullFileName) | + | |
localinformant provLoc[p->l] = create (; object=category, groups=province, members=location, \ | localinformant provLoc[p->l] = create (; object=category, groups=province, members=location, \ | ||
Line 23: | Line 22: | ||
"PEI"="east") | "PEI"="east") | ||
- | local regionData[p,l] = create (; dim=province, dim=location, \ | + | local provinceData[p] = create (; dim=province, \ |
dataFormat="odometer", \ | dataFormat="odometer", \ | ||
delimiter=",", \ | delimiter=",", \ | ||
- | firstLine=2, firstCol=2, \ | + | firstLine=2, firstCol=1, \ |
ignoreExtraLines=on, \ | ignoreExtraLines=on, \ | ||
- | ignoreExtraCols=on, \ | + | ignoreExtraCols=on, \ |
file=$fullFileName) | file=$fullFileName) | ||
</code> | </code> |