You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I use spatial.to_featureclass() I get an ArcPy error, to_featureset() works.
To Reproduce
See the attached Notebook
Error in Pro or Notebook
If applicable, add screenshots to help explain your problem.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\bruc5588\AppData\Local\ESRI\conda\envs\arcgispro-py3-quack\lib\site-packages\arcgis\features\geo_accessor.py", line 2668, in to_featureclass
result = to_featureclass(
File "C:\Users\bruc5588\AppData\Local\ESRI\conda\envs\arcgispro-py3-quack\lib\site-packages\arcgis\features\geo_io\fileops.py", line 1262, in to_featureclass
raise e
File "C:\Users\bruc5588\AppData\Local\ESRI\conda\envs\arcgispro-py3-quack\lib\site-packages\arcgis\features\geo_io\fileops.py", line 1095, in to_featureclass VirtualizeCSV.zip
fc = arcpy.CreateFeatureclass_management(
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 3541, in CreateFeatureclass
raise e
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 3538, in CreateFeatureclass
retval = convertArcObjectToPythonObject(gp.CreateFeatureclass_management(*gp_fixargs((out_path, out_name, geometry_type, template, has_m, has_z, spatial_reference, config_keyword, spatial_grid_1, spatial_grid_2, spatial_grid_3, out_alias, oid_type), True)))
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing_base.py", line 520, in
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: ERROR 000622: Failed to execute (Create Feature Class). Parameters are not valid.
ERROR 000614: Cannot create Spatial Reference for spatial_reference
Expected behavior
A feature class should be written
Platform (please complete the following information):
OS: Windows 10 Enterprisee
Browser Chrome
Python API Version 2.2.0.1
Additional context
Add any other context about the problem here, attachments etc.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I use spatial.to_featureclass() I get an ArcPy error, to_featureset() works.
To Reproduce
See the attached Notebook
Error in Pro or Notebook
If applicable, add screenshots to help explain your problem.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\bruc5588\AppData\Local\ESRI\conda\envs\arcgispro-py3-quack\lib\site-packages\arcgis\features\geo_accessor.py", line 2668, in to_featureclass
result = to_featureclass(
File "C:\Users\bruc5588\AppData\Local\ESRI\conda\envs\arcgispro-py3-quack\lib\site-packages\arcgis\features\geo_io\fileops.py", line 1262, in to_featureclass
raise e
File "C:\Users\bruc5588\AppData\Local\ESRI\conda\envs\arcgispro-py3-quack\lib\site-packages\arcgis\features\geo_io\fileops.py", line 1095, in to_featureclass
VirtualizeCSV.zip
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 3541, in CreateFeatureclass
raise e
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 3538, in CreateFeatureclass
retval = convertArcObjectToPythonObject(gp.CreateFeatureclass_management(*gp_fixargs((out_path, out_name, geometry_type, template, has_m, has_z, spatial_reference, config_keyword, spatial_grid_1, spatial_grid_2, spatial_grid_3, out_alias, oid_type), True)))
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing_base.py", line 520, in
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: ERROR 000622: Failed to execute (Create Feature Class). Parameters are not valid.
ERROR 000614: Cannot create Spatial Reference for spatial_reference
Expected behavior
A feature class should be written
Platform (please complete the following information):
Additional context
Add any other context about the problem here, attachments etc.
The text was updated successfully, but these errors were encountered: