I am looking for a faster way to convert a feature class to a shapefile than the Geoprocessing API. Is it possible by using the DDL API? I haven't found anything.
Solved! Go to Solution.
Unfortunately, the DDL API doesn't support feature class to shapefile conversion.
Unfortunately, the DDL API doesn't support feature class to shapefile conversion.
Hi Aashis,
I am running into a similar situation as the original poster. As of ArcGIS Pro 3.1 SDK, is it still not possible to convert feature classes to shapefiles without using the Geoprocessing API?
Thank you,
Hannah
No. You should use the GP tool.
The snippets and conceptual doc describe how to use GP in the Pro SDK for .Net, see if it helps.
Thank you very much for the quick reply and for providing some examples. I'll be sure to look into those. Thank you!
Too bad that we cannot use GP Tools inside Core Host applications in C#
Just out of curiosity which GP Tool are you using now to do this conversion?
I am using the GP tool "conversion.FeatureClassToShapefile"
Thanks... Haven't needed to deal with Shapefiles in a while. But I recall several years ago using GDAL in C++ code and recall it being at least an order of magnitude (if not more) faster in creating shapefiles. Is your shapefile requirement for a legacy system that uses Shapefiles? I only ask because we were entirely shapefile-centric until we made a conscious effort to get everything into feature classes within Geodatabases.
Thank you for your tip using GDAL. We also work with feature classes within file geodatabases. We convert the feature classes to shapefiles each time an ArcGIS Pro project is closed, just to have a backup. It happened in the past that file geodatabases got messed up.