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

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

 

http://support.sas.com/rnd/datavisualization/mapsonline/html/geocode.html

 

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

Reeza
Super User

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

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

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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