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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1121 views
  • 2 likes
  • 2 in conversation