Help using Base SAS procedures

Proc gmap

Reply
Occasional Contributor
Posts: 8

Proc gmap

Hi,

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!

JAcopo


image.jpg
Super User
Posts: 11,343

Re: Proc gmap

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.

Occasional Contributor
Posts: 8

Re: Proc gmap

thanks ballardw. Do you know how I can define boundary information for MAPS.Italy?

Super User
Posts: 11,343

Re: Proc gmap

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.

Ask a Question
Discussion stats
  • 3 replies
  • 194 views
  • 0 likes
  • 2 in conversation