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

前端 未结 1 1823
醉酒成梦
醉酒成梦 2021-02-14 04:48

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

相关标签:
1条回答
  • 2021-02-14 05:39

    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.

    0 讨论(0)
提交回复
热议问题