AnsweredAssumed Answered

Calculate WKT in Field using ArcPy

Question asked by rob_ford16 on May 7, 2018
Latest reply on May 9, 2018 by rob_ford16

Thanks for any help!

 

I'm relatively new to ArcPy and saw that there is a way to return the WKT of a polygon via SHAPE@WKT but am unsure how to use this. 

 

My main goal is to obtain the WKT for each feature in a shapefile, export the shapefile table with the WKT field, then import to SQL Server 2008 R2 using STGeomFromText. 

 

I found this on StackExchange but am a little lost on how to implement this over multiple features within a shapefile.

 

Thanks!

Outcomes