Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1952

Model Builder & Updating Tables questions

$
0
0
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 ?
Raster Map Attributes
Code:

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

Vector Map Attributes
Code:

OBJECTIDa200V7        a200V11        a200V12        a200V13        a200V14        a200V15
17953        0.002235        0.045597        0.000447        0.916853        0.030845        0.004023

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.
Final Raster Map Attributes
Code:

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

Any ideas on how to accomplish this in Model Builder ?

Thanks !

Viewing all articles
Browse latest Browse all 1952

Latest Images

Trending Articles



Latest Images