5 Replies Latest reply on Aug 16, 2011 11:49 AM by Bleroux

    Creating a new feature layer using a dbf table

    gbshevchenko
      Is it possible to create a new feature layer from a dbf table with the SDK? If not, how would one display a non-spatial table as point data?

      Appreciate any help, thanks
        • Re: Creating a new feature layer using a dbf table
          aivanov-esristaff
          .dbf file is a dBase database that  stores feature attribute data. I do not see the way to solve it unless it has x, y coordinates stored in it. Then you can  open Table via SDK and create notes from these coordinates. Hope it helps!
          • Re: Creating a new feature layer using a dbf table
            gbshevchenko
            Thanks Andriy

            I appreciate the help.  Yes, the table does contain x,y coordinates and I have experimented with creating notes.  It does work, but I do have upwards of 900 points in the table, which means I would have upwards of 900 notes on my display.  For organization and formatting purposes, it would be nice if I could put all of them into a shapefile, but I don't know if that is possible.  I looked through the class diagrams and descriptions, but it seems that the feature layer class is read only, which means I cannot create a new layer with the table I have.

            Again, I do appreciate your help
            • Re: Creating a new feature layer using a dbf table
              aivanov-esristaff
              Graydon,

              you can't put notes into shapefile with ArcGIS Explorer. What you can do is convert these 900 notes into Layer Package. You would need to do it manually: right click on the folder or notes, click Share... select Layer Package.

              P.S.: forgot to mention this feature available in 1500 release only. Good luck!
              • Re: Creating a new feature layer using a dbf table
                gbshevchenko
                Hi Andriy,

                Thanks for the reply.  I believe I've figured out a solution.  I found a Folder class which enables me to sort these records into different folders based upon certain attributes.  It really helps to clean up the table of Contents, and means that I can easily delete or turn on/off these points.  I'm doing this project for someone who doesn't have GIS experience, which is why I'm trying to make it as user friendly as possible.

                Thank you for your input, I appreciate it

                Graydon
                • Re: Creating a new feature layer using a dbf table
                  Bleroux
                  Graydon,

                  Any chance you would be able to share your code used to create notes from a dbf file? I am looking to do something similar with a SQL server connection. I would love to see how you are accomplishing this.
                  Tahnks!