This sample shows you how to convert a geographic shape to WKT (Well Known Text) and back.
View Sample