Pure.Krome
Pure.Krome

Reputation: 86947

How can I convert Geometry data into a Geography data in MS SQL Server 2008?

How can I convert some Geometry data into Geography data in MS SQL Server 2008?

Upvotes: 11

Views: 29582

Answers (1)

wonderchook
wonderchook

Reputation: 1198

Yes you can but the geometry datatype is more forgiving than the geography in my experience. So there is some data you might have in geometry that you can't convert.

This article from Spatial Ed was very helpful explaining how to fix data problems and also has some sample queries to convert from Geom to Geog.

Upvotes: 10

Related Questions