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.
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.
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.
I spent a whole day on this....Yes, I added an order by for some reason and I forgot about it. THANK YOU!!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.