7 GeoXACML標識符定義
任意基于GeoXACML的具體實現必須按照GeoXACML中定義的方式來使用下列標識符的相關屬性。以下表格的第二列是本標準第6章或者oasis-access_control-xacml-2.0-core-spec-os中使用的函數名字。
7.1 幾何體的標識符
應使用表1中的標識符來定義“幾何體”的幾何數據類型。
表1 GeoXACML 幾何體URN
| URN | 數據類型 |
|---|---|
| urn : ogc : def : dataType : geoxacml : 1.0 : geometry | 幾何體 |
為了使用明確的編碼方案來建立幾何數據類型,GeoXACML在現有的擴展中定義了更多的URN。
7.2 拓撲函數標識符
為了定義函數來測試拓撲關系,表2定義了拓撲函數URN。
表1 拓撲函數URN
| URN | 函數 |
|---|---|
| urn : ogc : def : function : geoxacml : 1.0 : geometry-equals | Equals |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-disjoint | Disjoint |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-touches | Touches |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-crosses | Crosses |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-within | Within |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-contains | Contains |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-overlaps | Overlaps |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-intersects | Intersects |
7.3 幾何函數標識符
為了表達和執行更為復雜的基于空間分析的訪問約束,表3、4、5分別對構造性幾何函數URN、標量幾何函數URN、雜項幾何函數URN進行了定義。
表2 構造性幾何函數URN
| URN | 幾何函數 |
|---|---|
| urn : ogc : def : function : geoxacml : 1.0 : geometry-buffer | Buffer |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-boundary | Boundary |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-union | Union |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-intersection | Intersection |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-difference | Difference |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-sym-difference | SymDifference |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-centroid | Centroid |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-convex-hull | ConvexHull |
表3 標量幾何函數URN
| URN | 幾何函數 |
|---|---|
| urn : ogc : def : function : geoxacml : 1.0 : geometry-distance | Distance |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-is-within-distance | IsWithinDistance |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-length | Length |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-area | Area |
表4 雜項幾何函數URN
| URN | 幾何函數 |
|---|---|
| urn : ogc : def : function : geoxacml : 1.0 : geometry-is-simple | IsSimple |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-is-closed | IsClosed |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-is-valid | IsValid |
7.4 包含幾何體的包函數標識符
為了在包含幾何體的包上進行操作,表6定義了如下的幾何包函數URN。
表5 幾何包函數URN
| URN | 包函數 |
|---|---|
| urn : ogc : def : function : geoxacml : 1.0 : geometry-one-and-only | GeometryOneAndOnly |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-bag-size | GeometryBagSize |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-is-in | GeometryIsIn |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-bag | GeometryBag |
7.5 幾何集合函數標識符
表7定義了幾何集合函數URN。
表6 幾何集合函數URN
| URN | 集合函數 |
|---|---|
| urn : ogc : def : function : geoxacml : 1.0 : geometry-bag-intersection | GeometryBagIntersection |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-at-least-one-member-of | GeometryAtLeastOneMemberOf |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-bag-union | GeometryBagUnion |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-bag-subset | GeometryBagSubset |
| urn : ogc : def : function : geoxacml : 1.0 : geometry-set-equals | GeometrySetEquals |
7.6 轉化函數標識符
表8定義了轉化函數URN。
表7 轉化函數URN
| URN | 轉化函數 |
|---|---|
| urn : ogc : def : function : geoxacml : 1.0 : convert-to-metre | ConvertToMetre |
| urn : ogc : def : function : geoxacml : 1.0 : convert-to-square-metre | ConvertToSquareMetre |
GB/T 30280—2013 信息安全技術 鑒別與授權 地理空間可擴展訪問控制置標語言
推薦文章: