valueerror: could not broadcast input array from shape (0) into shape (1,3)

86 views
Skip to first unread message

daniel orgaz

unread,
Jun 26, 2023, 1:43:02 PM6/26/23
to Linkage Mapper
hello everyone,

i have a problem that i have been having for several weeks and i still can't find the solution. i have a resistance layer with inverted values from 3 to 100 where 100 are the buildings (white). i have a layer with the vegetation and in the attributes table i have created a column to give it value 2. when i use Build Network and Map Linkages i get the following error: valueerror: could not broadcast input array from shape (0) into shape (1,3)
 
I don't know why this error appears but I have tried everything, I have downloaded the last version of linkage, the previous one, modified the values of the attributes table and it is still the same.

I would appreciate if someone could solve the problem. however I leave my layers if anyone wants to try. also I leave the error.

thank you very much.

error arcgis pro.txt
nuevo_vector 2.rar

John Gallo

unread,
Jun 26, 2023, 2:18:45 PM6/26/23
to linkage...@googlegroups.com
Hello Daniel,

Please try it with the latest version, currently is v3.1, at https://linkagemapper.org/Downloads/ .  If you are already, please include more of the log file.

Also, just making sure you know to only use one resistance file.

Thanks,

John


John Gallo, Ph.D.
Senior Conservation Scientist

Conservation Biology Institute
136 SW Washington Avenue, Suite 202
Corvallis, OR 97333
Remote Office: Inglenook, CA
Phone: 707.357.3982
Twitter: @johnagallo


--
You received this message because you are subscribed to the Google Groups "Linkage Mapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linkage-mappe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linkage-mapper/b1ea129b-9fbf-4e6f-bd42-1032ec9a3c33n%40googlegroups.com.

daniel orgaz

unread,
Jun 26, 2023, 2:49:13 PM6/26/23
to Linkage Mapper
i have tried it but i keep getting the same problem. it must be a .shape error but i don't know what it could be. 

John Gallo

unread,
Jun 26, 2023, 3:29:44 PM6/26/23
to linkage...@googlegroups.com
Ok, lets have a side conversation and plan to report back to the group.



--
John A. Gallo, Ph.D.
Project Director
LinkageMapper.org

and
Reply all
Reply to author
Forward
0 new messages