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 have problem with joining feature class with table from the same location (GDB) using Python script. When I use join Join and Relates -> Join... in ArcMap TOC it does not work because I do not get any joined records despite the fact there are equal values in fields used as a keys . The same problem occurs using arcpy. AddJoin_management(). When I use arcpy.JoinField_management () or the same tool from Toolbox in ArcMap I get the results. What is the reason that JoinField works and it gives me a good results, but in the case of AddJoin I do not get any joins? The field type in the Feature Class is the same as in the table to join. Any suggestions?

share|improve this question
    
Would you be able to provide more details of the feature class, table, and join field e.g. like a few rows from each, so that we can try to reproduce your problem. I have used all three join methods extensively and have never had an issue like you describe. –  PolyGeo Jan 7 '14 at 11:31
    
If you can settle for a "dead" join between the tables you should use Join field instead. It basically copies the attributes from the first table and pastes them in the second where the compared field is matching. –  Martin Jan 7 '14 at 12:21

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.