Help using Base SAS procedures

proc gmap

Reply
New Contributor R7
New Contributor
Posts: 3

proc gmap

proc gmap choro statement is not producing different shades as it did before - what has changed or how do I get it to work again?

Super User
Posts: 10,500

Re: proc gmap

What is the current style you are using? If you are using a mono-color style that could cause it.

Also do you have multiple values for the choro variable? If the value of the variable, or the formatted value, is all the same then there wouldn't be any color or pattern difference.

 

Also what do your pattern statememts look like if using any?

New Contributor R7
New Contributor
Posts: 3

Re: proc gmap

Choro has 3 values or 3 regions on the map.  I have not specified any style,

pattern1 v=s c=greyff;

pattern2 v=s c=greyaa;

pattern3 v=s c=greybb;

 

This worked about 1 year ago, have not used it since.

Thanks

Super User
Posts: 10,500

Re: proc gmap

Try GRAYFF, you may have misspelled the colors in the SAS Gray Scale.

SAS Employee
Posts: 170

Re: proc gmap

 

Have you checked your CHORO variable to make sure it is different still?  It may have changed and be the same for all the values.

If it is the same program that you ran a year ago, then it is probably data related.

 

Beyond that, I can't tell without seeing your program.

New Contributor R7
New Contributor
Posts: 3

Re: proc gmap

Thanks Darrell for taking a look.  I found the source of the problem last night.  There was a statement that seemed to have caused the problem:

pattern value=mempty color=blue repeat=49;

When I commented it out, program worked fine.

 

 

Ask a Question
Discussion stats
  • 5 replies
  • 348 views
  • 0 likes
  • 3 in conversation