且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将几何数据转换为MS SQL Server 2008中的地理数据?

更新时间:2023-02-22 18:30:27

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.