程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> SqlServer數據庫 >> 關於SqlServer >> geometry Types of Spatial Data

geometry Types of Spatial Data

編輯:關於SqlServer

The geometry type can be considered a super-type that supports eleven subtypes. However, only seven of these subtypes are instantiable; you can create and work with these subtype instances (or instantiate them) in a database. These instance types derive certain propertIEs from their parent types that make them instantiable and distinguish them as Points, LineStrings, Polygons, or as multiple geometry instances in geometry collections.

 As the figure indicates, the seven instantiable subtypes of geometry are Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection. The geometry type can recognize a specific instance type as long as it is a well-formed instance, even if the instance type is not defined explicitly. For example, if you define a Point instance explicitly using the STPointFromText() method, geometry will recognize the instance as a Point, as long as the method input is well-formed. If you define the same geometry instance using the STGeomFromText() method, geometry will also recognize the instance as a Point.



  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved