Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to calculate the angle and distance of points to surrounding polygons. The table is good and what I need but it doesn't maintain all records; the unique point and polygon IDs are not there. Is there a way to maintain those? I will need them for further calculations.

I'm using the "Generate Near Table" tool in ArcGIS 10. There are complete columns missing. I have a specific ID number assigned to each record and that column amongst others that I don't care about as much, didn't come with. The rows seem all there, I think, but not all columns. I can't join the near table with any data layer either to get that column back.

share|improve this question
1  
Some clarification would help. What software are you using? Which specific tool or technique are you using to calculate nearest neighbor? Are there entire records (rows) missing, or is each record missing values for particular attributes (columns)? –  user3461 Mar 17 '12 at 11:40
    
I'm using the "generate near table" tool in ArcGIS 10. There are complete columns missing. I have specific ID # assigned to each record and that column amongst others that I don't care about as much, didn't come with. The rows seem all there, I think, but not all columns. I can't join the near table with any data layer either to get that column back. –  Julia Mar 20 '12 at 20:30

1 Answer 1

Because near tables can be absolutely massive, they only contain the bare minimum amount of information. You have to join them back to the input data using either IN_FID or NEAR_FID, which correspond to the OBJECTID field (or OID, FID, or whatever the automatic unique ID field is for your feature class) of the Input Features and Near Features, respectively. See the help for more info.

Once you've joined the near table to the features using the appropriate field, you can export the data to permanently attach the Near Table data to the features.

(Bear in mind that, unless you used the "Find only closest feature" option, your Near Table will almost certainly contain matches for a given Input or Near Feature.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.