Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

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
14 - Magnetar

@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
17 - Castor
17 - Castor

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