Add New Column - Create number sequence based on another column

RobertRRobertR GlobalMapper Fan!Posts: 284Trusted User
edited January 2013 in Vector Data
Hello all,

Ok, it sounds weird from the title, I will try to explain my request.

I work with databases and I need a certain column to be exported from GM. I am trying to find out if it can be done;

Until now, I used :CALC ATTR to add a new column with values taken from the <Index in layer> column. Let's name this column "GlobalM". It was fine until constraints appeared in the database.

The problem is that if the column in the database (on several rows) has the same value..I need my "GlobalM" column to have the same sequence number. Currently they are unique values and I would like them to be like in the "GOOD_VALUE" column presented below:

I would need something like this:



COL1
GLOBALM
GOOD_VALUE


A
1
1


B
2
2


C
3
3


C
4
3


C
5
3


C
6
3


D
7
4


Can I achieve this in Global Mapper if I have "COL1" in the dbf file?

Thank you,

Comments

Sign In or Register to comment.