cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • We’re improving the Learn JMP page, and want your feedback! Take the survey
  • JMP monthly Newswire gives user tips and learning events. Subscribe
Choose Language Hide Translation Bar
Drewt
Level II

Map data points not showing with custom overlay

I have created a custom shape file and when I drag it to the map shape area in Graph Builder, it displays as expected. I can add a background map and the shape file lines up to the "ground truth." However, when I drag Y (lat) and X (lon) to their axes, the points all appear in the middle of the overlay area. When I drag the overlay away, the points all immediately appear in their correct locations. The first thought is a layer ordering problem but I have customized this and shifted the order of both the points and overlay and made the overlay transparent. Photos attached of with and without the overlay. JMP Pro Mac 18.2.0. Any help is very much appreciated.

4 REPLIES 4
jthi
Super User

Re: Map data points not showing with custom overlay

What type of graph are you using? Have you tried using points instead of map shapes? or using the map shape as background? You could also use maps as background maps

jthi_0-1747457858961.png

 

-Jarmo
Drewt
Level II

Re: Map data points not showing with custom overlay

Thanks for the reply. I using lat/lon to create points where certain buildings are located. I graph those by dragging lat/lon to Y/X and the points show as expected. I use the background map (as you note) to show streets to give context. But, here's the problem, I have created a custom map (-Name and -XY files) that gives a polygon of a custom area and put those the JMP Map folder on my machine. I have linked that by adding a Name map role to the variable (called "BID") in the data file that identifies each observation as being within the custom area. When I drag the BID variable to "Map Shape" box i can either get the defined area or the defined points, but not both. Further investigation suggests when I drag "BID" to map shape it is averaging the points down to one displayed point in the center of the polygon.

jthi
Super User

Re: Map data points not showing with custom overlay

Could you create background map which combines both maps into single map? With Map Shape you cannot utilize X and Y axis as you can only utilize Color and Size zones Essential Graphing > Graph Builder > Element Types and Options > Map Shapes (and different grouping zones).

 

Essential Graphing > Maps general info of the maps

-Jarmo
Drewt
Level II

Re: Map data points not showing with custom overlay

Hi,

 

Thanks again for the response. To your point of combining the maps and using them as the background, I'd have to have access to the raw data for the street map, which I suspect is large. And, I do not think there is a way to show a custom map as the background.

 

My understanding is that, if I want a custom boundary area outlined, I need to use a shapefile, which is a series of points that are connected by lines. The custom file, again, my understanding, is typically placed in JMP Maps folder and a field in your data file is linked to the custom name file. I have not seen a way to add the custom polygon as a background map. JMP seems to consider the custom shapes as something to render a summary statistic on so when I add my data points and attempt to display them within a shapefile boarder, they get summarized as one point that is the mean of the points. In summary, here's what I'm trying to do.

 

1. render lat.lon points on top of a street map. I can do this using the background maps you indicate.

2. *then* render on top of that (but no fill) the boundaries of the custom shapes. This would be a line outlining the custom area but you could still see the street map and still see the individual points.

 

It appears I can either see the points, or the shapefile boarder, but not both. That's the problem. 

 

Following the links you provided, this example shows the problem https://www.jmp.com/support/help/en/18.1/index.shtml#page/jmp/example-of-a-boundary-map-with-clipped...

 

The points are shown at first, but as soon as you add the custom shapefile / boundary map, it wants to shade the areas as they relate to the underlying point data.

Recommended Articles