![]() The to_featureclass method, checks to see if arcpy is installed (around line 400), if so, it can create a featureclass in a gdb. The SpatialDataFrame class has the to_featureclass method which imports to_featureclass from the _io moduleĬ:\.\bin\Python\envs\arcgispro-p圓\Lib\site-packages\arcgis\features\_data\geodataset\io\fileops.py You can examine all the revealed code in your installation pathĬ:\ Path_to_ArcGISPro\bin\Python\envs\arcgispro-p圓\Lib\site-packages\arcgisĬ: \ Path_to_ArcGISPro\bin\Python\envs\arcgispro-p圓\Lib\site-packages\arcgis\features\_data\geodataset\geodataframe.py The arcgis module performs checks to see whether arcpy is imported, If it is, then you can write to featureclasses, If it isn't then it uses the "shapely" module which can only write shapefiles. Writing to file geodatabases requires the ArcPy site-package. The ArcGIS API for Python installs on all macOS and Linux machines, as well as those Windows machines not using Python interpreters that have access to ArcPy will only be able to write out to shapefile format with the to_featureclass method. Specify the velocity scaling attribute that is used to convert the output of the. Introduction to the Spatially Enabled DataFrame | ArcGIS for Developers as Microsoft Excel or Notepad, to edit the tags and logic comments.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |