BookmarkSubscribeRSS Feed
Super User

I'm used to using ArcGIS for projects and looking to see if I can replicate certain features in SAS to make it easier to automate certain projects.

Somethings I'm looking to do that I haven't been able to figure out:

1. Show more than one shape file on the map.  I have region boundaries, but also have locations of facilities and roads that would be nice to show.

2. Add in a scale indicator that shows the map scale, ie 1cm=1000km

3. Add in a North Arrow to indicate the direction North.

Meteorite | Level 14

Assuming you're using SAS/Graph proc gmap (the answer will be different for SAS/GIS)...

When it comes to gmap, most of what you're asking for will be manual customizations - and when it comes to that "annotate" is your best friend.

You can import multiple shape files, and convert them to annotate data sets, and then combine several annotate data sets into 1, and then annotate it onto the map (using the anno= option).

You'll have to "freehand" annotate the map scale.  You'll have to be careful to make sure it matches the map (there are many-many things that can affect it).

You'll also have to annotate the North arrow (either an image, or text/graphics).

Super User

Thanks Rob. What would be the answer for SAS/GIS?

If the difference is significant it might be worth it to license that instead of ArcGIS depending on costs, but good to know either way.

I do have access to SAS version with SAS/GIS for testing purposes.

For some reason annotate scares me...most other things in SAS I understand and work with but not annotate.

Meteorite | Level 14

SAS/GIS is more geared towards these tasks, so they're more "built-in" rather than having to write custom annotate code.

Also, SAS/GIS would be much easier for importing layers, and turning them on/off easily ... and doing all this interactively.

Whereas ArcGIS is a full-blown GIS software, SAS/GIS would probably be considered "GIS-Lite".

I'll see if I can get one of my GIS buddies to send you some links with specifics on SAS/GIS capabilities.



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 2 in conversation