Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
bswedlove
Level III

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

 

1 REPLY 1
Highlighted
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
Article Labels

    There are no labels assigned to this post.