AnsweredAssumed Answered

Convert JSON to WKT or SQL Geometry

Question asked by clay@icsnews.com on Jun 20, 2017

Does anyone know of a way to convert the JSON spit out by Geometry.ToJson to either WKT or SQL Geometry type? I need to store individual shapes in my database, for which the JSON string works great. However, I also need to query the geometry using a stored procedure, so I need to convert it to a SQL Geometry data type. 

Outcomes