BookmarkSubscribeRSS Feed
Nitesh_123
Calcite | Level 5

Hi Everyone,

Can you please help me out with the issue i am facing while plotting Canada shape file in sas viya. It is not getting plotted, it is showing some error which you can see in the attached screen shot. 

Canada Shape file error.png

1 REPLY 1
FalkoSchulz
SAS Employee

Not sure about your exact scenario but it appears you are using a custom polygon provider using your own boundaries? Note, that SAS VA ships with country-level boundaries for all countries. Just make sure you map data correctly given the expected IDs listed on http://support.sas.com/rnd/datavisualization/vageo/85/va85lookupvalues.html .

 

If you need to use custom boundaries - you need to make sure not exceeding the default vertices threshold of 250k vertices. This means regions aren't allowed to have more than that per geo map rendering request. If you have more than that - use tools like PROC GREDUCE or even better, use the provided %SHPIMPORT macro which does reduction automatically.

 

If you run into any other issue using custom polygons - the post 

https://blogs.sas.com/content/sgf/2018/10/04/troubleshooting-custom-polygon-maps-in-sas-visual-analy... covers a few commons issues and how to fix those.

 

Hope this helps!

Falko

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1063 views
  • 2 likes
  • 2 in conversation