+ Reply to Thread
Results 1 to 13 of 13

Thread: FileGeodatabase - Documentation and tools?

  1. #1
    Richard Coleman
    Join Date
    May 2010
    Posts
    22
    Points
    2
    Answers Provided
    0


    0

    Default FileGeodatabase - Documentation and tools?

    Does anyone know where or when ESRI is going to release the format specs for the FileGeodatabase format (they had previously mentioned ArcGIS 10)?

    Is there any way to manipulate the FileGeodatabase structure outside of ArcMap/ArcCatalog?

    With all of the other geodatabase formats (various flavors of SDE and personal) you can rename or reorder fields in a geodatabase. Using ArcCatalog you can not do either in a FileGeodatabase.

    Is there a way to access the data in a FileGeodatabase from outside of ArcGIS?

    With all of the other geodatabase formats you can at least establish an ODBC connection to the data. I have yet to see anything other than ESRI products read the data contained in a FileGeodatabase.

    The FileGeodatabase format looks useful, but I don't want my vector data hidden and inaccessible in this format.

    Anyone have any ideas?

  2. #2
    Derek Law

    Join Date
    Oct 2009
    Posts
    816
    Points
    260
    Answers Provided
    28


    0

    Default Re: FileGeodatabase - Documentation and tools?

    Hi Richard,

    My understanding is that the File GDB API should be released soon after the ArcGIS 10 release.

    Takeaways from the Esri UC 2010 - Directions Magazine blog post
    (please review the comments)

    Also, FYI: technical session from the ESRI 2010 Developer Summit,

    Accessing Your Geodatabase Outside of ArcObjects
    Description: While using ArcObjects with your geodatabase provides access to the full information model of the geodatabase, there are times when another approach is required. See some of the current methods for doing this through SQL and be introduced to the file geodatabase open API. This API will allow you to access the contents of your file geodatabase independent of ArcObjects to view or modify data.
    (go to minute 57 for File GDB API content)

    Hope this helps,
    Last edited by Law; 08-30-2010 at 11:45 PM.
    Derek Law
    ArcGIS Server Product Management

  3. #3
    Richard Coleman
    Join Date
    May 2010
    Posts
    22
    Points
    2
    Answers Provided
    0


    0

    Default Re: FileGeodatabase - Documentation and tools?

    ArcGIS 10 is out in the wild.....
    Any Idea on where the FileGeodatabase documentation and tools are?

  4. #4
    Lance Shipman

    Join Date
    Oct 2009
    Posts
    391
    Points
    113
    Answers Provided
    19


    0

    Default Re: FileGeodatabase - Documentation and tools?

    We are currently planning to release the Windows version of the file geodatabase API by the end of the year. This will include API documentation and example code.
    Lance Shipman
    Geodatabase Product Engineer, File Geodatabase, SQLite
    Esri

  5. #5
    Mark Cederholm
    Join Date
    Nov 2009
    Posts
    136
    Points
    2
    Answers Provided
    4


    0

    Question Re: FileGeodatabase - Documentation and tools?

    Are there any plans for an ODBC driver?

  6. #6
    Bart Hound
    Join Date
    Dec 2009
    Posts
    247
    Points
    1
    Answers Provided
    0


    0

    Default Re: FileGeodatabase - Documentation and tools?

    Is this work on schedule? As in we are in the final week before Thanksgiving, and no word yet, as to my question.
    Bart D

  7. #7
    Patrick van Dijk
    Join Date
    Dec 2010
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Default Re: FileGeodatabase - Documentation and tools?

    Quote Originally Posted by Bart_D_Hound View Post
    Is this work on schedule? As in we are in the final week before Thanksgiving, and no word yet, as to my question.
    Well it is December now...almost end of the year.

  8. #8
    Lance Shipman

    Join Date
    Oct 2009
    Posts
    391
    Points
    113
    Answers Provided
    19


    0

    Default Re: FileGeodatabase - Documentation and tools?

    Quote Originally Posted by MCederholm View Post
    Are there any plans for an ODBC driver?
    Not as part of the initial release. It is under consideration for a later release.
    Lance Shipman
    Geodatabase Product Engineer, File Geodatabase, SQLite
    Esri

  9. #9
    Lance Shipman

    Join Date
    Oct 2009
    Posts
    391
    Points
    113
    Answers Provided
    19


    0

    Default Re: FileGeodatabase - Documentation and tools?

    Thanks for your interest in the File Geodatabase API. The beta program for the File Geodatabase API is currently planned to begin by mid-January. We are compiling a list of sites who are interested in the Beta program, if you are interested, please send me an email (lshipman@esri.com) with your contact information.

    We’ll be posting more information to the Geodatabase blog as we lead up to the Beta. http://blogs.esri.com/Dev/blogs/geod...e/default.aspx
    Lance Shipman
    Geodatabase Product Engineer, File Geodatabase, SQLite
    Esri

  10. #10
    Derek Law

    Join Date
    Oct 2009
    Posts
    816
    Points
    260
    Answers Provided
    28


    0

    Default Re: FileGeodatabase - Documentation and tools?

    FYI to all:

    Please read the latest Geodatabase blog post on this topic:

    Hope this helps,
    Derek Law
    ArcGIS Server Product Management

  11. #11
    Derek Law

    Join Date
    Oct 2009
    Posts
    816
    Points
    260
    Answers Provided
    28


    0

    Default Re: FileGeodatabase - Documentation and tools?

    FYI: now available,

    File Geodatabase API (beta download)

    Hope this helps,
    Derek Law
    ArcGIS Server Product Management

  12. #12
    Bart Hound
    Join Date
    Dec 2009
    Posts
    247
    Points
    1
    Answers Provided
    0


    0

    Default Re: FileGeodatabase - Documentation and tools?

    Quote Originally Posted by Law View Post
    FYI: now available,

    File Geodatabase API (beta download)

    Hope this helps,

    It does help, thank you Derek.
    Bart D

  13. #13
    Subbu A
    Join Date
    Feb 2014
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default Re: FileGeodatabase - Documentation and tools?

    Hi,
    I Am new to the File GeoDatabase, am getting the below error when clicking the 5/6 chlid node click

    Cannot access a disposed object.
    Object name: 'Geodatabase'.

    My Code is
    --------------
    //tree view node click event
    private void GisSource_AfterSelect(object sender, TreeViewEventArgs e)
    {

    List<FeatureClassInfo> FeatureClassList = new List<FeatureClassInfo>();

    if (nodeLevel == 3)
    {
    FeatureClassList = GeoDatabaseInfo.GetAllFeatureClassInfo(e.Node.Name, false);
    }
    else
    {
    FeatureClassList = GeoDatabaseInfo.GetAllFeatureClassInfo(e.Node.Name, true);
    }
    if (FeatureClassList != null)
    {
    dgv_FeatureClassInfo.Columns.Clear();

    dgv_FeatureClassInfo.DataSource = FeatureClassList;
    }
    }

    public static List<FeatureClassInfo> GetAllFeatureClassInfo(string tableName, bool isDatasetName)
    {
    List<FeatureClassInfo> FeatureClassList = new List<FeatureClassInfo>();

    using (Geodatabase geodatabase = Geodatabase.Open(ConnectionInfo.ConnectionString))
    {
    try
    {
    if (isDatasetName)
    {
    string[] featureclassList = geodatabase.GetChildDatasets(tableName, featureClassName);

    foreach (string featureclass in featureclassList)
    {
    FeatureClassList.Add(GetFeatureClassInfo(featureclass, geodatabase));
    }

    }
    else
    {
    FeatureClassList.Add(GetFeatureClassInfo(tableName, geodatabase));
    }
    }
    catch
    {
    FeatureClassList = null;
    }
    finally
    {
    if (FeatureClassList != null)
    {
    geodatabase.Close();
    }
    }
    }

    return FeatureClassList;
    }
    public static FeatureClassInfo GetFeatureClassInfo(string tableName, Geodatabase geodatabase)
    {
    FeatureClassInfo featureClass = new FeatureClassInfo();

    Table table = geodatabase.OpenTable(tableName);
    var geometryType = GetGeometryType(table);

    featureClass.ShapeType = Enum.GetName(typeof(GeometryType), geometryType);

    table.Close();

    return featureClass;
    }

    Please help me where am doing wrong.


    Regards
    SM

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts