Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Spatial data not coming through when queried

rob-k
7 - Meteor

Hi,

 

I'm having issues with loading spatial data into Alteryx from SQL Server. If I put anything in the WHERE part of the query the Spatial type column comes through incorrectly - see image below.

 
 

Alteryx error.PNG

 

If I leave WHERE empty then Spatial columns are loaded without any issues. 

Alteryx error2.PNG

 

I've tried troubleshooting it but have been unsuccessful so far. Any advice on how to fix this would be much appreciated.

 

 

Thanks,

 

3 REPLIES 3
aatalai
15 - Aurora

@rob-k have you selected read spatial objects as centroids in the data input tool?

 

spatial objects as centroid.PNG

rob-k
7 - Meteor

I do if my data is a point. Most of the time i'm looking at Polygons.

alexnajm
18 - Pollux
18 - Pollux

Are you using an OleDB connection? That seems to be the fix according to this: https://knowledge.alteryx.com/index/s/article/Spatial-Data-from-SQL-Server-shows-up-as-None-Null-or-...

Labels
Top Solution Authors