<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>Hello,<br><br>I want to give census tracts categories values ( layer tenn_county_all) based on there centroids location in a grid layer that I have made (tenn_county_grid). The grid is nubered 1-42 and also as letters i.e. row A colunm G. <br>&nbsp;I was planning to do something like<br><br>if centroid of tract X in grid box 12 write out category 12 for that tract X.&nbsp; <br><br>I don't want to do this by hand but I am not sure how or if I can query between two layers. <br><br>I am not attached to any particular method just need something that will do the job. <br><br>I looked up info on the web and found bounding box in v.edit so I think that is a way to go but have not seen anything on how to do this. <br><br>Thanks,<br><br>Matthew<br><a href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009"></a><br /><hr />Windows Live™: E-mail. Chat. Share. Get more ways to connect.  <a href='http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009' target='_new'>See how it works.</a></body>
</html>