Adding an ID-column to a points-shapefile

User Forum
2011-10-04
2012-07-20
  • WouterLefebvre

    WouterLefebvre - 2011-10-04

    Hello,

    is there a way to add an ID-column to a points-shapefile, preferably by
    command line?

    In other words, in the attribute table of the shapefile, I have to add an
    extra column, named ID (or an other name), on which the first row gets as
    value 0, the second row as value 1 and so on... (if it begins with 1 instaed
    of 0, no problem).

    Thanks in advance

     
  • Anonymous - 2011-10-07

    You can use the function Enumerate Table Field, in the module Table Tools. If
    you leave the setting Attribute to , it will not add a new column with a
    unique ID. I wasn't able to get it to perform properly with command line. If
    you do, report back how please.

    Stephen

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks