I have a shapefile of lines containing an amount n of elements. I exported these features and analyzed them with another program (Matlab), which provided me as an output a row vector of length n containing only 1s and 0s. I would like to read this vector in ArcMap, and highlight somehow the elements whose Objtect ID is equal to a vector elements equal to 1.
The reason why I want to highlight them is to export an image showing the chosen features.
I still do not have a code since I do not know if what I want to do can actually be done, nevertheless, here there is a non-python, Matlab-like code that hopefully will better describe what I would like to do:
load Portfolio.mat %this is my n-vector of 1s and 0s for i=1:length(Portfolio) if Portfolio(i) ==1 highlight (feature(ObjectID == i)) %this is the function that I do not know if it exists end end
Can this be done? Is there a geoprocessing tool able to do this or is it necessary to write a python script for this purpose?