BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
coladuck
Fluorite | Level 6

I am trying to use Proc Gmap to draw choro maps on assembly districts (one number for each assembly district and one assembly district is a block) and I have once got my results perfectly. Suddenly I lost my maps and the program can only give me maps as a bunch of lines projected out and small pieces of blocks with no assembly districts boundary. None of my data is changed. Could anyone provide me a direction on what is going on and how to solve it?

I attached the wrong map, and a correct map by counties.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Code not pictures.

 

The sort of scrambled area I see is typical of the boundary values not occurring in the correct order. I would look to see if you have code that sorted the map data set.

 

If you sorted a permanent map data set you may have to retrieve it from an archive, backup or find the code that created it.

View solution in original post

2 REPLIES 2
ballardw
Super User

Code not pictures.

 

The sort of scrambled area I see is typical of the boundary values not occurring in the correct order. I would look to see if you have code that sorted the map data set.

 

If you sorted a permanent map data set you may have to retrieve it from an archive, backup or find the code that created it.

coladuck
Fluorite | Level 6

I spent a whole day on this....Yes, I added an order by for some reason and I forgot about it. THANK YOU!!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1032 views
  • 0 likes
  • 2 in conversation