Geometry column: STGeomFromText and SRID (what is an SRID?)

前端 未结 5 1114
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 03:53

I\'m playing with the new geography column in SQL Server 2008 and the STGeomFromText function. Here is my code (works with AdventureWorks2008)

DECLARE @regi         


        
5条回答
  •  星月不相逢
    2020-12-15 04:28

    SRID = Spatial Reference IDentifier

    coordinates must use the same SRID to be comparable. otherwise you'd end up comparing kilometeres and miles. or something similar.

提交回复
热议问题