I think about developing an AddOn for ArcGIS Pro.
I want to use the business logic of the core application of our company in the AddOn.
Our product loads all information from a database to memory at the beginning. During working on the data, the database is not connected. The Work is saved to database only when the user wants.
My question is whether it is possible to create feature layers in ArcGIS Pro without having a database / database connection but just by providing the information in memory.
Solved! Go to Solution.
We're planning on adding this capability in a future release.
For now, your best bet is probably to use the file geodatabase specified by Project.Current.DefaultGeodatabasePath.
I hope this helps,
--Rich
We're planning on adding this capability in a future release.
For now, your best bet is probably to use the file geodatabase specified by Project.Current.DefaultGeodatabasePath.
I hope this helps,
--Rich
Thank you very much for your reply. It helped a lot, so I do not need to search for this functionality now.
Best regards,
Ulrich Egger
Has there been any update on virtual/scratch/in memory data feature classes?
@KenBuja Yes. You can now use the Pro SDK to create a geodatabase in memory, and then create tables and feature classes within that geodatabase. Details are here.
You can create a layer from a memory feature class like any other. Just note that the memory feature class goes away when the Pro session ends- so if you save those layers into a APRX file, they will show as disconnected when reloading the project.