08-01-2013 01:02 PM
does anyone know how proc gmap work? I am using SAS EG 5.1 and it is implemented in a wizard. I have a DB containing data on risk exposures by town in italy and i wish to create a map with different color intensities with according to the exposure concentration. The wizard seems to guide you in making exactly what i said but i do not knowhow to use it. It asks for the origin of map data and origin of response data. Thas for any help!
08-01-2013 01:29 PM
I don't use the wizards but the idea should be the same. First identify your map data. You should have a MAPS library with two datasets of interest: Italy and Italy2. The MAPS.Italy contains the actual map boundary information. The MAPS.Italy2 contains information about your regions or provinces. The variable ID in the MAPS.ITALY data set identifies provinces. In MAPS.ITALY2 the ID also has provices and other variables such at text of province or region names.
If you want to display the exposure rates by province the response data would be a data set that contains the ID and the rate for the province. When the wizard asks for map data use MAPS.ITALY, the response data would be the data set just created.
If you want to show the towns as points with rates per town you'll need to do a lot more work and I'm not sure if their are wizards for that.
08-01-2013 03:36 PM
The option COUTLINE+ in the CHORO statement controls the color of boundaries of areas defined in the ID statement such as the province boundaries. The WOUTLINE= options controls the width of the boundary outlines in pixels.
If you need to change boundaries appearance per area then we're likely into an ANNOTATE data set and that's a bit more work.