+ Reply to Thread
Results 1 to 6 of 6

Thread: Creating a new feature layer using a dbf table

  1. #1
    Graydon Shevchenko
    Join Date
    Jan 2011
    Posts
    4
    Points
    0
    Answers Provided
    0


    0

    Default Creating a new feature layer using a dbf table

    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

  2. #2
    Andriy Ivanov

    Join Date
    Apr 2010
    Posts
    216
    Points
    2
    Answers Provided
    0


    0

    Default Re: Creating a new feature layer using a dbf table

    .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!
    Andriy Ivanov
    ESRI - ArcGIS Explorer dev team

  3. #3
    Graydon Shevchenko
    Join Date
    Jan 2011
    Posts
    4
    Points
    0
    Answers Provided
    0


    0

    Default Re: Creating a new feature layer using a dbf table

    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

  4. #4
    Andriy Ivanov

    Join Date
    Apr 2010
    Posts
    216
    Points
    2
    Answers Provided
    0


    0

    Default Re: Creating a new feature layer using a dbf table

    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!
    Last edited by aivanov; 01-25-2011 at 09:22 AM.
    Andriy Ivanov
    ESRI - ArcGIS Explorer dev team

  5. #5
    Graydon Shevchenko
    Join Date
    Jan 2011
    Posts
    4
    Points
    0
    Answers Provided
    0


    0

    Default Re: Creating a new feature layer using a dbf table

    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

  6. #6
    Brian Leroux
    Join Date
    Aug 2010
    Posts
    231
    Points
    40
    Answers Provided
    12


    0

    Default Re: Creating a new feature layer using a dbf table

    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!

+ Reply to 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