Creating a ZIP code boundary map with SAS/GRAPH


The SAS/GRAPH® map data sets do not contain ZIP code boundaries. The GMAP procedure can generate maps that display ZIP code boundaries, but SAS/GRAPH does not provide any map data sets that contain ZIP code boundaries.

You can use the Annotate facility to place symbols at the ZIP code locations on a map as shown in Sample 31419 and Sample 42426.

If you need to draw a map of ZIP code boundaries, you need to obtain the data from a vendor other than SAS. You can then read that data into SAS in SAS/GRAPH map data set format. You can refer to the "About Traditional Data Sets" section of the PROC GMAP chapter in the SAS/GRAPH Reference documentation for your SAS release for more information about the format of SAS/GRAPH map data sets.

Note that if you can obtain the data in ESRI Shapefile format, you can use the MAPIMPORT procedure to read the data into SAS and create a data set in SAS/GRAPH map data set format.