doncatanzaro

Model Builder & Updating Tables questions

Discussion created by doncatanzaro on Mar 7, 2013
Hi All,

I am doing a bit of QC on a project and I want to automate as much of the process as possible in Model Builder.  Basically I am tasked with QC on a GME call isectpolyrst (http://www.spatialecology.com/gme/isectpolyrst.htm)

So my Model zooms into a polygon feature calculate the percentage(s) of areas each of the raster categories and adds that as a new field (PercentArea) to the raster map.

The output from isectpoyrst just adds to the percentages as attributes to the polygon.  The Field Name(s) come from the categories so if you had three categories in your raster file (1,2,3) your polygon will now have three new categories with the percentages.  My categories would be a200V1, a200V2, and a200V3).

So my question is this ...  How do I 'join' the two results ? 

[INDENT]Raster Map Attributes
OBJECTIDValue Count PercentArea
1 7 5 0.002235
2 11 102 0.045597
3 12 1 0.000447
4 13 2051 0.916853
5 14 69 0.030845
6 15 9 0.004023
[/INDENT]

Vector Map Attributes
[INDENT]
OBJECTIDa200V7 a200V11 a200V12 a200V13 a200V14 a200V15
17953 0.002235 0.045597 0.000447 0.916853 0.030845 0.004023

[/INDENT]

So you can see that the Attribute Fields of the vector map is related to the Values of the raster map.

Basically I need to match these values up so I can do a simple difference by adding a new field to the raster map and then updating it with the appropriate vector map attributes. 

[INDENT]Final Raster Map Attributes
OBJECTIDValue Count PercentArea VectorPercentArea
1 7 5 0.002235     From Vector Map
2 11 102 0.045597
3 12 1 0.000447
4 13 2051 0.916853
5 14 69 0.030845
6 15 9 0.004023
[/INDENT]

Any ideas on how to accomplish this in Model Builder ?

Thanks !

Outcomes