I have a shape file that has two columns in the dbf file. A and B
I would like to create a class break style that combines data from both columns in the shapefile with some external data.
The logic would be as follow:
if Column A = 1 then
return (Column B x P) - E1
else if Column A = 2 then
return (Column B x P) - E2
Where P, E1 and E2 are from data that not contained in the shape file but A and B are.
I tried using CustomerColumnFetch from one of the examples but I couldn't get that to work because I couldn't access the data form the other columns.
Any help would be appreciated.