BookmarkSubscribeRSS Feed
Reeza
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.

4 REPLIES 4
GraphGuy
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).

Reeza
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.

GraphGuy
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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1037 views
  • 3 likes
  • 2 in conversation