POST
|
still not working... the arcpy.Exists says "true" for the first 2 items but "false" for the last one.But the last one doesn't exists since it is the outfile of the function (which doesn't work...) code: >>> arcpy.Exists("10000Points_lyr.shp") True >>> arcpy.Exists("FORESTacumina") True >>> arcpy.Exists("FORESTacumina.shp") False >>> import arcpy ... from arcpy import env ... from arcpy.sa import * ... env.workspace = "C:/Users/cgermain/Desktop/2050Maps" ... ExtractValuesToPoints("10000Points_lyr.shp", "FORESTacumina","FORESTacumina.shp","NONE","VALUE_ONLY") ... Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 999999: Error executing function. Failed to execute (ExtractValuesToPoints).
... View more
06-12-2012
08:06 AM
|
0
|
0
|
415
|
POST
|
Thank you. I corrected the path name, but I still get a generic error.... Code: >>> import arcpy ... from arcpy import env ... from arcpy.sa import * ... env.workspace = "C:/Users/cgermain/Desktop/2050Maps" ... ExtractValuesToPoints ("10000Points_lyr.shp", "FORESTacumina", r"C:/Users/cgermain/Desktop/2050Maps/FORESTacumina.shp","NONE","VALUE_ONLY") ... Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 999999: Error executing function. Failed to execute (ExtractValuesToPoints).
... View more
06-12-2012
07:22 AM
|
0
|
0
|
415
|
POST
|
Hello, I can use the interface friendly version and extract the values but I need to automate things in Python. When I follow the Help example, I get an error message Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 999999: Error executing function. ("esri.SimpleDataConverter") Create output feature class failed ERROR 010024: Error during conversion. Failed to execute (ExtractValuesToPoints) Anyone can help me with what is going on ? Maybe give me an example of a Python command for this tool ? Thank you Charlotte code: import arcpy >>> from arcpy import env >>> from arcpy.sa import * >>> env.workspace = "C:/Users/Burleigh Lab/Desktop/2050Maps" >>> ExtractValuesToPoints ("10000Points_lyr.shp", "forestacumina", "C:\Users\Burleigh Lab\Desktop\2050Maps\trial13.shp","NONE","VALUE_ONLY") Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 999999: Error executing function. ("esri.SimpleDataConverter") Create output feature class failed ERROR 010024: Error during conversion. Failed to execute (ExtractValuesToPoints).
... View more
06-11-2012
01:00 PM
|
0
|
5
|
749
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|