Tag Info

Hot answers tagged

2

As the script works for some files and not for others, I suspect the problem is originated somewhere in the data (or handling of special cases in the data). TypeError suggest that you may have a mix of data types. I'm not sure how numpy would handle a mix like that. Have you tried to e.g. float the elevation to make sure they are all float numbers? ...


1

You want to set it to Table View. Feature Classes inherit from this interface. So setting the data type to Table View will allow you to see Feature Classes and standalone tables in the drop down.


1

Your code snippet is using a variable called path, for which we cannot see the value. If you insert a print statement as below, I suspect that you will find path has a value other than what you expect when the error is thrown. If it is set to something that you do expect then at least we will have narrowed down where to look for the error. print path ...


1

As of ArcGIS 10.2.1 for Desktop, you can use Alter Fields (Data Management) with an Advanced level license to: to rename fields or rename field aliases for any geodatabase table or feature class The same tool became available to Basic and Standard level licenses at ArcGIS 10.2.2 for Desktop.



Only top voted, non community-wiki answers of a minimum length are eligible