BookmarkSubscribeRSS Feed
Quartz | Level 8

I have a dataset which have latitude and longitude details at the post code/address level for France country. I want to create a sas graph at the region level to show the region level product percencage .


FYI... the sas dataset World_maps at city level not at post code/address level


Early response is highly appriciated.

Super User

Do you have a way of mapping the postal code or addresses to regions? Most places have a look up table. SAS can geocode (PROC GEOCODE) but not sure it has the files for France. It doesn't appear to. 


If you have a SHP file with the boundaries that's helpful. You can use PROC GINSIDE to map the locations to a region.


Maps at city level are also available on the SAS MAPS ONLINE page. 

Super User

Edit - my bad, I misread your question - please ignore my response. 

Meteorite | Level 14

Do you want to take your lat/long coordinates, and plot dots (or markers) on a map at those locations, and have the colors of the dots represent the data? (for this you could use Proc Gmap, and annotate the points)


Or, do you want to figure out which region the lat/long points are in, and then aggregate (average, etc) the values within each region, so you can produce a map showing the regions, with the region area colored by the aggregate (average, etc) values? (for this, you could use Proc Ginside to determine which region the lat/long points are in)





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
  • 1 like
  • 4 in conversation