- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Importing esri shape file in JMP12
Hi, I am using JMP12 in window 10 and having problem importing the esri file with the _shp extension. JMP keeps crashing each time when I try.
I am not sure if this is due to window 10 system or JMP12 itself. I saw a user developed addin for converting esri files to JMP, and wonder if it would work later versions of JMP, such as JMP12.
I have asked for help from SAS technical support, but did not resolve this.
My appreciations to anyone who can share some insights.
Thanks
Shuyan
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Importing esri shape file in JMP12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Importing esri shape file in JMP12
I have just imported a shp file in JMP 12, that I downloaded from the web
I am running JMP on a Window's 10 system.
So I don't think the issue is either JMP 12 or Window's 10.
You may want to try Jeff Moore's JMP addin
Indicates that it has been updated to work with JMP 12
// Created 05/03/2011
// Updated for JMP 12 on 06/12/2014
// ESRItoJMPmapAddin.jsl
// Allows a user to convert an ESRI map file set to JMP format. (.shp & .dbf --> XY.jmp & Name.jmp)
// Created by Jeffery Moore
Your Discussion entry is a little short on details, on how you are attempting to import the file, so I will suggest that you install the Map Converter from the File Exchange and see if you can get it to work. If you are attempting to read in the .shp file yourself, you can use the JSL from Jeff's addin as a guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Importing esri shape file in JMP12
Thanks Jim for your reply.
I am trying to convert the ESRI map set (.shp and dbf) to . XY.Jmp and .Name.jmp map files.
I have downloaded the addin but still have the same problem. I suspect the ESRI files in the website maybe corrupted? However, I was able to import shape file (.shp) in SAS using "proc map import". Although I can read the SAS file in JMP, it is not in the JMP map format ( as the "part" collumn is missing from the XY file). Hope this makes sense.
Shuyan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Importing esri shape file in JMP12
If you have the .shp and .dbf file you can convert them to -XY and -Name files manually without an add-in:
- Open the .shp file using jmp (use file -> open).
- Make sure the first column has a number that is unique for each shape (it usually is from my experience).
- Make sure the second column has a number for each part of the main shape. This only matters for shapes that have disconnected parts. Sometimes this column does not exist, if it doesn't just create a column called part and fill it in with the number 1
- Save this as MyShape-XY.jmp
- Open the .dbf file
- Look for a column that contains sequencial numbers (1, 2, 3...0), move that to the first column. If one does not exist create it. The column info dialog has an initialize option that makes this easy.
- Save this as MyShape-Name.jmp
- Move both files to a maps folder (thanks Justin Chilton for pointing this out):
From Example of Creating a Map in Graph Builder:
JMP looks for these files in two locations. One location is shared by all users on a machine. This location is:
• Windows: C:\Program Files\SAS\JMP\<Version Number>\Maps
• Mac: /Library/Application Support/JMP/<Version Number>/MapsThe other location is specific for an individual user:
• On Windows: C:\Users\<user name>\AppData\Roaming\SAS\JMP\Maps
• On Mac: /Users/<user name>/Library/Application Support/JMP/Maps
I keep this post bookmarked, you might find it helpful too (it was for JMP 9 but has good info):
https://community.jmp.com/t5/JMP-Blog/How-to-Add-Shape-Files-to-the-JMP-9-Maps-Directory/ba-p/29925
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Importing esri shape file in JMP12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Importing esri shape file in JMP12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Importing esri shape file in JMP12
John,
Thank you very much for your help and sending through the coverted JMP files. I look forward to JMP14.
Thanks to everyone who responding to my post.
Cheers
Shuyan