- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 05-26-2020 10:10 AM
(1221 views)
Spoiler
I posted this on the SAS Studio community:
I use Proc KDE in SAS Studio University Edition to produce a dataset of densities on a latitude, longitude grid. I'd like to create a contour plot of the KDE (the same as that created by Proc KDE) but overlaid on an Openstreet Map. Can anyone provide any suggestions, guidance, documentation or tutorials that might help me achieve this goal? Thanks in advance for any help you can provide.
PGStats(Esteemed Adviser) pointed me at the CONTOURPLOTPARM Statement which was helpful but it's not clear how to get the contour plot onto a map. Ksharp(Grand Advisor) suggested that I post it where Robert Allison might be able to help. I hope he follows this group.
Thanks in advance for any guidance, Gene
I use Proc KDE in SAS Studio University Edition to produce a dataset of densities on a latitude, longitude grid. I'd like to create a contour plot of the KDE (the same as that created by Proc KDE) but overlaid on an Openstreet Map. Can anyone provide any suggestions, guidance, documentation or tutorials that might help me achieve this goal? Thanks in advance for any help you can provide.
PGStats(Esteemed Adviser) pointed me at the CONTOURPLOTPARM Statement which was helpful but it's not clear how to get the contour plot onto a map. Ksharp(Grand Advisor) suggested that I post it where Robert Allison might be able to help. I hope he follows this group.
Thanks in advance for any guidance, Gene
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you have a bunch of x/y coordinates, and a response value, you can create a contour plot, like this example:
http://robslink.com/SAS/democd44/ex_05_info.htm
But I do not know of any way to generate contour plots in SAS/Graph Proc Gmap, or Base SAS Proc SGmap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Oh - and if by 'contours' you mean contour lines ... if you have the contour lines as polygons in a shapefile, you could Proc Mapimport the shapefile, and then turn the x/y points into annotated lines or polygons, and overlay those on a Proc Gmap (or something like that).