Hello
I have a raster layer and a feature class that I need to combine. I have been advised that the best way to do this would be through numpy arrays.
converting the raster layer was simple enough
rast_nparr = arcpy.RasterToNumPyArray("UKJstdRM")however i'm having real trouble getting the feature class to convert. I should make it obvious this is my first time using the library so i don't really understand how it works so this might be a very simple fix
at first I thought it was because everything was contained in a layer file and not a feature class
feature_class = arcpy.CopyFeatures_management("UKJ_areas.lyr", "UKJ_FC")
fet_nparr = arcpy.da.FeatureClassToNumPyArray (feature_class, ["Shape","objectid","nuts315cd","nuts315nm","MEAN_parti"])
however when I run this code i get an error indicating that "a column was specified that does not exist"
i've tried removing some columns to try and fix the issue with no luck so i'm assuming i'm using the functions wrong.
Hope someone can help