Asked • 03/26/19

SQL 2012 - How can I convert MultiLineString to Geography?

I have a Geometry LineString that I wish to convert to Geography. Since the Geometry isn't valid , When I use MakeValid on it, SQL convert it to MultiLineString and than the Geography creation is failing with error : The specified input does not represent a valid geography instance. Use MakeValid to convert the instance to a valid instance. Note that MakeValid may cause the points of a spatial instance to shift slightly. What can I do in order to convert the Geometry to Geography ? Geometry text : http://pastebin.com/Ly8ex41U Geometry text after MakeValid : http://pastebin.com/HGNFKnS3

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.