|
Maps and Data Sets Supplied with SAS/GIS Software
Several SAS/GIS sample maps and their associated data sets are supplied with SAS/GIS Software. These maps reside in the MAPS library, along with map data sets shipped with SAS/GRAPH Software. These maps can be used for exploring the software or for demonstration purposes. To open the sample maps, invoke SAS/GIS and select File => Open Map, or right-mouse on the GIS Map window and select Open map. Select the MAPS library, followed by the catalog and map name. Three sets of sample maps are included with SAS/GIS Software, and two maps are created by the SAS/GIS Tutorial. The following list provides the name of the map, and the spatial data sets, catalogs, and data sets associated with each map. The format of the map name is MAPS.catalog.map-name.
Maps in the USA Catalog These maps are all defined in the same spatial database; that is, they all use the same spatial data even though the maps represent different geographic areas. MAPS.USA.STATE This map includes USA and STATE boundaries for the continental United States, along with a CAP_CITY layer which represents the locations of state capitals. The theme defined for the STATE layer depicts average household income by state. A Browse action named BRSTATE displays information about the selected state. A Drill action defined for this map allows users to drill down to an individual county map of the selected state. Selecting the state of North Carolina and running the DRILL action opens a sample map of North Carolina by COUNTY and ZIP code (MAPS.NC.NC). MAPS.USA.COUNTY This map includes USA, STATE, and COUNTY boundaries for the continental United States. The theme defined for the COUNTY layer depicts population change by county. There are three actions defined for this map. A Browse action named BRCOUNTY displays information about the selected county. The TREND Program action creates a bar chart that displays population and housing trends. A Program action named RATIO creates a plot that displays population and housing ratios for the selected county. MAPS.USA.TRAINING This map includes USA and STATE boundaries for the continental United States, along with a CENTER point layer which represents the locations of SAS Training Centers. This map contains an IMAGE action which displays a picture of the selected training center. There is also a Browse action named BRCENTER which displays information about the selected training center. MAPS.USA.state (where state is the two-character postal code for the state) There is an individual map for every state in the continental United States, plus the District of Columbia. Each map is named using the two-character postal code for the particular state. These maps include USA, STATE, and COUNTY boundaries. The theme defined for the COUNTY layer is the same as in the MAPS.USA.COUNTY map, and depicts population change by county. There are three actions defined for the maps. A Browse action named COUNTY displays information about a selected county. The TREND Program action creates a bar chart that displays population and housing trends. A Program action named RATIO creates a plot that displays population and housing ratios for a selected county. Associated catalog and data sets:
Maps in the NC Catalog MAPS.NC.NC This map consists of COUNTY and ZIP code boundaries in North Carolina, along with a CITY layer representing the locations of major cities. A Drill action defined for this map allows users to drill down to a map of Wake County (MAPS.WAKE.TRACT) by selecting Wake County and running the DRILL action. This map contains three additional actions that can be run for the selected ZIP code. A BROWSE action displays population and household data. A Program action named SUMMARY executes PROC MEANS and produces a summary for the ZIP code. A Program action named TREND produces a line graph depicting population and housing trends. Associated catalog and data sets:
Maps in the WAKE Catalog These maps are all defined in the same spatial data base; that is, they all use the same spatial data even though the maps are not identical. MAPS.WAKE.BG This map includes COUNTY, TRACTS, and BG (block group) boundaries, as well as a STREET layer, for Wake County, North Carolina. The theme defined for the BG layer depicts the number of households by block group. This map includes a Browse action named CENSUS which displays information about the selected block group. MAPS.WAKE.GROCERY This map includes COUNTY and TRACT boundaries for Wake County, North Carolina, as well as a STREET layer and a GROCERY layer, which represents the locations of grocery stores. The theme defined for the TRACT layer depicts the average household income by tract. This map includes three actions: a Program action named GRAPH that produces a bar chart of store size vs. sales for the selected store; a Browse action that displays information about the selected store; and a Spatial action that displays spatial information about the selected store. MAPS.WAKE.TRACT This map includes COUNTY and TRACT boundaries for Wake County, North Carolina, as well as a STREET layer. The theme defined for the TRACT layer depicts the neighborhood type by tract. This map includes a Browse action that displays demographic information about the selected tracts. Associated catalog and data sets:
Copying and Modifying SAS/GIS Maps in the MAPS Library Since most SAS Software users do not have write permission to the MAPS library, you will not be able to save any changes that you make to the SAS/GIS sample maps. You will see an error similar to the following in your SAS Log if you try to save any changes made to these maps: ERROR: Write access to member MAPS.NC.CATALOG is denied. In order to save modifications to these maps, you must first copy the map and its associated data sets to a SAS data library to which you have write access. Use the Copy utility included with SAS/GIS to copy the maps. For example, to copy the MAPS.NC.NC map and its associated data sets from the MAPS library to the SASUSER library, invoke SAS/GIS, select Edit => Copy…, and follow these steps:
Copy Source Entry Copy Dependent Entries Copy Dependent Data Sets Spatial Label Other Replace Like-Named Entries/Data Sets Blank out Path Name References Number of entries, data sets copied: 9, 8 You will also see a list in your SAS Log of all of the catalogs and data sets that were copied. Now open the SASUSER.NC.NC map in the GIS Map window. You will now be able to make any desired modifications to the map, and save those modifications to the copied map.
Maps Produced by the SAS/GIS Tutorial Two sample maps are produced by the SAS/GIS Tutorial. The maps are created automatically when the tutorial is invoked by selecting Help => Getting Started with SAS/GIS Software => Begin Tutorial… from the GIS Map window. You can also create the maps without invoking the Tutorial by selecting Help => Getting Started with SAS/GIS Software => Create Data. These maps are created in the SASUSER library, so changes made to these maps can be saved. The following list provides the name of the map, and the spatial data sets, catalogs, and data sets associated with each map. These two maps are defined in the same spatial data base; that is, they use the same spatial data even though the maps are not identical. SASUSER.MALL.AREA This map includes TRACT boundaries for several tracts in Wake County, North Carolina. The map also includes point layers MALL, PARK, and SCHOOL. The map does not have a theme defined for the TRACT layer. A STREET layer is also included in this map. A Drill action defined for the MALL layer allows users to drill down to a detailed floor plan of a mall (SASUSER.MALL.STORES). Associated catalog and data sets:
SASUSER.MALL.STORES This map consists of STORE and ATRIUM boundaries for a fictitious shopping mall. The map includes FIRE and SPRINK line layers, which depict fire exits and sprinkler systems, as well as the following point layers: INFO, PHONE, RESTROOM, STROLLER, SECURITY, and ALARM. There are two actions defined for this map. The STOREPIC image action displays a picture of a store when one of the areas of the STORE layer is selected. The CHART Program action creates a bar chart of the square footage of the selected store(s). Associated catalog and data sets:
For more information about the components, structure, and function of a spatial database, please see Appendix 1, "Details of SAS/GIS Spatial Databases", in "Working with Spatial Data Using SAS/GIS Software, Version 8". |