Create File GeoDatabase Without Using Arcgis License

The File Geodatabase API provides a non-ArcObjects based library where we can work with File Geodatabases. The File Geodatabase API will be C++ based.

There are so many task that we can do using Geodatabase API.

Create, Open and Delete file geodatabases.

Process
  • In Visual studio application project take framework 4.0 and create application.
  • Download GeodatabaseAPI and add reference that dll and then create application.
  • Following are tha sample code for create,open and delete geodatabase. 
  1. private void Form1_Load(object sender, EventArgs e)  
  2. {  
  3.       Geodatabase.Create("C:\\temp\\a.gdb");  
  4.   
  5.       Geodatabase gdb= Geodatabase.Open(@"D:\Test\Mapping\Data.gdb");  
  6.   
  7.       Geodatabase.Delete(@"D:\Test\Mapping\Data.gdb");  
  8. }  
Ebook Download
View all
Learn
View all