BookmarkSubscribe
Choose Language Hide Translation Bar
bswedlove
Community Trekker

Do not put multiple Map Role tables in the same folder

I had Map Role tables in a folder:

  • MapRole-Name.jmp
  • MapRole-XY.jmp

I then created a 2nd version of this and placed it in the same folder:

  • MapRole2-Name.jmp
  • MapRole2-XY.jmp

I found that GraphBuilder, even when specifying my Map Role column should be linked to MapRole2-Name.jmp, the XY file that was used was MapRole-XY.jmp

I was able to fix this by isolating the different maps in their respective folders.

 

For example:

  • MapRole1Folder/MapRole-Name.jmp
  • MapRole1Folder/MapRole-XY.jmp

And

  • MapRole2Folder/MapRole2-Name.jmp
  • MapRole2Folder/MapRole2-XY.jmp

 

0 Kudos
1 REPLY 1
Byron_JMP
Staff

Re: Do not put multiple Map Role tables in the same folder

So this is whats happening...

Your map files are being sorted alphanumerically, so the file that ends in "2" is last. JMP is only seeing and reading the first version for those map labels. 

 

If you were to put the letter "a" infront of the current best version of the mapfile pair, Name and XY  for map labels you have it will do what you expect. 

 

For example, lets say I have labels and shapes for zip codes.

And I have 4 different pairs of map files in one directory.  All of them have zip code labels and shapes. 

 

When I use zip code in the Graph Builder Map role, which files should be used? Turns out  its the first pair, sorted alpha numerically. 

 

 

JMP Systems Engineer, Pharm and BioPharm Sciences
0 Kudos